   
   /* btn  */
   .btn-primary {
       background: #0575E6;
       border: none;
   }

   .btn-primary:hover {
       background: #021B79;
   }

   .nav-link:hover {
       color: #0575E6 !important;
   }

   .hero {
       background: linear-gradient(rgba(2, 27, 121, 0.7), rgba(5, 117, 230, 0.7)), url("https://picsum.photos/1920/1080") no-repeat center center;
       background-size: cover;
       color: white;
       padding: 120px 0;
   }

   .case-study img {
       border-radius: 10px;
   }

   .cta-banner {
       background: #021B79;
       color: white;
       padding: 60px 20px;
       text-align: center;
   }
  
   .cta-banner .btn {
       background: #0575E6;
   }



                  .apetext {
                     font-family: "Roboto", sans-serif;
                     font-weight: 400;
                     font-style: normal;
                     font-size: large;
                 }

            .ape-icon {
                    width: 80px;
                    height: 80px;
                    min-width: 60px;
            }

             @media (min-width: 992px) {
                    .ape-icon {
                    width: 100px;                                       
                    height: 100px;
                    }
             }
                     


    /* footer   */
        :root {
            /* --primary-color: #1a365d; */
            --secondary-color: #2d6bc2;
            /* global accent color */
            --accent-color: #0ea5e9;
            --light-color: #f8fafc;
            --dark-color: #0f172a;
            --text-color: #334155;
            --transition: all 0.3s ease;

            /* LinkedIn color palette (requested)
               #102542, #1C2E4A, #0A1A2F, #274C77 */
            --li-1: #102542;
            --li-2: #1C2E4A;
            --li-3: #0A1A2F;
            --li-4: #274C77;
            --linkedin-gradient: linear-gradient(135deg, var(--li-3), var(--li-4));
            --linkedin-icon-color: #ffffff;
        }
    
        body {
            font-family: 'Segoe UI', system-ui, sans-serif;
            color: var(--text-color);
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

            
    
        .main-content {
            flex: 1;
            padding: 2rem;
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
        }
    
        /* Footer Styles */
        .footer {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
            color: var(--light-color);
            padding: 4rem 0 2rem;
            position: relative;
            overflow: hidden;
        }
    
        /* .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: grey;
        } */
    
        .footer-logo {
            font-weight: 700;
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            display: inline-block;
            background: linear-gradient(90deg, var(--accent-color), #fff);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
    
        .footer-tagline {
            font-size: 1.1rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            line-height: 1.6;
        }
    
        .footer-heading {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
            transition: var(--transition);
        }
    
        .footer-heading::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 40px;
            height: 3px;
            background-color: var(--accent-color);
            border-radius: 2px;
            transition: var(--transition);
        }
    
        .footer-section {
            padding: 1.5rem;
            border-radius: 12px;
            transition: var(--transition);
            height: 100%;
            position: relative;
            overflow: hidden;
        }
    
        .footer-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.05), transparent);
            transition: var(--transition);
        }
    
        .footer-section:hover::before {
            left: 100%;
        }
    
        .footer-section:hover {
            background: rgba(255, 255, 255, 0.03);
            transform: translateY(-5px);
        }
    
        .footer-section:hover .footer-heading {
            color: var(--accent-color);
        }
    
        .footer-section:hover .footer-heading::after {
            width: 100%;
            background-color: #10b981;
        }
    
        .footer-links {
            list-style: none;
            padding: 0;
        }
    
        .footer-links li {
            margin-bottom: 0.8rem;
        }
    
        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            padding: 0.3rem 0;
            border-radius: 4px;
            width: 100%;
        }
    
        .footer-links a:hover {
            color: var(--accent-color);
            transform: translateX(5px);
            background: rgba(255, 255, 255, 0.05);
            padding-left: 10px;
        }
    
        .footer-links a i {
            margin-right: 10px;
            font-size: 0.9rem;
            width: 20px;
            text-align: center;
        }
    
        .contact-info {
            margin-bottom: 2rem;
        }
    
        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 1.5rem;
            padding: 0.8rem;
            border-radius: 8px;
            transition: var(--transition);
        }
    
        .contact-item:hover {
            background: rgba(255, 255, 255, 0.05);
            transform: translateX(5px);
        }
    
    
    
        .contact-icon {
            background: rgba(14, 165, 233, 0.2);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
            transition: var(--transition);
        }
    
        .contact-item:hover .contact-icon {
            background: rgba(14, 165, 233, 0.3);
            transform: scale(1.1);
        }
    
        .contact-details h5 {
            margin-bottom: 5px;
            font-size: 1rem;
            transition: var(--transition);
        }
    
        .contact-item:hover .contact-details h5 {
            color: var(--accent-color);
        }
    
        .contact-details p {
            margin: 0;
            opacity: 0.9;
        }
    
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 2rem;
        }
    
        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--linkedin-gradient);
            color: var(--linkedin-icon-color);
            transition: var(--transition);
            text-decoration: none;
            box-shadow: 0 2px 6px rgba(10, 26, 47, 0.35);
        }

        .social-link:hover {
            transform: translateY(-5px) scale(1.06);
            filter: brightness(1.05);
        }

        /* Day mode overrides: slightly lighter LinkedIn gradient to match day background */
        body.day-mode {
            --linkedin-gradient: linear-gradient(135deg, var(--li-4), var(--li-2));
            --linkedin-icon-color: #ffffff;
        }
    
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 2rem;
            margin-top: 3rem;
            text-align: center;
        }
    
        .copyright {
            opacity: 0.8;
            margin-bottom: 1rem;
        }
    
        .footer-legal {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
        }
    
        .footer-legal a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: var(--transition);
            font-size: 0.9rem;
            padding: 0.3rem 0.8rem;
            border-radius: 4px;
        }
    
        .footer-legal a:hover {
            color: var(--accent-color);
            background: rgba(255, 255, 255, 0.05);
        }
    
        /* Animation for elements on scroll */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
    
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
    
        /* Mobile-specific enhancements */
        @media (max-width: 768px) {
            .footer {
                padding: 3rem 0 1.5rem;
                text-align: center;
            } 
    
            .footer-section {
                padding: 1rem 0.5rem;
                margin-bottom: 1.5rem;
            }
    
            .footer-section:hover {
                transform: translateY(-3px);
            }
    
            .footer-heading::after {
                left: 50%;
                transform: translateX(-50%);
            }
    
            .footer-section:hover .footer-heading::after {
                width: 80%;
            }
    
            .contact-item {
                justify-content: center;
                flex-direction: column;
                text-align: center;
                padding: 1rem;
                margin-bottom: 1rem;
            }
    
            .contact-icon {
                margin-right: 0;
                margin-bottom: 10px;
            }
    
            .footer-links a {
                justify-content: center;
            } 
    
            .footer-links a:hover {
                transform: translateX(0);
                padding-left: 0;
                background: rgba(255, 255, 255, 0.05);
            }
    
            .social-links {
                justify-content: center;
            }
    
            .footer-legal {
                gap: 10px;
            }
     
            .footer-legal a {
                padding: 0.3rem 0.5rem;
            }
        }
    
        @media (max-width: 576px) {
            .footer {
                padding: 2.5rem 0 1rem;
            }
    
            .footer-logo {
                font-size: 1.6rem;
            }
    
            .footer-tagline {
                font-size: 1rem;
            }
    
            .footer-heading {
                font-size: 1.2rem;
            }
    
            .contact-details h5 {
                font-size: 0.95rem;
            }
    
            .footer-legal {
                flex-direction: column;
                gap: 8px;
            }
        }
    
        /* Collapsible sections for mobile */
        .footer-section.collapsible .footer-heading {
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }
    
        .footer-section.collapsible .footer-heading::after {
            display: none;
        }
    
        .footer-section.collapsible .footer-heading .toggle-icon {
            transition: var(--transition);
        }
    
        .footer-section.collapsible .footer-content {
            transition: max-height 0.4s ease, opacity 0.3s ease;
            overflow: hidden;
        }
    
        @media (max-width: 768px) {
            .footer-section.collapsible .footer-content {
                max-height: 0;
                opacity: 0;
            }
    
            .footer-section.collapsible.active .footer-content {
                max-height: 1000px;
                opacity: 1;
            }
    
            .footer-section.collapsible.active .footer-heading .toggle-icon {
                transform: rotate(180deg);
            }
        }   

                /* Desktop nav alignment */
                li.ms-3 {
                    list-style: none;
                    display: flex;
                    gap: 6px;
                    margin-left: auto;
                    text-decoration-color: red;
                    /* Pushes nav items to the right */
                }
            
            /*testing */
            #siteLogo,
.logo-img {
  max-width: 160px;
  height: auto;
  display: block;
}

            
           /*This prevents the page from sliding horizontally even if something overflows. */
            html, body {
  overflow-x: hidden;
}

            
            
            
            
            
            
            
            
            
            
            

         

                