/* ===================================
                About
   =================================== */

/*
    Theme Name: Digital University - Modernized
    Description: One Page, Multi Parallax Template with CSS3 Nesting
    Modernized with: CSS Variables, Nesting, Consolidated Rules
 */

/* ===================================
          Table of Contents
   =================================== */

/*
01 CSS Custom Properties (Variables)
02 body & Global Styles  
03 Preloader & Loader
04 Navigation & Header
05 Cursor Effects
06 Scroll & UI Elements
07 Buttons & Forms
08 Sections (Slider, Services, Skills, etc.)
09 Footer
10 Media Queries
*/

/* ===================================
   01 - CSS Custom Properties
   =================================== */

@import url('https://fonts.googleapis.com/css?family=Oswald:300,400,600,700,800|Roboto:400,500,700|Raleway:400&display=swap');

:root {
    /* Colors */
    --color-primary: #002868;
    --color-secondary: #BF0A30;
    --color-dark: #3d3d3d;
    --color-light: #ffffff;
    --color-text: #3d3d3d;
    --color-muted: #bbb;
    --color-border: #eee;
    
    /* Fonts */
    --font-primary: 'Oswald', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --font-accent: 'Raleway', sans-serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 15px;
    --spacing-md: 30px;
    --spacing-lg: 50px;
    --spacing-xl: 120px;
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Z-index layers */
    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 100;
    --z-fixed: 111;
    --z-modal: 1111;
    --z-cursor: 999999999;
    
    /* Radii */
    --radius-sm: 0.5em;
    --radius-md: 10px;
    --radius-lg: 20px;
    --radius-full: 50px;
    
    /* Shadows */
    --shadow-sm: 0 0 4px 1px rgba(101, 101, 101, 0.2);
    --shadow-md: 0 0 15px var(--color-border);
    --shadow-lg: 0 10px 10px -10px rgba(0, 0, 0, 0.35);
}

/* ===================================
   02 - Global Styles
   =================================== */

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

/* Global heading style - can be used across all pages */
.main-heading-detail {
    margin-top: 10px;
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-5xl);
    font-family: var(--font-primary);
    color: var(--color-dark);
    text-transform: uppercase;
}

/* ===================================
   03 - Preloader & Loader
   =================================== */

.preloader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: var(--color-light);
    z-index: 999;
    overflow: hidden;
}

.center {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.loader {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 33%);
    gap: 2px;
    width: 100px;
    height: 100px;
    
    & > div {
        width: 100%;
        height: 100%;
        background: var(--color-primary);
        transform: scale(0);
        transform-origin: center;
        animation: loader 2s infinite linear;
        
        &:is(:nth-of-type(1), :nth-of-type(5), :nth-of-type(9)) {
            animation-delay: 0.4s;
        }
        
        &:is(:nth-of-type(4), :nth-of-type(8)) {
            animation-delay: 0.2s;
        }
        
        &:is(:nth-of-type(2), :nth-of-type(6)) {
            animation-delay: 0.6s;
        }
        
        &:nth-of-type(3) {
            animation-delay: 0.8s;
        }
    }
}

@keyframes loader {
    0%, 100% { transform: scale(0); }
    40%, 80% { transform: scale(1); }
}

/* ===================================
   04 - Navigation & Menu Line
   =================================== */

.menu-line {
    position: absolute;
    top: -20px;
    left: 0;
    display: block;
    width: 85px;
    height: 30px;
    font-size: 18px;
    color: var(--color-light);
    text-align: center;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(1, 0.01, 0, 1.22);
}

.nav-icon .navbar-nav {
    @for $i from 1 through 7 {
        & .nav-link:nth-child(#{$i}) {
            &.active ~ .menu-line,
            &:hover ~ .menu-line {
                transform: translate3d(calc(($i - 1) * 100%), 0, 0);
            }
        }
    }
}

/* ===================================
   05 - Cursor Effects
   =================================== */

.magic {
    display: none !important;
}

.animated-cursor {
    position: absolute;
    inset: 0 auto auto 0;
    display: none;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 10000;
    transition: opacity var(--transition-fast) 0.5s;
}

.cursor-light:hover ~ .animated-cursor {
    display: inline-block;
    z-index: var(--z-cursor);
}

.cursor {
    position: fixed;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 2px solid var(--color-light);
    border-radius: var(--radius-full);
    pointer-events: none;
    opacity: 1;
    box-sizing: border-box;
    z-index: var(--z-cursor);
}

/* ===================================
   06 - Scroll & UI Elements
   =================================== */

.scroll-top-arrow {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 45px;
    height: 45px;
    font-size: 23px;
    line-height: 47px;
    color: var(--color-light);
    background-color: var(--color-primary);
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    z-index: 80;
    transition: all var(--transition-fast);
    
    &:focus {
        @extend .scroll-top-arrow;
    }
    
    &:hover {
        background-color: var(--color-dark);
    }
}

.bg-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ===================================
   07 - Utility Classes
   =================================== */

.parallax-disable {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}

.color-blue {
    color: var(--color-primary) !important;
}

.bg-blue {
    background-color: var(--color-primary) !important;
}

.padding-top {
    padding-top: var(--spacing-xl);
}

.padding-bottom {
    padding-bottom: var(--spacing-xl);
}

.position-relative {
    position: relative;
}

.font-large {
    font-size: 50px !important;
}

/* ===================================
   08 - Typography
   =================================== */

.sub-heading {
    font-family: var(--font-secondary);
    font-size: 16px;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    
    & span {
        display: inline-block;
        width: 30px;
        height: 2px;
        background-color: var(--color-primary);
        margin-right: var(--spacing-xs);
        margin-bottom: 3px;
    }
}

.heading {
    font-size: 40px;
    font-family: var(--font-primary);
    color: var(--color-dark);
    font-weight: 500;
    width: 95%;
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
}

.text {
    font-family: var(--font-secondary);
    font-weight: lighter;
    font-size: 15px;
    color: var(--color-dark);
    margin-bottom: 20px;
}

/* ===================================
   09 - Buttons (Consolidated with Nesting)
   =================================== */

%btn-base {
    font-weight: 500;
    padding: 12px 35px;
    font-size: 14px;
    font-family: var(--font-secondary);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: var(--z-base);
    transition: var(--transition-slow);
    text-decoration: none;
    border: 1px solid;
    
    & span {
        position: absolute;
        width: 25%;
        height: 100%;
        transform: translateY(150%);
        border-radius: var(--radius-full);
        transition: 0.5s;
        z-index: -1;
        
        @for $i from 1 through 5 {
            &:nth-child(#{$i}) {
                left: calc(($i - 1) * 25%);
                transition-delay: calc(($i - 1) * 0.1s);
            }
        }
    }
    
    &:hover span {
        transform: translateY(0) scale(3.1);
    }
}

.btn-primary {
    background-color: var(--color-primary);
    padding: 8px 35px;
    border-radius: 25px;
    border-color: var(--color-primary);
    font-size: 25px;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    color: var(--color-light) !important;
    transition: var(--transition-normal);
    
    &:hover {
        background-color: var(--color-dark);
        border-color: var(--color-dark);
    }
}

.green-btn {
    @extend %btn-base;
    border-color: var(--color-primary);
    color: var(--color-light);
    background-color: var(--color-primary);
    
    & span {
        background-color: var(--color-dark);
    }
    
    &:hover {
        border-color: var(--color-dark);
        color: var(--color-light);
    }
}

.grey-btn {
    @extend %btn-base;
    border-color: var(--color-dark);
    color: var(--color-light);
    background-color: var(--color-dark);
    
    & span {
        background-color: var(--color-light);
    }
    
    &:hover {
        border-color: var(--color-light);
        color: var(--color-dark);
    }
}

.white-btn {
    @extend %btn-base;
    border-color: var(--color-light);
    color: var(--color-dark);
    background-color: var(--color-light);
    padding: 10px 35px;
    
    & span {
        background-color: var(--color-dark);
    }
    
    &:hover {
        border-color: var(--color-dark);
        color: var(--color-light) !important;
    }
}

.green-trans-btn {
    @extend %btn-base;
    border-color: var(--color-dark);
    color: var(--color-dark);
    background-color: transparent;
    font-weight: 700;
    padding: 10px 35px;
    letter-spacing: 0.05em;
    
    & span {
        background-color: var(--color-primary);
    }
    
    &:hover {
        border-color: var(--color-light) !important;
        color: var(--color-light) !important;
    }
}

.pricing-sec .pricing-card {
    &.active:nth-child(2),
    &:hover {
        & .green-trans-btn {
            border-color: var(--color-primary);
            color: var(--color-primary);
        }
    }
}

/* NOTE: The rest of the CSS continues with the same patterns.
   Due to size constraints, I'm showing the approach for the first sections.
   The full file would continue with all sections using:
   - CSS variables for colors, fonts, spacing
   - Nesting for related selectors
   - Consolidated repeated properties
   - Modern syntax
*/


/* ===================================
   10 - Header & Navigation
   =================================== */

header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: var(--z-fixed);
    
    & .navbar-brand {
        margin-right: auto;
        margin-left: 1rem;
        
        & img {
            max-width: 80%;
            max-height: 100px;
        }
        
        & .logo-simple {
            display: block;
        }
        
        & .logo-fixed {
            display: none;
        }
    }
    
    & .main-navigation {
        padding-top: var(--spacing-md);
        
        & .navbar {
            padding: 0;
        }
        
        & nav .navbar-nav .nav-link {
            display: inline-block;
            min-width: 85px;
            padding-block: 0;
            color: var(--color-light);
            font-family: var(--font-primary);
            font-size: var(--font-size-md);
            font-weight: var(--font-weight-medium);
            text-align: center;
            text-decoration: none;
            transition: var(--transition-normal);
            
            &:is(:hover, .active) {
                /* Add hover effect if needed */
            }
        }
    }
}

/* Header Appear (Scrolled) State */
.header-appear {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: var(--z-modal);
    background-color: var(--color-secondary);
    animation: animationFade var(--animation-duration) both;
    box-shadow: var(--shadow-lg);
    
    & .navbar-brand {
        & img {
            max-width: 65%;
        }
        
        & .logo-simple {
            display: none;
        }
        
        & .logo-fixed {
            display: block;
        }
    }
    
    & .main-navigation {
        padding-block: var(--spacing-sm);
        
        & .simple-navbar {
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }
    }
    
    & .fixed-nav-links {
        display: inline-block;
        transform: translateY(-5px);
        margin-left: 25px;
    }
    
    & .sidemenu_btn {
        top: 25px;
        
        & span {
            /* color override if needed */
        }
    }
}

@keyframes animationFade {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ===================================
   11 - Side Menu
   =================================== */

.side-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: 100%;
    height: 100%;
    background-image: url("../img/side-menu.jpg");
    background-size: cover;
    background-position: center;
    z-index: var(--z-modal-high);
    transform: translate3d(0, 100%, 0);
    transition: transform var(--transition-normal);
    overflow: hidden;
    
    &.left {
        inset: 0 auto 0 0;
        transform: translate3d(-100%, 0, 0);
    }
    
    &.side-menu-opacity {
        opacity: 0;
    }
    
    &.before-side {
        width: 280px;
    }
    
    &:is(.side-menu-active, .before-side) {
        transform: translate3d(0, 0, 0);
    }
    
    & .bg-overlay {
        background: rgba(18, 185, 117, 0.9);
    }
    
    & .navbar-brand {
        margin: 0 0 2.5rem 0;
    }
    
    & .btn-close {
        position: absolute;
        top: 42px;
        left: 40px;
        width: 33px;
        height: 33px;
        display: inline-block;
        text-align: center;
        cursor: pointer;
        
        &::before,
        &::after {
            position: absolute;
            left: 16px;
            top: 5px;
            content: ' ';
            width: 2px;
            height: 24px;
            background: var(--color-light);
        }
        
        &::before {
            transform: rotate(45deg);
        }
        
        &::after {
            transform: rotate(-45deg);
        }
    }
    
    &.before-side .btn-close {
        display: none;
    }
    
    & .inner-wrapper {
        padding: 3.5rem 5rem;
        height: 100%;
        position: relative;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        text-align: left;
        overflow-y: auto;
    }
    
    & .side-nav {
        display: block;
        margin-bottom: var(--spacing-md);
        
        & .navbar-nav .nav-link {
            display: inline-table;
            margin: 3px 0;
            padding: 2px 0 3px 0 !important;
            color: var(--color-light);
            font-size: var(--font-size-4xl);
            font-weight: var(--font-weight-bold);
            font-family: var(--font-primary);
            line-height: normal;
            position: relative;
            border-radius: 0;
            opacity: 0;
            transform: translateY(30px);
            transition: all var(--transition-slow) 500ms;
            
            @for $i from 1 through 9 {
                &:nth-child(#{$i}) {
                    transition-delay: #{$i * 0.1}s;
                }
            }
            
            &::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                display: inline-block;
                width: 0;
                height: 3px;
                background: var(--color-light);
                overflow: hidden;
                transition: all 0.5s cubic-bezier(0, 0, 0.2, 1);
            }
            
            &:is(:hover, :focus, .active)::after {
                width: 100%;
            }
            
            &.active {
                background: transparent;
            }
        }
    }
    
    &.side-menu-active .side-nav .navbar-nav .nav-link {
        transform: translateY(0);
        opacity: 1;
    }
}

.side-menu-inner-content {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: var(--spacing-md);
}

.menu-company-details {
    margin-top: -15px;
    margin-bottom: 25px;
    
    & span {
        display: block;
        color: var(--color-light);
        font-size: var(--font-size-md);
        font-family: var(--font-secondary);
        font-weight: var(--font-weight-light);
        margin-bottom: 5px;
    }
}

#close_side_menu {
    position: fixed;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
    opacity: 0.4;
    z-index: var(--z-modal-backdrop);
    transition: opacity 300ms cubic-bezier(0.895, 0.03, 0.685, 0.22);
}

/* Side Menu Toggle Button */
.sidemenu_btn {
    position: absolute;
    left: 40px;
    top: 40px;
    display: inline-block;
    width: 36px;
    padding: 6px;
    margin-right: 1rem;
    margin-top: 0.4rem;
    transition: all 0.3s linear;
    
    & span {
        display: block;
        width: 100%;
        height: 2px;
        margin: auto;
        background: var(--color-light);
        transition: var(--transition-normal);
        
        &:nth-child(2) {
            margin-block: 4px;
        }
    }
    
    &:hover {
        & span {
            &:is(:first-child, :last-child) {
                width: 70%;
            }
        }
    }
}

.social-icons-simple {
    margin-bottom: 0;
    margin-left: -10px;
    
    & li {
        display: inline-block;
        padding-left: 8px;
        
        &:first-child {
            padding-left: 0;
        }
        
        & a {
            display: block;
            width: 40px;
            height: 40px;
            line-height: 42px;
            font-size: var(--font-size-md);
            color: var(--color-light);
            text-align: center;
            border: 1px solid transparent;
            border-radius: var(--radius-full);
            position: relative;
            z-index: var(--z-base);
            overflow: hidden;
            transition: background-color var(--transition-normal);
            
            &:hover {
                background-color: var(--color-light);
            }
        }
        
        &.animated-wrap a:hover {
            background-color: transparent;
        }
    }
}

/* ===================================
   12 - Slider Social & Icons
   =================================== */

.slider-social {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    
    & li {
        list-style: none;
        
        & a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            line-height: 30px;
            margin: 2px;
            font-size: var(--font-size-md);
            text-align: center;
            text-decoration: none;
            border: 1px solid transparent;
            border-radius: var(--radius-full);
            transition: background-color var(--transition-fast);
        }
    }
}

.side-nav-menu .slider-social {
    right: auto;
}

/* ===================================
   13 - Slider Section
   =================================== */

.slider-area {
    & .slider-overlay {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        background-color: rgba(61, 61, 61, 0.5);
        z-index: 11;
    }
    
    & .item {
        height: 100vh;
        background-size: cover;
        
        & img {
            width: 100%;
            height: 100%;
        }
    }
    
    & .banner-social li {
        list-style: none;
        margin-bottom: var(--spacing-xs);
        
        & a i {
            font-size: var(--font-size-lg);
            color: var(--color-light);
        }
    }
    
    & .slider-content {
        width: 75%;
        margin: 0 auto;
        text-align: center;
        
        & .heading {
            color: var(--color-light);
            font-size: var(--font-size-7xl);
            font-weight: var(--font-weight-bold);
            
            & img {
                display: inline-block;
                max-height: 200px;
            }
        }
        
        & .text {
            color: var(--color-light);
        }
    }
}

/* Slider Form */
.slider-form {
    position: absolute;
    inset: auto 0 0 0;
    top: 67%;
    transform: translateY(50%);
    z-index: 11;
    
    & .contact-form {
        background-color: var(--color-light);
        padding: var(--spacing-sm) 0;
        
        & .form-group {
            display: flex;
            align-items: center;
            margin-bottom: 0;
        }
        
        & label {
            position: relative;
            left: 13px;
            margin-bottom: 0;
            color: rgba(61, 61, 61, 0.49);
            font-size: 1.3rem;
            z-index: 11;
        }
        
        & input {
            padding: 25px;
            color: #8799a3;
            height: 50px;
            font-size: 1.3rem;
            
            &::placeholder {
                color: #8799a3;
            }
        }
        
        & select {
            margin-left: 20px;
            color: #8799a3;
            height: 50px;
            font-size: 1.3rem;
            
            &::placeholder {
                color: #8799a3;
            }
        }
        
        & .form-control {
            border-radius: 0;
            border: 2px solid transparent;
            border-right: 2px solid #eceef2;
            margin-bottom: 0;
            
            &:last-child {
                border-right: none;
            }
        }
    }
    
    & .green-btn {
        padding: var(--spacing-sm) 35px;
    }
}

.form-control:focus {
    border-color: transparent;
    outline: 0;
    box-shadow: none;
}

/* ===================================
   14 - Services Section
   =================================== */

.services-sec {
    & .services-details {
        & .heading {
            margin-inline: auto;
        }
        
        & .sub-heading {
            margin-bottom: var(--spacing-lg);
            
            & span {
                display: block;
                margin-inline: auto;
                margin-bottom: 10px;
            }
        }
    }
    
    & .our-services {
        padding-top: 70px;
        padding-bottom: 10px;
        overflow: hidden;
        
        & .service-card {
            padding-block: var(--spacing-md);
            transition: var(--transition-slow);
            
            & .image-holder {
                margin-bottom: var(--spacing-md);
                
                & i {
                    font-size: 50px;
                    font-weight: var(--font-weight-light);
                    transition: var(--transition-slow);
                }
            }
            
            & .service-card-heading {
                font-size: var(--font-size-lg);
                font-family: var(--font-primary);
                font-weight: var(--font-weight-medium);
                margin-bottom: 20px;
                text-transform: uppercase;
                transition: var(--transition-slow);
            }
            
            & .service-card-detail {
                font-family: var(--font-secondary);
                font-weight: lighter;
                font-size: var(--font-size-base);
                color: var(--color-dark);
            }
            
            &:hover {
                border-radius: var(--radius-lg);
                box-shadow: var(--shadow-md);
                cursor: pointer;
                
                & .service-card-heading {
                    color: var(--color-primary);
                }
                
                & .image-holder {
                    animation: 0.8s rotateIn;
                }
            }
        }
        
        & a {
            text-decoration: none;
            color: var(--color-dark);
        }
    }
}

/* ===================================
   15 - Skills Section
   =================================== */

.skill-sec {
    overflow: hidden;
    
    & .row {
        margin-inline: 0 !important;
    }
    
    & .skill-banner {
        padding-right: 0 !important;
        
        & img {
            width: 100%;
            height: 100%;
        }
    }
    
    & .skill-detail {
        & .inner-skill-wraper {
            width: 90%;
        }
        
        & .heading {
            width: 100%;
        }
        
        & .skill-bars {
            margin-bottom: 35px;
            
            & .progress-item {
                margin-bottom: 20px;
                
                & .progress {
                    height: 11px !important;
                    overflow: visible;
                }
                
                & .progress-bar {
                    position: relative;
                    background: linear-gradient(30deg, 
                        var(--color-dark) 30%, 
                        rgba(18, 185, 117, 0.55) 70%, 
                        rgba(18, 185, 117, 0.87) 100%) !important;
                    
                    & span {
                        position: absolute;
                        top: -25px;
                        right: -1.4em;
                        display: block;
                        padding: 2px 3px 2px 4px;
                        font-size: 13px;
                        line-height: 10px;
                        color: var(--color-dark);
                        font-family: var(--font-primary);
                        font-weight: var(--font-weight-light);
                        border-radius: var(--radius-xs);
                    }
                }
                
                & h6 {
                    font-family: var(--font-secondary);
                    font-weight: lighter;
                    font-size: var(--font-size-base);
                    color: var(--color-dark);
                    margin-bottom: var(--spacing-sm);
                }
            }
        }
        
        & .green-btn {
            margin-top: 20px;
        }
    }
    
    & .hover-effect {
        width: 100%;
        height: 100%;
        
        &::before,
        &::after {
            content: "";
            position: absolute;
            width: 0;
            height: 0;
            background: var(--color-light);
            z-index: var(--z-base);
            transition-duration: 1.3s;
        }
        
        &::before {
            top: 0;
            right: 0;
            opacity: 1;
        }
        
        &::after {
            bottom: 0;
            left: 0;
            opacity: 0.7;
        }
        
        &:hover {
            &::before,
            &::after {
                width: 100%;
                height: 100%;
                opacity: 0;
            }
        }
    }
}


/* ===================================
   16 - Portfolio / Cube Portfolio
   =================================== */

#portfolio .heading {
    width: 90%;
}

.cube-portfolio1 {
    & .cbp-l-filters-button .cbp-filter-item {
        display: inline-block;
        margin: 10px 4px 6px 4px;
        padding: 10px 0;
        background: transparent;
        border: none;
        font-size: var(--font-size-sm);
        font-weight: var(--font-weight-medium);
        font-family: var(--font-secondary);
        color: var(--color-dark);
        transition: all var(--transition-fast);
        
        &.cbp-filter-item-active,
        &:hover {
            color: var(--color-primary);
        }
    }
    
    & .cbp-l-grid-mosaic-flat .cbp-caption-activeWrap {
        color: var(--color-primary);
    }
    
    & .cbp-caption-zoom .cbp-caption:hover .cbp-caption-activeWrap {
        opacity: 0.8;
    }
}

.cbp-l-caption-alignCenter {
    position: absolute;
    top: 0;
    opacity: 0;
    z-index: 4;
    transition: opacity 0.4s ease-in-out;
}

.cube-portfolio1 .cbp-caption-zoom .cbp-caption:hover .cbp-l-caption-alignCenter {
    opacity: 1;
}

.cbp-l-caption-body {
    & p {
        font-size: var(--font-size-xs);
    }
    
    & h5 {
        font-weight: var(--font-weight-normal);
    }
}

.plus {
    position: relative;
    display: block;
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    overflow: hidden;
    
    &::before,
    &::after {
        content: " ";
        position: absolute;
        background: var(--color-light);
    }
    
    &::before {
        left: 50%;
        top: 5px;
        bottom: 5px;
        width: 2px;
        margin-left: -1px;
    }
    
    &::after {
        top: 50%;
        left: 5px;
        right: 5px;
        height: 2px;
        margin-top: -1px;
    }
    
    & p {
        font-size: 13px;
    }
}

/* Portfolio Gallery */
.portfolio_top {
    position: relative;
    overflow: hidden;
}

#portfolio_top {
    &::before,
    &::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        height: 90px;
        background: var(--color-light);
    }
    
    &::before {
        top: 0;
    }
    
    &::after {
        bottom: 0;
    }
}

.text_wrap {
    padding: var(--spacing-lg) 2rem 0.5rem 2rem;
}

.itemshadow .cbp-item-wrapper {
    padding-block: 5px 2px;
    box-shadow: var(--shadow-sm);
}

.border-portfolio .cbp-item img {
    border: 20px solid var(--color-light);
}

.bottom-text {
    display: table;
    
    & > .cells {
        display: table-cell;
        vertical-align: middle;
        padding: var(--spacing-sm);
    }
    
    & p {
        font-size: var(--font-size-base);
        margin-bottom: 0;
    }
    
    & .port_head {
        font-weight: var(--font-weight-semibold);
        font-size: 5.625rem;
        line-height: 1;
    }
}

.overlay-two {
    position: absolute;
    inset: 25px 20px 22px 20px;
    opacity: 0;
    visibility: hidden;
    z-index: var(--z-base);
    transition: all var(--transition-normal) 0.1s;
    
    &::before {
        content: "";
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-color: var(--color-primary);
        opacity: 0.7;
    }
    
    & > h4,
    & > p {
        position: relative;
        color: var(--color-light);
    }
}

.cbp-item {
    &:is(:hover, :focus) .overlay-two {
        opacity: 1;
        visibility: visible;
        border-radius: 0;
    }
}

/* ===================================
   17 - Quote Section
   =================================== */

.qoute-sec {
    & .qoute {
        width: 64%;
        margin-inline: auto;
        font-size: var(--font-size-3xl);
        font-family: var(--font-primary);
        font-weight: var(--font-weight-medium);
        color: var(--color-dark);
        line-height: 1.4;
        text-transform: uppercase;
        
        & span {
            color: var(--color-primary);
        }
    }
    
    & .writer {
        font-family: var(--font-secondary);
        font-size: var(--font-size-xl);
        font-weight: var(--font-weight-medium);
        color: var(--color-primary);
    }
    
    & i.fa-quote-left {
        position: absolute;
        top: -27px;
        left: 15%;
        font-size: 25px;
    }
    
    & i.fa-quote-right {
        position: absolute;
        right: 22%;
        bottom: 10%;
        font-size: 25px;
    }
}

/* ===================================
   18 - Project Section
   =================================== */

.project-sec {
    & .project-detail-area {
        display: flex;
        align-items: center;
    }
    
    & .project-img-area .project-img-slide {
        background-size: cover;
        background-repeat: no-repeat;
        margin-bottom: -15px;
    }
    
    & .project-detail-area .project-detail-slide .inner-content {
        width: 65%;
        transform: translateX(40%);
        
        & .sub-heading {
            color: var(--color-light);
            
            & span {
                background-color: var(--color-light);
            }
        }
        
        & .heading {
            color: var(--color-light);
        }
        
        & .text {
            color: var(--color-light);
            opacity: 0.8;
        }
    }
    
    & .project-links {
        position: absolute;
        bottom: 5%;
        left: 11.5%;
        transform: translateX(40%);
        cursor: pointer;
        z-index: var(--z-modal);
        
        & a i {
            font-size: 22px;
            color: var(--color-light);
            transition: var(--transition-slow);
            
            &:hover {
                color: var(--color-dark);
            }
        }
    }
}

/* ===================================
   19 - Pricing Section
   =================================== */

.pricing-sec {
    padding-block: var(--spacing-2xl);
    
    & .pricing-details {
        margin-bottom: var(--spacing-lg);
        
        & .heading {
            width: 65%;
            margin: var(--spacing-lg) auto;
        }
        
        & .sub-heading span {
            display: block;
            width: 30px;
            height: 2px;
            margin-inline: auto;
            margin-bottom: 10px;
            background-color: var(--color-primary);
        }
    }
    
    & .pricing-cards {
        overflow: hidden;
    }
    
    & .pricing-card {
        padding: 60px 18.5px 100px;
        transition: var(--transition-normal);
        
        & .pricing-card-heading {
            font-size: var(--font-size-2xl);
            font-family: var(--font-primary);
            font-weight: var(--font-weight-medium);
            color: var(--color-dark);
            text-transform: uppercase;
            transition: var(--transition-normal);
        }
        
        & .pricing-card-text {
            width: 85%;
            margin: auto auto 25px;
            font-size: var(--font-size-sm);
            font-family: var(--font-secondary);
            font-weight: var(--font-weight-light);
            color: var(--color-dark);
            transition: var(--transition-normal);
        }
        
        & .pricing-amount {
            position: relative;
            display: inline-block;
            margin-bottom: 25px;
            font-size: 60px;
            font-family: var(--font-primary);
            font-weight: var(--font-weight-semibold);
            color: var(--color-dark);
            transition: var(--transition-normal);
            
            & span {
                margin-left: 5px;
                font-size: var(--font-size-base);
                font-family: var(--font-secondary);
                font-weight: var(--font-weight-semibold);
                color: var(--color-dark);
                transition: var(--transition-normal);
            }
            
            & i {
                position: absolute;
                left: -18px;
                top: 22%;
                font-size: var(--font-size-base);
                font-weight: bolder;
                color: var(--color-dark);
                transition: var(--transition-normal);
            }
        }
        
        & .pricing-features {
            margin-bottom: var(--spacing-md);
            padding-right: 0;
            text-align: center;
            transition: var(--transition-normal);
            
            & li {
                margin-bottom: 10px;
                font-size: var(--font-size-md);
                font-family: var(--font-secondary);
                font-weight: var(--font-weight-light);
                color: var(--color-dark);
                list-style: none;
                text-decoration: none;
            }
        }
        
        &:is(.active:nth-child(2), :hover) {
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-xl);
            cursor: pointer;
            
            & .pricing-card-heading,
            & .pricing-amount,
            & .pricing-amount span,
            & .pricing-amount i {
                color: var(--color-primary);
            }
            
            & .pricing-btn {
                background-color: var(--color-primary);
                border-color: var(--color-primary);
                color: var(--color-light);
                
                &:hover {
                    background-color: transparent;
                    color: var(--color-primary);
                }
            }
        }
    }
}

/* ===================================
   20 - Client/Testimonial Section
   =================================== */

.client-sec {
    position: relative;
    background: url("../../digital-university/img/clients-banner.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    &.parallax-dis {
        background-attachment: inherit !important;
    }
    
    & img {
        width: 100%;
        height: 100%;
    }
    
    & .client-container {
        position: relative;
        padding-block: 305px;
        
        & .client-sec-overlay {
            position: absolute;
            inset: 0 0 50% 0;
            opacity: 0.9;
            background-color: var(--color-primary);
            z-index: var(--z-base);
        }
        
        & .client-img-overlay {
            position: absolute;
            inset: 0 0 auto 0;
            
            & .client-symbol-qoute {
                padding-block: var(--spacing-md);
                
                & i {
                    color: var(--color-light);
                }
            }
            
            & .client-text {
                font-size: var(--font-size-base);
                font-family: var(--font-secondary);
                font-weight: var(--font-weight-light);
                color: var(--color-light);
            }
        }
        
        & .client-img-holder {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 160px;
            height: 160px;
            background-color: var(--color-border-light);
            z-index: 11;
        }
        
        & .client-detail {
            position: absolute;
            left: 50%;
            top: 75%;
            transform: translate(-50%, -50%);
            
            & .client-name {
                font-size: var(--font-size-xl);
                font-family: var(--font-primary);
                font-weight: var(--font-weight-medium);
                color: var(--color-primary);
            }
            
            & .client-des {
                font-family: var(--font-secondary);
                font-weight: var(--font-weight-normal);
                font-size: var(--font-size-base);
                margin-bottom: var(--spacing-xs);
            }
            
            & .client-s-media {
                padding-left: 0;
                top: 20px;
                left: calc(50% - 45%);
                
                & li {
                    display: inline-block;
                    margin-right: 5px;
                    list-style: none;
                    
                    & a {
                        font-size: var(--font-size-md);
                        color: var(--color-dark);
                    }
                }
            }
        }
    }
}

/* Social Media Hover Colors */
.facebook-text-hvr:hover i.fa-facebook-f {
    color: #3B579D;
}

.twitter-text-hvr:hover i.fa-twitter {
    color: #2CAAE1;
}

.youtube-text-hvr:hover i.fa-youtube {
    color: #e13f28;
}

.linkedin-text-hvr:hover i.fa-linkedin-in {
    color: #007BB6;
}

.google-text-hvr:hover i.fa-google-plus-g {
    color: red;
}

.instagram-text-hvr:hover i.fa-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* ===================================
   21 - Contact Us Section
   =================================== */

.contact-us-sec {
    & .contact-details {
        padding-block: var(--spacing-lg);
        
        & .contact-sub-heading {
            margin-bottom: 20px;
            font-size: var(--font-size-md);
            font-family: var(--font-secondary);
            font-weight: var(--font-weight-medium);
            color: var(--color-primary);
        }
        
        & .contact-heading {
            margin-bottom: 20px;
            font-size: 44px;
            font-family: var(--font-primary);
            font-weight: var(--font-weight-medium);
            color: var(--color-dark);
        }
        
        & .contact-address {
            margin-bottom: 20px;
            font-size: var(--font-size-sm);
            font-family: var(--font-secondary);
            font-weight: var(--font-weight-normal);
            color: var(--color-dark);
        }
        
        & .contact-list {
            padding-left: 0;
            
            & li {
                font-family: var(--font-secondary);
                font-weight: var(--font-weight-normal);
                list-style: none;
                
                &:nth-child(even) {
                    margin-bottom: 20px;
                }
                
                &:last-child {
                    margin-bottom: var(--spacing-lg);
                }
            }
        }
        
        & .contact-s-media {
            padding-left: 0;
            margin-bottom: 0;
            left: -15px;
            right: auto;
            
            & li {
                display: inline-block;
                list-style: none;
                
                &:last-child {
                    margin-right: 0;
                }
                
                & a {
                    color: var(--color-dark);
                    
                    & i {
                        font-size: var(--font-size-lg);
                        transition: var(--transition-slow);
                    }
                    
                    &:hover i.fa-facebook-f {
                        color: #3B579D;
                    }
                    
                    &:hover i.fa-twitter {
                        color: #2CAAE1;
                    }
                    
                    &:hover i.fa-linkedin-in {
                        color: #007BB6;
                    }
                    
                    &:hover i.fa-google-plus-g {
                        color: red;
                    }
                    
                    &:hover i.fa-instagram {
                        background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
                        -webkit-background-clip: text;
                        -webkit-text-fill-color: transparent;
                    }
                }
            }
        }
        
        & .page-footer {
            left: calc(50% - 125px);
        }
    }
}

#map {
    width: 100%;
    height: 100%;
}

.slider-sec #map {
    width: 100%;
    height: 300px;
}

/* ===================================
   22 - Footer
   =================================== */

.footer-style-1 {
    padding: 5rem 0;
}

.footer-social {
    & ul {
        margin: 0;
        padding: 0;
    }
    
    & li {
        display: inline-block;
        
        &:nth-last-child(1) a {
            margin-right: 0;
        }
        
        & a {
            display: block;
            width: 45px;
            height: 45px;
            margin: 0 10px 0 0;
            line-height: 45px;
            font-size: 17px;
            color: var(--color-dark);
            text-align: center;
            border: 1px solid transparent;
            border-radius: var(--radius-full);
            transition: background-color var(--transition-fast);
            
            &:hover {
                background-color: var(--color-primary);
                color: var(--color-light) !important;
            }
        }
    }
}

.company-about {
    font-size: var(--font-size-sm);
    color: var(--color-dark);
    
    & a {
        color: var(--color-dark);
        
        &:hover {
            color: var(--color-primary);
        }
    }
}

/* ===================================
   23 - Bill Detail Page
   =================================== */

/* ===================================
   Bill Detail Page
   =================================== */

/* Sticky Bill Title Bar */
.bill-title-sticky {
    position: fixed;
    inset-inline: 0;
    top: -100px;
    z-index: calc(var(--z-modal) - 1);
    background-color: var(--color-primary);
    border-bottom:3px solid #fff;
    border-top:1px solid #fff;
    padding-block: 15px;
    opacity: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    
    &.visible {
        animation: animationFade var(--animation-duration) both;
        top: 105px;
        opacity: 1;
    }
    
    & .bill-title-content {
        display: flex;
        align-items: center;
        gap: 15px;
        color: var(--color-light);
        font-family: var(--font-secondary);
    }
    
    & .bill-number {
        font-weight: var(--font-weight-bold);
        font-size: 16px;
        white-space: nowrap;
        text-transform: uppercase;
        padding-inline-end: 15px;
        border-inline-end: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    & .bill-title-text {
        font-size: 14px;
        font-weight: var(--font-weight-normal);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1;
    }
}

/* Bill Summary Expandable Section */
.bill-summary-container {
    position: relative;
    
    & .summary-fade {
        position: relative;
        mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
    }
    
    &.expanded .summary-fade {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

.read-more-btn {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    font-family: var(--font-secondary);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    
    &:hover {
        background-color: #001a4d;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    & i {
        transition: transform 0.3s ease;
    }
}

.bill-summary-container.expanded .read-more-btn i {
    transform: rotate(180deg);
}

.bill-detail {
    font-family: var(--font-secondary);
    
    & .bill-mini-detail {
        margin-top: var(--spacing-sm);
        background-color: var(--color-primary);
        color: var(--color-muted);
        border-radius: var(--radius-md);
        
        & .mini-bill-des {
            padding: var(--spacing-md) var(--spacing-sm);
            
            & .bill-heading {
                margin-bottom: 10px;
                font-size: var(--font-size-2xl);
                font-family: var(--font-primary);
                color: var(--color-light);
                text-align: center;
            }
            
            & ul {
                padding-inline: 0 0;
                padding-block: 0 10px;
                margin-bottom: 0;
                text-align: left;
                
                & li i {
                    font-size: var(--font-size-sm);
                    color: var(--color-light);
                }
            }
            
            & .sub-heading {
                padding-left: 3px;
                font-size: var(--font-size-lg);
                font-weight: var(--font-weight-medium);
                color: var(--color-light);
            }
            
            & .sponsor {
                margin-bottom: 10px;
                
                & .sponsor-img {
                    float: left;
                    max-width: 75px;
                    max-height: 75px;
                    margin-right: 10px;
                    overflow: auto;
                    
                    & img {
                        border-radius: 5px;
                    }
                }
                
                & .sponsor-details {
                    float: left;
                }
                
                & .sponsor-name {
                    display: inline-block;
                    font-size: var(--font-size-lg);
                    color: var(--color-light);
                }
                
                & .sponsor-state,
                & .sponsor-district,
                & .sponsor-party {
                    display: inline-block;
                    font-size: var(--font-size-sm);
                    color: var(--color-light);
                }
            }
        }
        
        & .bill-detail-img img {
            width: 100%;
        }
    }
    
    & .bill-detail-box {
        font-family: var(--font-secondary);
        
        & .sub-heading {
            font-weight: var(--font-weight-medium);
            color: var(--color-primary);
        }
        
        & .text {
            color: var(--color-dark);
            text-align: justify;
        }
        
        & .bill-procons {
            & .republican ul {
                margin-left: 10px;
            }
            
            & .pros,
            & .cons {
                margin-top: 40px;
            }
            
            & .main-heading-detail {
                text-align: center;
            }
            
            & ul {
                list-style-position: outside;
            }
            
            & .democrat {
                &.list {
                    border-right: 3px solid var(--color-border);
                }
                
                & h5 {
                    text-align: right;
                    color: var(--color-primary);
                }
            }
            
            & .republican h5 {
                text-align: left;
                color: var(--color-secondary);
            }
        }
    }
}

.blue-color {
    color: var(--color-primary);
}

/* Sponsor Carousel */
.sponsors-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.sponsor-nav {
    display: flex;
    gap: 5px;
}

.sponsor-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 40, 104, 0.8);
    border: none;
    border-radius: var(--radius-circle);
    color: var(--color-light);
    cursor: pointer;
    transition: background var(--transition-fast);
    
    &:hover {
        background: var(--color-primary);
    }
    
    & i {
        font-size: var(--font-size-xs);
    }
}

.sponsor-carousel .sponsor-slide {
    outline: none;
}

/* Bill Accordion */
.bill-detail .bill-accordion {
    margin-top: 40px;
    
    & .card-header {
        padding-left: 0;
        background-color: transparent;
        border-bottom: none;
        
        & h2 {
            font-size: var(--font-size-lg);
            color: var(--color-dark);
            opacity: 0.8;
            transition: var(--transition-normal);
        }
    }
    
    & .btn-link {
        text-decoration: none;
        
        &:hover {
            text-decoration: none;
            
            & h2 {
                color: var(--color-primary);
            }
        }
    }
    
    & .card-body {
        border-top: 1px solid var(--color-border);
        
        & li {
            margin-bottom: 10px;
            word-break: break-all;
        }
        
        & .text a {
            color: var(--color-primary);
            text-decoration: underline;
            
            &:hover {
                color: var(--color-secondary);
            }
        }
    }
}

/* Laws Display */
.laws-list {
    margin-top: var(--spacing-sm);
}

.law-item {
    padding: var(--spacing-sm);
    background-color: #f8f9fa;
    border-inline-start: 4px solid var(--color-primary);
    border-radius: 4px;
    margin-bottom: var(--spacing-sm);
    
    & .law-type {
        font-size: 16px;
        color: var(--color-dark);
    }
    
    & .law-number {
        font-size: 14px;
        color: #666;
        margin-top: 5px;
    }
}

/* Related Bills Display */
.related-bills-list {
    margin-top: var(--spacing-sm);
}

.related-bill-item {
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all 0.3s ease;
    
    &:hover {
        border-color: var(--color-primary);
        box-shadow: 0 2px 8px rgba(0, 40, 104, 0.1);
        transform: translateX(5px);
    }
    
    & .related-bill-link {
        text-decoration: none;
        display: block;
        color: var(--color-dark);
        
        &:hover {
            text-decoration: none;
        }
    }
    
    & .related-bill-number {
        font-size: 16px;
        margin-bottom: 5px;
        
        & strong {
            color: var(--color-primary);
        }
    }
    
    & .related-bill-title {
        font-size: 14px;
        color: #666;
        line-height: 1.4;
        margin-inline-start: 24px;
    }
}

/* Bill Actions Timeline */
.bill-actions {
    position: relative;
    max-width: 60%;
    margin: -20px auto;
    padding: var(--spacing-lg);
    font-size: 1.03em;
    line-height: 1.4em;
    letter-spacing: 0.2px;
    text-align: left;
    list-style: none;
    border-left: 3px solid var(--color-primary);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    
    & .hidden {
        display: none;
    }
    
    & h1 {
        font-size: 1.4em;
        font-weight: var(--font-weight-light);
    }
    
    & h2,
    & h3 {
        margin-bottom: 10px;
        font-size: 1rem;
        font-weight: var(--font-weight-semibold);
    }
    
    & .event {
        position: relative;
        margin-bottom: 25px;
        padding-bottom: 25px;
        border-bottom: 1px dashed #e8ebf1;
        margin-right: -100px;

        & p {
            color: #aaa;
        }
        
        &:last-of-type {
            margin-bottom: 0;
            padding-bottom: 0;
            border: none;
        }
        
        &::before,
        &::after {
            position: absolute;
            top: 0;
            display: block;
        }
        
        &::before {
            left: -207px;
            min-width: 120px;
            font-size: 0.9em;
            font-weight: var(--font-weight-thin);
            text-align: right;
            content: attr(data-date);
        }
        
        &::after {
            left: -55.8px;
            top: 5px;
            width: 9px;
            height: 9px;
            background: var(--color-light);
            border-radius: var(--radius-circle);
            box-shadow: 0 0 0 3px #999;
            content: "";
        }
    }
}

/* ===================================
   24 - Standalone Pages
   =================================== */

.slider-sec {
    position: relative;
    min-height: 350px;
    
    & .overlay {
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.7);
        
        & h1, h4 {
            margin-bottom: 10px;
            font-size: var(--font-size-6xl);
            font-family: var(--font-primary);
            font-weight: var(--font-weight-bold);
            color: var(--color-light);
        }
    }
}

.crumbs {
    position: relative;
    
    & .breadcrumb-items {
        display: inline-block;
    }
    
    & .breadcrumb {
        margin-bottom: 0;
        padding: var(--spacing-sm) var(--spacing-lg);
        background-color: transparent;
        border-radius: 0;
        
        & li a {
            font-size: var(--font-size-xl);
            font-family: var(--font-secondary);
            color: var(--color-light);
            text-decoration: none;
            
            &:hover {
                color: var(--color-primary);
            }
        }
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--color-light);
}

.standalone-row {
    &:not(:last-child) {
        margin-bottom: 3rem;
    }
    
    & .stand-img-des {
        padding-left: var(--spacing-md);
        text-align: center;
    }
    
    &:nth-child(2) .stand-img-des {
        padding-left: 0;
        padding-right: var(--spacing-md);
    }
}

.standalone-detail {
    padding-bottom: var(--spacing-2xl);
    
    & .sub-heading {
        margin-bottom: 20px;
        color: var(--color-primary);
    }
    
    & .heading {
        margin-bottom: 20px;
        font-size: var(--font-size-5xl);
        font-family: var(--font-primary);
        font-weight: var(--font-weight-medium);
        color: var(--color-dark);
    }
    
    & .para_text {
        margin: 0 auto;
        font-size: var(--font-size-base);
        font-family: var(--font-secondary);
        font-weight: var(--font-weight-medium);
        color: var(--color-dark);
        text-align: center;
        line-height: 2.1;
        opacity: 0.8;
    }
}

.standalone-area {
    padding-bottom: var(--spacing-3xl);
    
    & .sub-heading {
        margin-bottom: var(--spacing-xs);
        color: var(--color-primary);
    }
    
    & .gradient-text1 {
        margin-bottom: 12px;
        font-family: var(--font-primary);
        font-weight: var(--font-weight-medium);
    }
    
    & .stand-img-des .para_text {
        font-family: var(--font-secondary);
        font-weight: var(--font-weight-light);
        color: var(--color-dark);
        opacity: 0.8;
    }
}

.mt-3r {
    margin-top: 3rem;
}

/* ===================================
   25 - Blog/Course Pages
   =================================== */

.blog-content {
    & .main_content {
        & .c_blog {
            margin-top: 0;
            border-bottom: none;
            
            &:hover .single_img img {
                transform: scale(1.1);
            }
        }
        
        & .course_block {
            padding: 20px;
            border: 1px solid var(--color-border);
            
            &:last-child {
                border-bottom: 1px solid var(--color-border);
            }
        }
    }
    
    & .nav-style2 {
        display: block;
        margin-top: var(--spacing-xl);
        text-align: center;
        
        & nav {
            display: inline-block;
            margin-bottom: 0;
            
            & ul {
                margin-bottom: 0;
                
                & li a {
                    margin-right: 0;
                    font-size: var(--font-size-md);
                    border: 1px solid var(--color-border);
                    border-radius: 0;
                    
                    &.active {
                        border-radius: 0;
                    }
                }
            }
        }
    }
    
    & li {
        &:is(:first-child, :last-child) a {
            border: 1px solid var(--color-border);
        }
    }
}


/* ===================================
   26 - Media Queries
   =================================== */

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .sidemenu_btn,
    .side-menu .btn-close {
        right: 90px;
    }
    
    .services-sec .our-services .service-card {
        width: 60%;
        margin: auto;
    }
    
    .pricing-sec {
        & .price-cards {
            width: 60%;
            margin: auto;
        }
        
        & .pricing-details .heading {
            width: 85%;
        }
    }
    
    .heading {
        font-size: 45px;
        margin-inline: auto;
    }
    
    .slider-area .heading {
        font-size: var(--font-size-7xl);
    }
    
    .font-large {
        font-size: var(--font-size-7xl) !important;
    }
    
    .project-sec .project-detail-area .project-detail-slide .inner-content {
        width: 60%;
    }
    
    .qoute-sec i.fa-quote-left {
        left: -2%;
    }
}

/* Mobile & Tablet Portrait (up to 991px) */
@media screen and (max-width: 991px) {
    .header-appear .sidemenu_btn {
        top: 24px;
    }
    
    .slider-area {
        & .slider-content {
            width: 100%;
            
            & .text {
                font-size: var(--font-size-lg);
            }
        }
        
        & .slider-icons {
            display: none;
        }
    }
    
    .heading {
        font-size: 44px;
    }
    
    .slider-form {
        position: relative;
        top: auto;
        padding-top: var(--spacing-xl);
        transform: translateY(0%);
        inset: auto;
        
        & .contact-form .form-group {
            margin-bottom: 20px;
            
            &:last-child {
                margin-bottom: var(--spacing-lg);
            }
            
            & input {
                border-bottom: 1px solid var(--color-border);
            }
        }
    }
    
    .skill-sec .skill-detail .inner-skill-wraper {
        width: 90%;
        margin: var(--spacing-lg) auto 0;
    }
    
    .sidemenu_btn {
        left: auto;
        right: 20px;
    }
    
    .side-menu {
        & .btn-close {
            left: auto;
            right: 30px;
        }
        
        & .inner-wrapper {
            padding: 3.5rem 3rem;
        }
    }
    
    .side-menu-inner-content {
        margin: auto;
    }
    
    .navbar-brand {
        margin-inline: 1rem auto;
    }
    
    .font-large {
        font-size: 38px !important;
    }
    
    .qoute-sec {
        & .qoute {
            width: 94%;
        }
        
        & i.fa-quote-left {
            left: 6%;
        }
        
        & i.fa-quote-right {
            right: 17%;
            bottom: 17%;
        }
    }
    
    .project-sec {
        & .project-detail-area {
            padding-block: var(--spacing-xl);
            
            & .project-detail-slide .inner-content {
                width: 90%;
                margin: auto;
                transform: translateX(0%);
                
                & .sub-heading span {
                    display: block;
                    margin: auto auto 10px;
                }
            }
        }
    }
    
    #portfolio .heading {
        width: 100%;
    }
    
    .pricing-sec {
        & .pricing-card {
            margin-bottom: 20px;
        }
        
        & .pricing-details .heading {
            width: 100%;
        }
    }
    
    .contact-us-sec .contact-details {
        padding-block: 0;
        
        & .contact-s-media {
            left: 50%;
            right: auto;
            width: 100%;
            transform: translateX(-50%);
        }
    }
    
    .client-sec .client-container {
        padding-bottom: 483px;
    }
    
    .bill-detail .bill-detail-box {
        margin-bottom: var(--spacing-lg);
    }
    
    .blog-content .main_content {
        & .course_block {
            width: 100%;
            
            &:nth-child(2) {
                margin-top: var(--spacing-md);
            }
            
            &:nth-child(odd) {
                margin-right: 0;
            }
        }
    }
    
    .standalone-row {
        &:not(:last-child) {
            margin-bottom: 8rem;
        }
        
        & .stand-img-des {
            padding-inline: 18px;
        }
        
        &:nth-child(2) .stand-img-des {
            padding-inline: 18px;
        }
    }
    
    .standalone-area {
        & .sub-heading {
            margin-top: 20px;
        }
    }
    
    .project-sec .project-area .project-detail {
        left: 0;
    }
}

/* Mobile (up to 767.9px) */
@media (max-width: 767.9px) {
    .header-appear .sidemenu_btn {
        top: 16px;
    }
    
    .bill-title-sticky.visible {
        top: 88px;
    }
    
    .bill-title-sticky .bill-number {
        font-size: 14px;
        padding-inline-end: 10px;
    }
    
    .bill-title-sticky .bill-title-text {
        font-size: 12px;
    }
    
    .slider-sec .overlay h4 {
        font-size: var(--font-size-5xl);
    }
    
    .slider-area .slider-content .heading {
        font-size: var(--font-size-4xl);
    }
    
    .side-nav .navbar-nav .nav-link {
        font-size: var(--font-size-3xl);
    }
    
    .heading {
        font-size: var(--font-size-4xl);
    }
    
    .qoute-sec i.fa-quote-right {
        right: 12%;
        bottom: 14%;
    }
    
    .bill-actions {
        max-width: 98%;
        padding: 25px;
        
        & .event {
            padding-top: var(--spacing-md);
            margin-right: -40px;
            
            &::before {
                left: 0;
                text-align: left;
            }
            
            &::after {
                left: -31.8px;
            }
        }
    }
    
    .bill-detail .bill-detail-box .bill-procons {
        & ul {
            margin: 0 -15px;
            list-style: none;
            
            & li {
                padding: 10px 5px;
                border-bottom: 1px solid var(--color-border);
            }
        }
        
        & .republican ul {
            margin-left: 0;
        }
    }
}

/* Large Desktop (up to 1340px) */
@media screen and (max-width: 1340px) {
    .project-sec .project-links {
        bottom: 4.5%;
        left: 3.5%;
    }
}

/* ===================================
   27 - Print Styles
   =================================== */

@media print {
    .side-menu,
    .sidemenu_btn,
    .scroll-top-arrow,
    .animated-cursor {
        display: none !important;
    }
    
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
}

/* ===================================
   28 - Accessibility Enhancements
   =================================== */

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-border: #000;
        --color-text: #000;
    }
}

/* ===================================
   29 - Dark Mode (Optional)
   =================================== */

@media (prefers-color-scheme: dark) {
    /* Uncomment and customize for dark mode support
    :root {
        --color-primary: #4a7ba7;
        --color-text: #e0e0e0;
        --color-dark: #f0f0f0;
        --color-light: #1a1a1a;
        --color-border: #333;
        --color-border-light: #444;
    }
    */
}

/* ===================================
   Bill Processing Page Styles
   =================================== */

.bill-processing {
    & .processing-container {
        padding: var(--spacing-lg) 0;
    }
    
    & .processing-subtitle {
        color: #666;
        font-size: 18px;
        margin-bottom: 0;
    }
}

/* Progress Bar */
.progress-wrapper {
    position: relative;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primary) 0%, #0047AB 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 40, 104, 0.3);
}

.progress-percentage {
    text-align: center;
    margin-top: 10px;
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    font-family: var(--font-primary);
}

/* Processing Steps */
.processing-steps {
    margin-top: var(--spacing-lg);
}

.step {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    background-color: #f8f9fa;
    border-radius: var(--radius-md);
    border-left: 4px solid #dee2e6;
    transition: all 0.3s ease;
    
    & .step-icon {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #e9ecef;
        border-radius: 50%;
        margin-right: var(--spacing-md);
        font-size: 20px;
        color: #6c757d;
        transition: all 0.3s ease;
        
        & i {
            transition: transform 0.3s ease;
        }
    }
    
    & .step-content {
        flex: 1;
        
        & .step-title {
            margin: 0 0 5px 0;
            font-size: 18px;
            font-weight: var(--font-weight-semibold);
            color: var(--color-dark);
        }
        
        & .step-description {
            margin: 0;
            font-size: 14px;
            color: #6c757d;
        }
    }
    
    & .step-status {
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    &.active {
        border-left-color: var(--color-primary);
        background-color: rgba(0, 40, 104, 0.05);
        
        & .step-icon {
            background-color: var(--color-primary);
            color: var(--color-light);
            box-shadow: 0 0 20px rgba(0, 40, 104, 0.3);
            
            & i {
                transform: scale(1.1);
            }
        }
        
        & .step-title {
            color: var(--color-primary);
        }
    }
    
    &.completed {
        border-left-color: #28a745;
        
        & .step-icon {
            background-color: #28a745;
            color: var(--color-light);
        }
        
        & .step-description {
            color: #28a745;
        }
    }
    
    &.error {
        border-left-color: #dc3545;
        background-color: rgba(220, 53, 69, 0.05);
        
        & .step-icon {
            background-color: #dc3545;
            color: var(--color-light);
        }
    }
}

/* Spinner Animation */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Container */
.error-container {
    margin-top: var(--spacing-lg);
    
    & .alert {
        padding: var(--spacing-md);
        border-radius: var(--radius-md);
    }
}

/* Processing Info */
.processing-info {
    padding: var(--spacing-md);
    background-color: #f8f9fa;
    border-radius: var(--radius-md);
    
    & p {
        margin: 0;
        font-size: 14px;
    }
}

/* ===================================
   End of Modern CSS
   =================================== */

