:root { 
  --background-color: #0d1d26; /* Background color for the entire website, including individual sections */
  --default-color: rgba(255, 255, 255, 0.8); /* Default color used for the majority of the text content across the entire website */
  --heading-color: #e0e9f2; /* Color for headings, subheadings and title throughout the website */
  --subheading-color:#b32335;
  --accent-color: #b32335; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #16262f; /* #1b262c The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
--white-color:#FFFFFF;

  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #1b262c;  /* The default color of the main navmenu links */
  --nav-hover-color: #b32335; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #5f5e64; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #5f5e64; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: rgba(255, 255, 255, 0.8);
   --nav-dropdown-hover-color: #b32335; /* Used for navigation links of the dropdown items in the navigation menu. */
  /* --nav-dropdown-hover-color: #e3a127; Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #0d1d26;
  --surface-color: #16262f;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.text-dark{
    color: #0000!important;
}

.navmenu .dropdown ul li :hover {
  color: var(--nav-hover-color);
}


 /* team */


        .description-title {
            color: var(--accent-color);
            font-weight: 600;
            font-size: 1.1rem;
        }

        .team-member {
            background: var(--surface-color);
            border-radius: 20px;
            padding: 40px 30px;
            margin-bottom: 30px;
            transition: all 0.4s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .team-member::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-color), #ff4757, var(--accent-color));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .team-member:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(207, 33, 41, 0.2);
            border-color: rgba(207, 33, 41, 0.3);
        }

        .team-member:hover::before {
            opacity: 1;
        }

        .member-img {
            width: 160px;
            height: 160px;
           margin-bottom: 25px;
            position: relative;
            flex-shrink: 0;
        }

        .member-img img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
          
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(207, 33, 41, 0.3);
        }

        .team-member:hover .member-img img {
            border-color: #ff4757;
            box-shadow: 0 12px 35px rgba(207, 33, 41, 0.5);
            transform: scale(1.05);
        }

        .member-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .member-info h4 {
            color: var(--heading-color);
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 8px;
            transition: color 0.3s ease;
        }

        .member-info span {
            color: var(--accent-color);
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .member-info p {
            color: var(--default-color);
            line-height: 1.7;
            margin-bottom: 20px;
            font-size: 0.95rem;
        }

        .social {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            color: var(--default-color);
            border-radius: 50%;
            transition: all 0.3s ease;
            text-decoration: none;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .social a:hover {
            background: var(--accent-color);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(207, 33, 41, 0.4);
        }

        .social a i {
            font-size: 1.1rem;
        }

        .expertise-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 15px;
            justify-content: center;
        }

        .expertise-tag {
            background: rgba(207, 33, 41, 0.1);
            color: var(--accent-color);
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid rgba(207, 33, 41, 0.2);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .team-member {
                padding: 30px 20px;
            }

            .member-img {
                width: 140px;
                height: 140px;
                margin-bottom: 20px;
            }

           
        }



        /* platform */
         .description-title {
            color: var(--accent-color);
            font-weight: 600;
            font-size: 1.2rem;
        }

        .section-subtitle {
            color: var(--default-color);
            font-size: 1.1rem;
            
            line-height: 1.8;
        }

        /* Featured Platform - LawAngle */
        .featured-platform {
            background: linear-gradient(135deg, var(--surface-color) 0%, #243238 100%);
            border-radius: 25px;
            padding: 50px 40px;
            margin-bottom: 80px;
            position: relative;
            overflow: hidden;
          
            box-shadow: 0 20px 60px rgba(207, 33, 41, 0.1);
        }

        .featured-platform::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--accent-color), #ff4757, var(--accent-color));
            animation: gradientMove 3s ease-in-out infinite;
        }

        @keyframes gradientMove {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        .platform-logo {
            text-align: center;
            margin-bottom: 30px;
        }

        .platform-logo h3 {
            color: var(--accent-color);
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 10px;
            text-shadow: 0 0 20px rgba(207, 33, 41, 0.3);
        }

        .platform-tagline {
            color: var(--heading-color);
            font-size: 1.3rem;
            font-weight: 600;
            font-style: italic;
            margin-bottom: 30px;
            text-align: center;
        }

        .platform-description {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 30px;
            color: var(--default-color);
        }

        .key-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 40px 0;
        }

        .feature-item {
            background: rgba(255, 255, 255, 0.05);
            padding: 20px;
            border-radius: 15px;
            border-left: 4px solid var(--accent-color);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .feature-item:hover {
            transform: translateY(-5px);
            background: rgba(207, 33, 41, 0.1);
            box-shadow: 0 10px 30px rgba(207, 33, 41, 0.2);
        }

        .feature-item h5 {
            color: var(--heading-color);
            font-weight: 600;
            margin-bottom: 8px;
        }

        .feature-item p {
            font-size: 0.95rem;
            margin: 0;
        }

        .tech-stack {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            margin-top: 30px;
        }

        .tech-tag {
            background: rgba(207, 33, 41, 0.15);
            color: var(--accent-color);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            border: 1px solid rgba(207, 33, 41, 0.3);
            transition: all 0.3s ease;
        }

        .tech-tag:hover {
            background: var(--accent-color);
            color: white;
            transform: scale(1.05);
        }

        /* Future Platforms Grid */
        /* .platforms-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
           
            margin-bottom: 20px;
        } */

        .platform-card {
            background: var(--surface-color);
            border-radius: 20px;
            padding: 35px 30px;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.4s ease;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        }

        .platform-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--accent-color);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .platform-card:hover {
            transform: translateY(-10px);
            border-color: rgba(207, 33, 41, 0.3);
            box-shadow: 0 20px 60px rgba(207, 33, 41, 0.15);
        }

        .platform-card:hover::before {
            transform: scaleX(1);
        }

        .platform-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--accent-color), #ff4757);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            box-shadow: 0 10px 30px rgba(207, 33, 41, 0.3);
        }

        .platform-icon i {
            font-size: 2rem;
            color: white;
        }

        .platform-card h4 {
            color: var(--heading-color);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .platform-card .platform-subtitle {
            color: var(--accent-color);
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .platform-card p {
            line-height: 1.7;
            margin-bottom: 25px;
        }

        .target-audience {
            background: rgba(255, 255, 255, 0.05);
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 20px;
        }

        .target-audience h6 {
            color: var(--accent-color);
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 8px;
            text-transform: uppercase;
        }

        .feature-list {
            list-style: none;
            padding: 0;
        }

        .feature-list li {
            padding: 5px 0;
            position: relative;
            padding-left: 20px;
            font-size: 0.95rem;
        }

        /* .feature-list li::before {
            content: '▸';
            color: var(--accent-color);
            font-weight: bold;
            position: absolute;
            left: 0;
        } */

        .status-badge {
            position: absolute;
            top: 20px;
            right: 20px;
           background: #00A5E3;
            color: #ffffff;
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
            border: 1px solid rgba(52, 152, 219, 0.3);
        }

        .status-badge.live {
            background: rgba(46, 204, 113, 0.2);
            color: #2ecc71;
            border-color: rgba(46, 204, 113, 0.3);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
           
            .platform-logo h3 {
                font-size: 2.5rem;
            }

            .featured-platform {
                padding: 30px 25px;
            }

            .platforms-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .platform-card {
                padding: 25px 20px;
            }
        }




        /* LawPlatform  */
         .btn-primary {
            /* background: linear-gradient(135deg, var(--accent-color), #e74c3c); */
            background: var(--accent-color);
            border: none;
            border-radius: 50px;
            padding: 12px 30px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(207, 33, 41, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(207, 33, 41, 0.4);
            background: linear-gradient(135deg, #e74c3c, var(--accent-color));
        }
 .btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(207, 33, 41, 0.4);
    background: linear-gradient(135deg, #e74c3c, var(--accent-color));
}
        .hero-section {
            min-height: 100vh;
            background: linear-gradient(135deg, var(--background-color) 0%, var(--surface-color) 100%);
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23b32335" fill-opacity="0.05" points="0,0 1000,300 1000,1000 0,700"/></svg>');
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-title {
            color: var(--heading-color);
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hero-tagline {
            color: var(--accent-color);
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .hero-description {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            max-width: 600px;
        }

        .dashboard-mockup {
            background: var(--surface-color);
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            padding: 20px;
            position: relative;
            overflow: hidden;
        }

        .dashboard-mockup::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 40px;
            background: linear-gradient(90deg, var(--accent-color), #e74c3c);
            border-radius: 20px 20px 0 0;
        }

        .mockup-content {
            margin-top: 20px;
            height: 400px;
            background: linear-gradient(45deg, var(--background-color), var(--surface-color));
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }



          .demo-section {
            background: var(--surface-color);
        }

        .interactive-demo {
            background: var(--background-color);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        }

        .demo-tabs {
            display: flex;
            margin-bottom: 30px;
            border-radius: 10px;
            overflow: hidden;
            background: var(--surface-color);
        }

        .demo-tab {
            flex: 1;
            padding: 15px 13px;
            background: transparent;
            color: var(--default-color);
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .demo-tab.active {
            background: var(--accent-color);
            color: white;
        }
  .workflow-step {
            text-align: center;
            padding: 30px 15px;
            position: relative;
        }

        .workflow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(85, 44, 44, 0.2);
    border-color: rgba(207, 33, 41, 0.3);
}

        .workflow-step::after {
            content: '→';
            position: absolute;
            right: -20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--accent-color);
            font-size: 2rem;
            font-weight: bold;
        }

        .workflow-step:last-child::after {
            display: none;
        }

        .workflow-icon {
            background: var(--accent-color);
            color: white;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin: 0 auto 1rem;
            position: relative;
        }

       .cta-section {
            /* background: linear-gradient(135deg, var(--accent-color), #e74c3c); */
            background: var(--accent-color);
            text-align: center;
            color: white;
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2rem;
            }
            .hero-description{
                font-size: 1rem;
            }
            .btn-primary{
                font-size: 1rem;
            }
        }




        /* navbar css*/
    /* Small screens only (mobile/tablet) */
@media (max-width: 991px) {
  /* Remove white background */
  #navmenu .dropdown ul {
    background: transparent !important;
  }

  /* Change font color to white */
  #navmenu .dropdown ul li a {
    color: white !important;
  }

  /* Hover and active state: red (#b42133) */
  #navmenu .dropdown ul li a:hover,
  #navmenu .dropdown ul li a:focus,
  #navmenu .dropdown ul li a.active {
    color: #b42133 !important;
  }
}


/* bg-grey */
bg-grey{
    background-color: #5b6e80!important ;
}



/* lawplatform feture modal */
  .modal-content {
            background: linear-gradient(135deg, var(--surface-color) 0%, #2a3640 100%);
            border: 1px solid var(--accent-color);
            border-radius: 15px;
            color: var(--default-color);
        }

        .modal-header {
            background: linear-gradient(135deg, var(--accent-color) 0%, #a51d24 100%);
            color: var(--contrast-color);
            border-bottom: none;
            border-radius: 15px 15px 0 0;
        }

        .modal-title {
            font-family: var(--heading-font);
            font-weight: 700;
            color: var(--contrast-color);
        }

        .btn-close {
            filter: invert(1);
        }

        .modal-body {
            padding: 2rem;
            line-height: 1.6;
            font-size: 1rem;
        }

        .modal-body h5 {
            color: var(--heading-color);
            font-family: var(--heading-font);
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .modal-body p {
            color: var(--default-color);
            margin-bottom: 0;
        }

        .feature-icon {
            font-size: 2rem;
            color: var(--accent-color);
            margin-right: 1rem;
            vertical-align: middle;
        }
/* -------------------------
Demo Upload Section
------------------------- */
#demo-upload .demo-icon {
  font-size: 4rem;
  color: #00A5E3; /* blue */
}

/* Custom Choose Files button */
#demo-upload .btn-choose-files {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 2px solid #00A5E3;
  border-radius: 8px;
  background-color: transparent;
  color: #00A5E3;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

#demo-upload .btn-choose-files:hover {
  background-color: #00A5E3;
  color: #fff;
}

/* -------------------------
Demo Analysis Section
------------------------- */
#demo-analysis .demo-icon-analysis {
  font-size: 4rem;
  color: #FFBF65; /* yellow */
}

/* Progress bar */
#demo-analysis .progress-bar-custom {
  height: 10px;
  background-color: #FFBF65; /* yellow */
  animation: progress-animation 2s ease-in-out;
  border-radius: 5px;
}

/* -------------------------
Demo Results Section
------------------------- */
#demo-results .demo-icon-results {
  font-size: 4rem;
  color: #4DD091; /* green */
}

/* Subitems icons - light colors */
#demo-results .demo-subitem.case-summary i {
  color: #4DD091; /* light green */
}
#demo-results .demo-subitem.key-points i {
  color: #80D6F4; /* light blue */
}
#demo-results .demo-subitem.precedents i {
  color: #FFE4B2; /* light yellow */
}

/* Optional: hover effect for subitems */
#demo-results .demo-subitem i:hover {
  opacity: 4DD091.8;
  transform: scale(1.1);
  transition: 0.3s ease;
}

/* Keyframes for progress bar animation */
@keyframes progress-animation {
  0% { width: 0; }
  100% { width: 75%; } /* adjust width as needed */
}

.glightbox-clean .gdesc-inner {
  text-align: center !important; /* center horizontally */
  font-weight: bold;             /* make text bold */
}
/* technologies in jurinex page */

      .service-card {
    background-color: var(--surface-color);
    border: none;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Set to 100% by default */
    height: 3px;
    background-color: var(--accent-color);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-size: 1.4rem;
    margin: 20px 0 15px;
    font-weight: 700;
}

.service-card p {
    color: var(--default-color);
    line-height: 1.6;
    margin: 0;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-wrapper img, .icon-wrapper svg {
    width: 65px;
    height: 65px;
    object-fit: contain;
    display: block;
}