body {
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
            background-color: #000; /* Black background theme */
            color: #fff; /* White text */
        }

/* Popup Overlay */
#email-popup {
    display: none; /* Completely hide the popup initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.5); /* Optional background for visibility */
}

#email-popup.active {
    display: flex; /* Show popup when active */
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show Popup */
.popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Popup Content */
.popup-content {
    background: white; /* Popup background */
    color: black;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    animation: growIn 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Shadow for depth */
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: black;
}

/* Form and Success Message */
.subscription-form {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.subscription-form input {
    width: 70%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
}

.subscribe-button {
    background: #FF9500;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.2s, background 0.3s;
}

.subscribe-button:hover {
    background: #FF7A00;
    transform: scale(1.05);
}

#success-message {
    margin-top: 20px;
    font-size: 1.2rem;
    color: green;
    font-family: 'Poppins', sans-serif;
}

.hidden {
    display: none;
}

/* Popup Animations */
@keyframes growIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


        header {
            position: relative;
            background: url('header-bg.jpg') no-repeat center center/cover; /* Background image */
            color: #fff;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 36px;
            font-weight: bold;
            color: white; /* Blue text */
            margin: 0;
        }
      
        .nav-link {
            color: #fff; /* Default color for all links */
            text-decoration: none;
            padding: 10px;
        }
        
        .nav-link.highlight {
            border-bottom: 3px solid #FFD700; /* Mustard yellow border */
            color: #FFD700; /* Optional: Change text color to mustard yellow */
            font-weight: bold; /* Optional: Make the text bold */
        }
        
        
        nav ul {
            list-style: none;
            display: flex;
            margin: 0;
            padding: 0;
        }

        nav ul li {
            margin: 0 10px;
        }

        nav ul li a {
            text-decoration: none;
            color: #fff;
            padding: 10px 20px;
            transition: background-color 0.3s ease;
        }

        nav ul li a:hover,
        nav ul li a.active { /* Gold for active link */
            color: #fff;
        }

        nav ul li a.contact {
            background-color: #007AFF; /* Blue for Contact Us */
            color: #fff;
        }

        nav .fas {
            display: none; /* Hidden by default */
            font-size: 25px;
            color: white;
            cursor: pointer;
        }
        
       
        .call-to-action {
            position: relative;
            height: 500px; /* Adjust height as needed */
            color: white;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .call-to-action video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover; /* Ensures the video covers the section */
            z-index: 0;
        }

      
        .call-to-action-content {
            position: relative;
            z-index: 1; /* Content in front of video */
            display: flex;
            flex-direction: column; /* Stack elements vertically */
            align-items: center; /* Center horizontally */
            gap: 15px; /* Space between elements */
            text-align: center; /* Center text */
        }
        

        .call-to-action h1,
.call-to-action p,
.call-to-action button {
    position: relative;
    z-index: 1; /* Content in front of video */
    margin: 0;
}

        .call-to-action h1 {
            font-size: 48px;
            margin-bottom: 20px;
        }

        .call-to-action button {
            background-color: #007AFF;
            color: white;
            padding: 10px 20px;
            font-size: 18px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .call-to-action::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
            z-index: 0; /* Behind content, above video */
        }
        
        .call-to-action button:hover {
            background-color: #005BBB;
        }
      /* General section layout */

/* General section layout */
/* General section layout */
.section {
    display: flex;             /* Flexbox layout for horizontal alignment */
    justify-content: space-between; /* Space between text and image */
    align-items: flex-start;   /* Align content to the top */
    padding: 20px;             /* Add spacing around the section */
    margin: 20px;                 /* Remove extra margins */
}

/* Styling for the text container */
.about {
    flex: 1;                   /* Allow the text to take up available space */
    margin-right: 20px;      /* Add space between text and image */
    padding: 0;                /* Remove padding */
    box-sizing: border-box;    /* Include padding in width calculation */
    margin: 30px;
}

.about h2 {
    margin: 0;                 /* Remove top margin */
    font-size: 2rem;           /* Adjust heading size */
}

.about p {
    margin-top: 15px;   
    margin: 15px;       /* Add spacing below the heading */
    line-height: 1.5;          /* Adjust line height for readability */
    text-align: left;
}




/* New Mini Columns Layout */
.mini-columns {
    display: flex;
    justify-content: space-between;
    margin-top: 30px; /* Add some space between text and mini-columns */
}

.column {
    text-align: left;
    flex: 0 0 48%; /* Make each column 48% of the section width */
}

.icon {
    font-size: 50px; /* Set the icon size */
    color: #393b3d; /* Blue color for icons */
    margin: 15px;    
    margin-bottom: 10px; /* Add space between the icon and text */
}

.learn-more-btn {
    display: inline-block;
    background-color: #007AFF; /* Blue background */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 20px; /* Space above the button */
    margin: 15px;    
}

.learn-more-btn:hover {
    background-color: #005f99; /* Darker blue on hover */
}

/* Center the Learn More Button */
.button-container {
    text-align: left; /* Center the button */
    margin-top: 30px; /* Add space above the button */
}




/* Styling for the image container */
.image-container {
    flex: 0 0 50%;             /* Fix the width of the image container */
    position: relative; 
    margin: 30px;       /* Position for overlay if needed */
}

.image-container img {
    margin-top: -50px;
    width: 100%;             /* Make the image fill its container */
    height: auto;              /* Maintain aspect ratio */
    display: block;            /* Ensure proper rendering */
}

/* Optional: Add an abstract background behind the image */
/* Reuse existing styles for consistency */


#clarity-innovation img {
    width: 100%;
    height: auto;
    display: block;
    margin-left: -70px;
}

#clarity-innovation .about {
    order: 2; /* Ensure text appears second */
    flex: 1;
    
}
  

/* General Styling for the Section */
#what-we-offer {
    padding: 50px 0;
    background-color: #000; /* Dark grey background */
    color: #fff;
    margin: 50px;
    margin-top: -70px;
}

.services-container {
    text-align: center;
}

.sub-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: bold;
    color: #fff;
}

.services-list {
    display: flex;
    justify-content: space-between; /* Distribute all items in a row */
    gap: 20px;
}

/* Individual Service Item */
.service-item {
    background-color: #1a1a1a; /* Slightly lighter grey for contrast */
    border: 2px solid #007AFF; /* Blue border */
    padding: 30px;
    width: 25%; /* Increased size for containers */
    text-align: center;
    position: relative;
    overflow: hidden; /* Ensures hover effects are contained */
    height: 300px; /* Uniform height */
}

/* Icon Circle */
.service-item .icon-circle {
    width: 80px;
    height: 80px;
    border: 2px solid #007AFF; /* Blue circle border */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-item .icon {
    font-size: 40px;
    color: #007AFF; /* Blue icon color */
}

/* Title */
.service-item h2 {
    font-size: 1.7rem;
    font-weight: bold;
    margin-bottom: 10px;
    z-index: 2; /* Keeps title above the background effect */
}

/* Hover Effect Background */
.service-item:hover::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%; /* Blue highlight background */
    z-index: 1; /* Places this behind text */
    transition: top 0.3s ease;
}

.service-item:hover::before {
    top: 0; /* Slides up to cover the container */
}

/* Description */
.service-item .description {
    font-size: 1rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2; /* Keeps text above background effect */
}

.service-item:hover .description {
    opacity: 1; /* Fade in description on hover */
}

/* Learn More Button */
.service-item .learn-more {
    display: inline-block;
    margin-top: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
    z-index: 2; /* Keeps text above background effect */
}

/* Stats Section */
.section {
    padding: 50px 0; /* Background color of the section */
    color: #fff;
    text-align: center;
}

/* Flexbox Container for Stats */
.stats {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Stat Item */
.stat-item {
    font-size: 1.2rem;
    margin: 0 20px;
    padding: 10px;
    text-align: center;
}

/* Stat Separator (Vertical Line) */


/* Counter Styling */
.stat-item span {
    display: block;
    font-size: 2rem;
    margin-top: 10px;
    font-weight: bold;
}

/* Optional: Animation for the counters (if needed) */
@keyframes countTo {
    0% {
        content: '0';
    }
    100% {
        content: '100'; /* Example final value, customize */
    }
}


        .flex {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }

        .mini-section {
            flex: 1 1 calc(25% - 20px);
            margin: 10px;
            background-color: #333;
            padding: 20px;
            border-radius: 8px;
        }

        .stats {
            display: flex;
            justify-content: space-around;
            text-align: center;
             margin-top: -70px ;
        }

        .stats div {
            flex: 1;
        }

        .stats span {
            display: block;
            font-size: 36px;
            color: #FFD700;
        }


        #blogs { /* Set background to black */
            padding: 50px 0;
            text-align: center;
            margin: 50px;
            margin-top: -60px;
            
        }
        
        .blog-header {
            position: relative; /* Allow overlaying content */
            background-image: url('images/blogsback.jfif'); /* Replace with your image */
            background-size: cover; /* Cover the entire area */
            background-position: center; /* Center the image */
            text-align: center; /* Center the text */
            padding: 50px 20px; /* Add spacing */
            color: #fff; /* White text color for contrast */
            overflow: hidden; /* Avoid any overflow issues */
            background-color: rgba(0, 0, 0, 0.5); 
        }
        
         .blog-title {
            font-size: 2.5rem;
            margin-bottom: 40px;
            font-weight: bold;
            color: #fff;
            text-align: center;
        }
        
        
        .blog-list {
            display: flex;
            justify-content: space-around;
            gap: 30px;
            margin-top: 20px;
        }
        
        .blog-card {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            background-color: #1a1a1a; /* Dark background */
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            padding: 20px;
            text-align: left;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        
        .blog-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 10px;
            margin-bottom: 15px;
        }
        
        .blog-card h3 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 10px;
        }
        
        .blog-card .blog-date {
            font-size: 1rem;
            color: #007AFF; /* Blue text */
            margin-bottom: 10px;
        }
        
        .blog-card .blog-category {
            font-size: 1rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 10px;
        }
        
        .blog-card .blog-summary {
            font-size: 1rem;
            color: #ccc;
            margin-bottom: 20px;
        }
        
        .blog-card .btn {
            background-color: #007AFF;
            padding: 10px 20px;
            border-radius: 25px;
            color: white;
            text-decoration: none;
            font-weight: 600;
            transition: background-color 0.3s ease;
        }
        
        .blog-card .btn:hover {
            background-color: #0056b3; /* Darker blue on hover */
        }
        
        /* Hover Effect */
        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }
        
        .blog-card:hover .btn {
            background-color: #0056b3; /* Button hover effect */
        }
        
        


        /* Testimonials Section */
.testimonials-container {
    position: relative;
    overflow: hidden;
    flex: 1;
}

.testimonial {
    transition: opacity 1s ease-in-out;
    opacity: 0;
    display: none;
    
}

.testimonial-message {
    font-size: 18px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.testimonial-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.testimonial-name {
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
}

.testimonial-rating i {
    color: #FFD700;
}

/* Skills Section */
.skills-container {
    flex: 1;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.skill-item {
    width: 100%;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.skill-name {
    text-align: left;
}

.skill-percent {
    text-align: right;
}

.skill-bar {
    width: 100%;
    background: #444;
    border-radius: 20px;
    height: 8px;
    position: relative;
    overflow: hidden;
}

.skill-fill {
    background-color: #007AFF;
    height: 100%;
    width: 0%; /* Starts empty, will animate to target width */
    border-radius: 20px;
}



/* Additional Styling */
.testimonials-skills-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: center;
    
}

        
        footer {
            background-color: #111;
            padding: 40px 20px;
            color: #fff;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }

        footer h3 {
            border-bottom: 2px solid #FFD700;
            padding-bottom: 5px;
            margin-bottom: 10px;
        }
        .social-media {
            text-align: left;
            margin: 20px 0;
        }
        
        .social-media h3 {
            font-size: 1.8rem;
            color: white;
            margin-bottom: 15px;
        }
        
        .social-icons {
            display: flex;
            justify-content: left;
            gap: 15px;
        }
        
        .social-icons a {
            font-size: 1.5rem;
            color: white;
            text-decoration: none;
            transition: color 0.3s ease, transform 0.3s ease;
        }
        
        .social-icons a:hover {
            color: #007AFF; /* Change to a highlight color */
            transform: scale(1.2); /* Slight enlargement on hover */
        }
        

        .email-subscription input {
            padding: 10px;
            width: calc(100% - 120px);
            margin-right: 10px;
            border: 1px solid #fff;
            border-radius: 4px;
            background-color: #333;
            color: #fff;
        }

        .email-subscription button {
            padding: 10px;
            border: none;
            background-color: #007AFF;
            color: #fff;
            cursor: pointer;
            border-radius: 4px;
        }
        .footer-bottom {
            background-color: #111;
            padding-top: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            color: #fff;
        }
        
        .footer-bottom ul {
            display: flex;
            gap: 15px;
            margin-top: 10px;
            color: #fff;
        }
        
        .footer-bottom ul li {
            display: inline;
        }
        
        .footer-bottom ul li a {
            font-size: 0.9rem;
            color: #fff;
        }
       
        .quicklinks ul {
            list-style: none; /* Remove default bullet points */
            padding: 0;
            margin: 0;
            display: flex; /* Use flexbox layout */
            flex-wrap: wrap; /* Allow wrapping into multiple rows */
          
        }
        
        .quicklinks ul li {
            flex: 1 1 calc(50% - 20px); /* Make each item take half width */
            margin: 8px 0; /* Add space between each link */
        }
        
        .quicklinks ul li a {
            text-decoration: none; /* Remove underline */
            color: #fff; /* Light steel blue color for links */
            font-size: 1rem; /* Readable font size for links */
            transition: color 0.3s, transform 0.3s; /* Smooth transitions for effects */
        }
        
        .quicklinks ul li a:hover {
            color: #00bfff; /* Brighten link color on hover */
            transform: scale(1.1); /* Slightly enlarge on hover */
        }
        

        /* Responsive Design */
@media (max-width: 868px) {
    .section {
        flex-direction: column; /* Stack items vertically */
        padding: 10px; /* Reduce padding for smaller screens */
    }

.services-container{
    text-align: center;
    flex-direction: column;
}

#about .image-container {
    order: -1; /* Place the image at the top */
}
.image-container{
    width: 100%;
}
    .services-list {
        flex-direction: column; /* Stack services vertically */
        gap: 20px;
    }

    .service-item {
        width: 80%; /* Full width for service items */
        height: auto; /* Adjust height */
        justify-content: center; /* Centers content horizontally within the service item */
    align-items: center; /* Centers content vertically within the service item */
    text-align: center; /* Optional: Centers the text within the service item */
   
    }

    .blog-list {
        flex-direction: column; /* Stack blogs vertically */
        gap: 30px;
        margin-left: 50px;
    }

    .stats {
        flex-direction: row; /* Keep stats in a row */
        gap: 5px; /* Reduce gap between items */
    }

    .stats .stat-item {
        max-width: 100px; /* Reduce stat item size on smaller screens */
        font-size: 0.5rem; /* Further reduce font size */
    }

    .testimonials-skills-container {
        flex-direction: column; /* Stack testimonials and skills */
        gap: 30px;
    }
.skills-container{
width: 90%;
}

    .sub-title {
        font-size: 2rem;
    }

    .blog-card h3 {
        font-size: 1.6rem;
    }

    .blog-card .blog-summary {
        font-size: 0.9rem;
    }

    .blog-list {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        font-size: 28px; /* Adjust logo size */
    }

    .call-to-action h1 {
        font-size: 36px; /* Adjust headline size */
    }

    .call-to-action button {
        font-size: 16px; /* Adjust button size */
    }

    .sub-title, 
    .blog-title {
        font-size: 1.8rem; /* Adjust section titles */
    }

    .skills-list {
        gap: 20px; /* Reduce spacing between skills */
    
    }
   

    .testimonial {
        text-align: center; /* Align testimonials centrally */
    }

    nav .fas {
        display: block;
    }

    nav ul {
        display: none; 
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        background: #007AFF;
        flex-direction: column;
        padding-top: 50px;
        z-index: 10;
        transition: right 0.5s;
    }

    nav ul li {
        margin: 20px;
    }

    nav ul .fas {
        position: absolute;
        top: 20px;
        left: 20px;
    }
    nav ul#menu {
        display: flex; /* Show sliding menu */
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        background: #007AFF;
        flex-direction: column;
        padding-top: 50px;
        z-index: 10;
        transition: right 0.5s;
    }

    nav ul#menu li {
        margin: 20px;
    }

    nav ul#menu .fas {
        position: absolute;
        top: 20px;
        left: 20px;
    }

   

    .call-to-action h1 {
        font-size: 24px; /* Further adjust headline size */
    }

    .testimonial-image {
        width: 60px; /* Smaller testimonial images */
        height: 60px;
    }

    .blog-card {
        width: 100%; /* Full width for blog cards */
    }

    .nav ul {
        flex-direction: column; /* Stack navigation links vertically */
        align-items: center; /* Center-align items */
        gap: 10px; /* Add spacing between links */
    }

    .nav ul li {
        margin: 0; /* Reset margins */
        width: 100%; /* Full width for each nav item */
        text-align: center; /* Center text */
    }

    .nav ul li a {
        display: block; /* Ensure clickable area spans the full width */
        padding: 10px 0; /* Add padding for better touch targets */
        font-size: 16px; /* Consistent font size */
    }

    .contact-us {
        font-size: inherit; /* Match the font size of other links */
        padding: 10px 0; /* Same padding as other links */
    }
}

@media (max-width: 600px) {


    .image-container{
        display: none;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px; /* Position from the bottom */
    right: 20px; /* Position from the right */
    width: 50px;
    height: 50px;
    background-color: #007bff; /* Blue background */
    color: white;
    border-radius: 50%; /* Make it circular */
    text-align: center;
    line-height: 50px; /* Center the arrow vertically */
    font-size: 24px; /* Increase arrow size */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Add a shadow */
    cursor: pointer;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 0; /* Hidden by default */
    visibility: hidden; /* Prevent interaction when hidden */
    transform: scale(0.9); /* Slightly shrink for animation */
}

/* Show the button when scrolling */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1); /* Reset size to normal */
}

/* Hover effect */
.back-to-top:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: scale(1.1); /* Slightly enlarge on hover */
}

