/* ==========================================================================
   TABLE OF CONTENTS
   ==========================================================================
   1.  GENERAL STYLES         - Basic body styles and resets
   2.  KEYFRAMES              - Animations used throughout the site
   3.  UTILITY CLASSES        - Reusable CSS snippets
   4.  TOP NAVIGATION         - Styles for the main navigation bar
   5.  CTA BUTTON             - Styles for call-to-action buttons
   6.  HAMBURGER MENU         - Styles for the mobile menu icon
   7.  FOOTER                 - Styles for the site footer
   8.  RESPONSIVE DESIGN      - Media queries for different screen sizes
   9.  HERO SECTION           - Styles for the main landing section
   10. SERVICES SECTION       - Styles for the services listing
   11. FEATURED PROJECTS      - Styles for the project carousel
   12. TESTIMONIALS           - Styles for customer feedback section
   13. CLIENT LOGOS           - Styles for the client logos display
   14. BLOG TEASER            - Styles for the blog post previews
   15. ABOUT STYLES           - Styles for the about page
   16. BLOG STYLES            - Styles for the blog page
   17. SERVICE PAGE STYLES    - Styles for the service page
   18. CHATBOT STYLES         - Styles for the chatbot
   19. LAZY LOADING STYLES    - Styles for lazy loading images
   20. FOCUS STYLES           - Styles for focus states
   21. ARIA ROLES AND STATES  - Styles for ARIA roles and states
   22. SEARCH BAR STYLES      - Styles for the search bar
   ========================================================================== */

/* ==========================================================================
   1. GENERAL STYLES
   ========================================================================== */
html {
    font-size: 16px; /* Base font size for larger screens */
}

body {
    /* font-family: Arial, sans-serif; */
    font-family: -apple-system, BlinkMacSystemFont, 
                 "Segoe UI", Roboto, "Helvetica Neue", 
                 Arial, sans-serif;
    background: #F0F4FA;
    color: #003c4b;
    width: 100%; /* Changed to 100% for full width */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    transition: background-color 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
    min-height: 100vh;
    font-size: 1rem; /* 16px - Desktop */
}

/* ==========================================================================
   2. KEYFRAMES
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes scaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes subtleRotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(10deg); }
}

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

  /* Background Animation */
  @keyframes backgroundShift {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  /* Slideshow Styles fade animation */
  @keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

@keyframes textPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* ==========================================================================
   3. UTILITY CLASSES
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 1rem; /* Adjusted padding for better responsiveness */
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.2, 0, 0, 1), transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ Section Styles */
.faq-section {
    padding: 3rem 0;
    background-color: #f9faff;
}

.faq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-top: 0.5rem;
}

.faq-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-column {
    flex: 1 1 45%;
    max-width: 45%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #e6e9ff;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    outline: none;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: #07677f;
    line-height: 1.4;
}

.faq-answer ul {
    padding-left: 1.2rem;
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .faq-grid {
        flex-direction: column;
    }
    .faq-column {
        max-width: 100%;
    }
}

/* ==========================================================================
   4. TOP NAVIGATION
   ========================================================================== */
.top-nav-wrapper {
    position: fixed; /* Changed from sticky to fixed */
    top: 0;
    left: 0; /* Ensure it stretches across the screen */
    width: 100%; /* Ensure it stretches across the screen */
    z-index: 1000;
    background-color:#ffffff;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-nav {
    padding: 1rem; /* Adjusted padding for responsiveness */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative; /*  for positioning */
    animation: fadeInUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.2s;
    opacity: 0;
    border-bottom: 1px solid #b5b5b5; /* Add the divider */
    margin-left: auto;
    margin-right: auto;

}

.top-nav-wrapper.fixed {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* .logo a {
    font-size: 1.75rem; 
    font-weight: 700;
    color: #6200ee;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

.logo a:hover {
    color: #3700b3;
    transform: scale(1.03);
} */

/* start  */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo a img {
    max-width: 150px; /* Default size */
    height: 35px;
    transition: transform 0.3s ease;
}

.logo a img:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo a img {
        max-width: 120px; /* Reduce logo size on tablets */
        height: 30px;
    }
}

@media (max-width: 480px) {
    .logo a img {
        max-width: 100px; /* Smaller size for mobile screens */
        max-height: 20.5px;
        
    }
}

/* end */

.menu-items {
    display: flex;
    gap: 1rem; /* Adjusted gap for smaller screens */
    transform: translateY(15px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1), opacity 0.4s cubic-bezier(0.2, 0, 0, 1);
}

.menu-items.animate-menu-items {
    transform: translateY(0);
    opacity: 1;
}

.menu-items.animate-menu-items a:nth-child(n) {
    transition-delay: calc(0.1s * n); /*  n for dynamic calculation */
}

.menu-items a {
    color: #424242;
    text-decoration: none;
    padding: 0.5rem 1rem; /* Adjusted padding for smaller screens */
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    font-size: 14px;
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease, background-color 0.3s ease;
}

.menu-items a:hover {
    animation: subtleRotate 0.4s ease forwards;
    color: #ffffff;/* menu button text animation color*/
}

.menu-items a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #07677f;/*menu button animation background color*/
    border-radius: 24px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: var(--origin-x, center); /* Use custom property */
    transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1);
}

.menu-items a:hover::before,
.menu-items a:focus::before {
    transform: scaleX(1);
}

.menu-items a.active {
    background-color: #07677f;/*menu active button color*/
    color: #ffffff;/*menu active button text color*/
}

/* ==========================================================================
   5. CTA BUTTON
   ========================================================================== */
.cta-button {
    background-color: #07677f;
    color: #fff;
    padding: 0.6rem 1.2rem; /* Adjusted padding for responsiveness */
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-size: 1rem; /* Adjusted font size for smaller screens */
    font-weight: 500;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.4s cubic-bezier(0.2, 0, 0, 1), opacity 0.4s cubic-bezier(0.2, 0, 0, 1);
    transform: scale(0.95);
    opacity: 0;
    text-decoration: none;/*text decoration*/
    display: block;
    width: fit-content;
    text-align: center;

   /* margin-top: 1rem;
    width: auto; */
    animation: scaleUp 0.6s ease-out forwards;
        text-decoration: none;
        /* transition: background-color 0.3s ease, transform 0.3s ease; */
    }



.cta-button.animate-cta-button {
    transform: scale(1);
    opacity: 1;
        margin-top: 2rem;
}



.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgb(255 255 255) 0%, rgb(255 255 255) 70%);
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.5s ease;
}

.cta-button:hover::before {
    /*color: #07677f;*/ /* Text color on hover */
    opacity: 1;
    transform: scale(1.5);
}

.cta-button:hover {
    background-color: #3700b3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    color:#07677f;/* Text color on hover */
    text-decoration:none;/* Text decoration on hover */
}

.cta-button:active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

/* ==========================================================================
   6. HAMBURGER MENU
   ========================================================================== */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 1.9rem;
    padding: 0;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1), opacity 0.4s cubic-bezier(0.2, 0, 0, 1);

    left: auto;
    right: 11px;
}

.hamburger-menu.animate-hamburger-menu {
    transform: scale(1);
    opacity: 1;
    position: absolute;

 
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #424242;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1), opacity 0.3s;
    border-radius: 4px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
footer {
    background-color: #ffffff;
    /* color: #000000; */
    padding: 2rem 0; /* Adjusted padding for responsiveness */
    font-size: 14px;
    line-height: 1.6;
    text-align: left; /* Center align text by default */
    border-top: 1px solid #b5b5b5;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Distribute sections evenly */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem; /* Adjusted padding for responsiveness */
}

.footer-section {
    width: 100%; /* Full width on smaller screens */
    margin-bottom: 1rem; /* Adjusted margin for smaller screens */
    text-align: center; /* Center align text on smaller screens */
}


.footer-heading {
    font-size: 1.1em; /* Adjusted font size for responsiveness */
    font-weight: bold;
    margin-bottom: 1rem; /* Adjusted margin for responsiveness */
    color: #07677f;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /*text-align: center;*/ /* Center the heading */
}

/* .contact-info p { */
    /* margin-bottom: 0.5rem; Adjusted margin for responsiveness */
    /* text-align: justify; Justify the text */
/* } */

.contact-info a {
    color: #3f484c; /* Make email and phone text white */
    text-decoration: none; /* Remove underline */
}

.contact-info i {
    color: #3f484c; /* A subtle accent color for icons */
    margin-right: 5px;
}

.social-media a {
    display: inline-block;
    margin: 0 0.5rem 0.5rem 0; /* Adjusted margin for responsiveness */
    font-size: 1.2em; /* Adjusted font size for responsiveness */
    color: #3f484c;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #07677f; /* Hover color */
}

.quick-links ul {
    list-style: none;
    padding: 0;
}

.quick-links li {
    margin-bottom: 0.5rem; /* Adjusted margin for responsiveness */
}

.quick-links a {
    color: #3f484c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: #fff;
}

.newsletter input[type="email"] {
    width: 100%;
    padding: 0.5rem; /* Adjusted padding for responsiveness */
    margin-bottom: 0.5rem; /* Adjusted margin for responsiveness */
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #f5fafd; /* Darker input background */
    color: #383838;
}

.newsletter button {
    background-color: #07677f; /* Accent color for button */
    color: #ffffff; /* Dark text for button */
    border: none;
    padding: 0.5rem 1rem; /* Adjusted padding for responsiveness */
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    text-transform: uppercase; /* Optional: Makes button text uppercase */
}

.newsletter button:hover {
    background-color: #ffffff; /* Lighter accent color on hover */
    color: #07677f;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* transform: translateY(-2px); */
    color:#07677f;/* Text color on hover */
    text-decoration:none;/* Text decoration on hover */
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem; /* Adjusted padding for responsiveness */
    border-top: 1px solid #37464e26;
    margin-top: 1rem; /* Adjusted margin for responsiveness */
    color: #777;
    font-size: 0.9em;
}


/* Dark Mode Toggle (adjust colors as needed) */
.dark-mode-toggle {
    text-align: center;
    margin-top: 1rem; /* Adjusted margin for responsiveness */
}

.dark-mode-toggle button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem; /* Adjusted padding for responsiveness */
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dark-mode-toggle button:hover {
    background-color: #555;
}

  /* Responsive adjustments for footer sections */
@media (min-width: 768px) {
    .footer-section {
        width: 45%;
         text-align: left; /* Align text to the left within sections */
    }
}

  @media (min-width: 769px) { /* Adjust the breakpoint as needed */
    .footer-bottom {
      justify-content: center; /* Distribute space evenly */
    }
    
  }

/* ==========================================================================
   8. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
    html {
        font-size: 14px; /* Base font size for smaller screens */
    }

    body {
        font-size: 0.875rem; /* 14px - Mobile */
    }

    .container {
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
    }

    .menu-items {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        background-color: #fff;
        padding: 1.5rem 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        transform: translateY(-15px);
        opacity: 0;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .menu-items.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    .hamburger-menu {
        display: flex;
        animation: scaleUp 0.6s ease-out forwards;
    }

    .top-nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 0;
    }

    /* .logo {
        margin-bottom: 1rem;
        width: 100%;
        text-align: center;
        

    }

    .logo a {
        font-size: 1.5rem; 
    } */

    /* logo styling */
.logo {
    /* margin-bottom: 1rem; */
    width: 100%;
    text-align: center;
}

.logo a {
    display: inline-block;
}

/* #site-logo {
    max-height: 50px; 
    vertical-align: middle;
} */

#site-logo {
    display: block;
    width: 100%;
    height: 100%;
    /* object-fit: contain; */
    object-fit: cover;
    margin: 0;
    max-width: 50px;
    max-height: 50px;
}

#site-logo:hover {
    opacity: 0.8; /* Optional hover effect */
}

/* Responsive logo sizing */
@media (min-width: 768px) {
    #site-logo {
        max-height: 70px; /* Adjust for larger screens */
    }
}
@media  (min-width: 992px) {
    #site-logo {
        max-height: 80px; /* Adjust for larger screens */
    }
    
}
.a {
    display: flex
;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
}


    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content div {
        text-align: center;
    }
      
    /* Newsletter adjustments */
    .newsletter form {
        flex-direction: column;
        box-sizing: border-box;
    }

    .newsletter input[type="email"] {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .newsletter button {
        width: 80%;
    }

    
.newsletter-email{
    box-sizing: border-box;
}

    /* Remove staggering on mobile */
    .footer-content div:nth-child(n) {
        animation-delay: 0s;
    }
    .hero-content{
        padding: 1rem;
    }

}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-items {
        gap: 1rem;
    }

    .menu-items a {
        padding: 0.5rem 1rem;
    }
    .hero-content{
        padding: 2rem;
    }
}

/* ==========================================================================
   9. HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mySlides {
    display: block;
    width: 100%;
    height: 100%;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: #4a4a4a;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #f0f0f0; /* Changed text color for better visibility on slideshow */
    max-width: 800px;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}

.hero-content.container .hero-cta {
   /* background-color: #ffffff;*/ /* Changed button background to white */
    /*color: #2560ff;*/ /* Changed button text color */
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    border: 2px solid #ffffff1f;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.hero-content.container .hero-cta:hover {
    background-color: #2560ff;
    color: #07677f;
    box-shadow: 0 0 15px rgb(7, 102, 126);
}

.hero-headline {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff; /* White color for better visibility */
}

.hero-headline2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff; /* White color for better visibility */
}

.hero-subheadline {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #f0f0f0; /* Lighter gray for better contrast */
}

.hero-cta {
    margin-top: 1rem;
    display: inline-block;
    background-color: #2560ff;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.hero-cta:hover {
    background-color: #3700b3;
    transform: scale(1.05);
}

/* .hero-headline, */
.section-title,
.service-title {
    font-family: "Inter", "SF Pro Display", 
                 "Helvetica Now", sans-serif;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero {
        height: 50vh;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subheadline {
        font-size: 1rem;
    }

    .hero-headline2 {
    font-size: 1.5rem;
}
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-choose-us {
    padding: 4rem 0;
    background-color: #ffffff;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 2rem;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #07677f;
    margin-bottom: 1rem;
}

.feature-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   10. SERVICES SECTION
   ========================================================================== */
.services-snapshot {
    padding: 3rem 0; /* Adjusted padding for responsiveness */
    background-color: #f5f5f5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjusted minmax for responsiveness */
    gap: 1.5rem; /* Adjusted gap for responsiveness */
    margin-top: 1rem; /* Adjusted margin for responsiveness */
  
        /* gap: 1rem; */
        /* grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); */
        width: 100%;
        max-width: 100%;
        overflow-x: auto; 
            /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
        
}

.service-item {
    text-align: center;
    padding: 1.5rem; /* Adjusted padding for responsiveness */
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem; /* Adjusted font size for responsiveness */
    color: #002331;
    margin-bottom: 1rem; /* Adjusted margin for responsiveness */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.service-title {
    font-size: 1.3rem; /* Adjusted font size for responsiveness */
    /* font-size: calc(3.6vw + 10px); */
    font-weight: 600;
    margin-bottom: 0.5rem; /* Adjusted margin for responsiveness */
    color: #07677f;
}

.service-description {
    color: #616161;
    margin-bottom: 1rem; /* Adjusted margin for responsiveness */
    line-height: 1.5;
}

.service-cta {
    text-align: center;
    margin-top: 1rem; /* Adjusted margin for responsiveness */
}

.service-cta .cta-button {
    display: inline-block;
    padding: 0.5rem 1rem; /* Adjusted padding for responsiveness */
    background-color: #07677f;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.service-cta .cta-button:hover {
    background-color: #ffffff;
    color: #07677f;
}

@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjusted minmax for responsiveness */
    }
    .service-item {
        padding: 1rem; /* Adjusted padding for responsiveness */
    }
    .service-icon {
        font-size: 2rem; /* Adjusted font size for responsiveness */
    }
    .service-title {
        font-size: 1.1rem; /* Adjusted font size for responsiveness */
        /* font-size: calc(2.2vw + 10px); */
    }
    .service-description {
        font-size: 0.9rem; /* Adjusted font size for responsiveness */
    }
    .service-cta .cta-button {
        font-size: 0.85rem;
        /*padding: 0.4rem 0.8rem;*/ /* Adjusted padding for responsiveness */
    }

    .services-snapshot {
        padding: 20px 10px;
    }
    
}

/* ----- Service Link Styles ----- */
.service-link {
    color: #6200ee;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    padding: 0.5rem 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* ----- Service Link Hover Styles ----- */
.service-link:hover {
    text-decoration: underline;
    /* transform: translateY(-5px); */
}

/* ==========================================================================
   11. FEATURED PROJECTS
   ========================================================================== */
.featured-projects {
    padding: 3rem 0; /* Adjusted padding for responsiveness */
    text-align: center;
}

.projects-carousel {
    display: flex;
    overflow-x: auto;
    gap: 1rem; /* Adjusted gap for responsiveness */
    transition: transform 0.5s ease-out;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem; /* Adjusted padding for responsiveness */
}

.project-item {
    flex: 0 0 auto;
    width: 100%; /* Adjusted width for responsiveness */
    max-width: 300px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    scroll-snap-align: start;
}

.project-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: auto;
    display: block;
}

.project-title {
    font-size: 1.1rem; /* Adjusted font size for responsiveness */
    font-weight: 600;
    margin: 1rem; /* Adjusted margin for responsiveness */
    color: #424242;
}

.project-excerpt {
    margin: 1rem; /* Adjusted margin for responsiveness */
    color: #616161;
    line-height: 1.4;
}

/* ----- Project Link Styles ----- */
.project-link {
    display: inline-block;
    margin: 1rem; /* Adjusted margin for responsiveness */
    color: #6200ee;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* ----- Project Link Hover Styles ----- */
.project-link:hover {
    text-decoration: underline;
    transform: translateY(-5px);
}

.carousel-controls {
    text-align: center;
    margin-top: 1rem; /* Adjusted margin for responsiveness */
    display: flex;
    justify-content: center;
}

.carousel-controls button {
    background: none;
    border: none;
    font-size: 1.5rem; /* Adjusted font size for responsiveness */
    color: #6200ee;
    cursor: pointer;
    margin: 0 0.5rem; /* Adjusted margin for responsiveness */
    padding: 0;
    transition: color 0.3s, transform 0.3s;
}

.carousel-controls button:hover {
    color: #3700b3;
    transform: scale(1.2);
}

/* ==========================================================================
   12. TESTIMONIALS
   ========================================================================== */
.testimonials-section {
    padding: 3rem 0;
    /* background: linear-gradient(135deg, #e0f7fa, #80deea, #26c6da); */
    background: #f0f4fa;
    background-size: 300% 300%;
    animation: backgroundShift 10s ease infinite;
    position: relative;
    overflow: visible;
  }
  
  /* Container for Centering Content */
  .testimonials-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* Section Title */
  .testimonials-section .section-title {
    text-align: center;
    /* font-size: 2rem; */
    color: #333;
    margin-bottom: 2rem;
  }
  
  /* Horizontal Carousel with Custom Scrollbar */
  .testimonials-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    position: relative;
  }
  
  /* Custom Scrollbar Styling */
  .testimonials-carousel::-webkit-scrollbar {
    height: 8px;
  }
  .testimonials-carousel::-webkit-scrollbar-track {
    background: transparent;
  }
  .testimonials-carousel::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }
  
  /* Testimonial Card */
  .testimonial-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 0 0 300px;
    padding: 2rem;
    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: visible;
  }
  
  .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 10; /* Bring hovered card to the front */
  }
  
  /* Testimonial Header with Circular Profile Image */
  .testimonial-header {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .testimonial-profile {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2196F3;
  }
  
  /* Testimonial Content */
  .testimonial-content {
    text-align: center;
  }
  
  .testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.5;
  }
  
  .testimonial-author {
    font-weight: 600;
    color: #424242;
    margin-bottom: 1rem;
  }
  
  /* Star Rating */
  .testimonial-rating i {
    color: #FFD700; /* Gold */
    margin: 0 2px;
  }
  
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .testimonial-card {
      flex: 0 0 250px;
      padding: 1.5rem;
    }
  }
  
  @media (max-width: 480px) {
    .testimonial-card {
      flex: 0 0 200px;
      padding: 1rem;
    }
    .testimonials-section .section-title {
      /* font-size: 1.5rem; */
    }
  }

/* ==========================================================================
   13. CLIENT LOGOS
   ========================================================================== */
.client-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem; /* Adjusted gap for responsiveness */
    margin-top: 1.5rem; /* Adjusted margin for responsiveness */
}

.client-logo {
    max-width: 100px; /* Adjusted max-width for responsiveness */
    height: auto;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: opacity 0.3s, filter 0.3s;
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ==========================================================================
   14. BLOG TEASER
   ========================================================================== */
.blog-teaser {
    padding: 3rem 0; /* Adjusted padding for responsiveness */
    text-align: center;
}

.blog-posts-teaser {
    gap: 1.5rem; /* Adjusted gap for responsiveness */
    margin-top: 1.5rem; /* Adjusted margin for responsiveness */
    display: flex;
    flex-direction: row; 
    overflow-x: auto; 
    white-space: wrap; 
    min-width: 0px; 
    width: 100%;
    padding: 5px;
}

.blog-post {
    min-width: 300px; /* Adjusted min-width for responsiveness */
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.blog-post-image {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-title {
    font-size: 1.1rem; /* Adjusted font size for responsiveness */
    font-weight: 600;
    line-height: normal;
    margin: 1rem; /* Adjusted margin for responsiveness */
    color: #07677f;
}

.blog-post-excerpt {
    margin: 1rem; /* Adjusted margin for responsiveness */
    color: #616161;
    line-height: 1.5;
}

.blog-post-link {
    display: inline-block;
    margin: 1rem; /* Adjusted margin for responsiveness */
    color: #6200ee;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.blog-post-link:hover {
    text-decoration: underline;
    transform: translateX(5px);
}

/* ==========================================================================
   8. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {

    .hero {
        flex-direction: column;
                margin-top: 1rem;

    }
    .hero-visual{
        order: -1; /*  Image above text */
    }
    .carousel-controls button{
        font-size: 1.5rem;
    }
    .hero-visual {
        width: 100%; /* Make image responsive */
    }
}

/*  Consistent Transition Timing  */
body, .top-nav, .menu-items a, .cta-button, .hamburger-menu,  .social-media a, .newsletter input, .newsletter button, .quick-links a,  .dark-mode-toggle button, .service-item, .project-item, .testimonial-item, .blog-post {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------------
   Project Filters
   ---------------------------------------------- */
.project-filters {
    margin-bottom: 1rem; /* Adjusted margin for responsiveness */
    text-align: center;   
    display: flex;
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        box-sizing: border-box;
}
.filter-button {
    background: #f0f0f0;
    border: none;
    padding: 0.5rem 1rem; /* Adjusted padding for responsiveness */
    margin: 0.25rem; /* Adjusted margin for responsiveness */
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1rem;
}
.filter-button:hover,
.filter-button.active {
    background: #07677f;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    color:#fff;/* Text color on hover */
    text-decoration:none;/* Text decoration on hover */
}
/* ----------------------------------------------
   Projects Grid / Gallery
   ---------------------------------------------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjusted minmax for responsiveness */
    gap: 1rem; /* Adjusted gap for responsiveness */
}
.project-item {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: #fff;
    transition: transform 0.3s ease;
}
.project-item:hover {
    transform: translateY(-5px);
}
.project-image {
    width: 100%;
    display: block;
}
.project-details {
    padding: 1rem; /* Adjusted padding for responsiveness */
}
.project-details h3 {
    margin: 0 0 0.5rem; /* Adjusted margin for responsiveness */
    font-size: 1.3rem; /* Adjusted font size for responsiveness */
}
.project-details p {
    font-size: 0.85rem; /* Adjusted font size for responsiveness */
    margin: 0 0 0.5rem; /* Adjusted margin for responsiveness */
    opacity: 0;
    transition: opacity 0.3s ease;
}
/* Hover effect to reveal brief description */
.project-item:hover .project-details p {
    opacity: 1;
}
.project-link {
    display: inline-block;
    margin-top: 0.5rem; /* Adjusted margin for responsiveness */
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.project-link:hover {
    text-decoration: underline;
}
/* ----------------------------------------------
   CTA Section
   ---------------------------------------------- */
.cta {
    text-align: center;
    padding: 2rem 0; /* Adjusted padding for responsiveness */
}

.cta-button:hover {
    background-color: #3700b3;
    transform: translateY(-2px);
}

/*=============================================
    15. ABOUT STYLES
    ============================================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    box-sizing: border-box;
    padding: 1rem; /* Adjusted padding for responsiveness */
}

.section-header {
    /*font-size: 1.5rem;*/ /* Adjusted font size for responsiveness */
    /*margin-top: 5rem;*/ /* Adjusted margin for responsiveness */
    text-align: center;
    margin-bottom: 1.5rem; /* Adjusted margin for responsiveness */
}

.section-title{
    text-align: center;
}


.timeline {
    margin: 1.5rem 0; /* Adjusted margin for responsiveness */
    border-left: 2px solid #ddd;
    padding-left: 1rem; /* Adjusted padding for responsiveness */
}

.timeline-item {
    margin-left: 1rem; /* Adjusted margin for responsiveness */
    margin-bottom: 1rem; /* Adjusted margin for responsiveness */
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -20px; /* Adjusted position for responsiveness */
    top: 0;
    width: 15px; /* Adjusted width for responsiveness */
    height: 15px; /* Adjusted height for responsiveness */
    background: #2560ff;
    border-radius: 40%;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjusted minmax for responsiveness */
    gap: 1rem; /* Adjusted gap for responsiveness */
}

.team-member {
    text-align: center;
    padding: 0.75rem; /* Adjusted padding for responsiveness */
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 100%;
    max-width: 100px; /* Adjusted max-width for responsiveness */
    border-radius: 50%;
    margin-bottom: 0.75rem; /* Adjusted margin for responsiveness */
}

.awards-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem; /* Adjusted gap for responsiveness */
}

.award-item {
    text-align: center;
    border: 1px solid #ddd;
    padding: 0.75rem; /* Adjusted padding for responsiveness */
    border-radius: 8px;
    background: #fff;
    width: 120px; /* Adjusted width for responsiveness */
}

.award-item img {
    width: 40px; /* Adjusted width for responsiveness */
    margin-bottom: 0.5rem; /* Adjusted margin for responsiveness */
}

.cta {
    text-align: center;
    margin: 2rem 0; /* Adjusted margin for responsiveness */
    padding: 1rem; /* Adjusted padding for responsiveness */
    /* background: #f5f5f5; */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.cta a {
    background-color: #07677f;
    color: #fff;
    padding: 0.6rem 1.2rem; /* Adjusted padding for responsiveness */
    border-radius: 24px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta a:hover {
    background-color: #ffffff;
    color: #07677f;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    color:#07677f;/* Text color on hover */
    text-decoration:none;/* Text decoration on hover */
    
}

.contact-container {
    width: 90%;
    max-width: 1200px;
    margin:20px auto;
    margin-top: 0;
    padding: 1rem; /* Adjusted padding for responsiveness */
}

.contact-form {
    margin-bottom: 4.5rem; /* Adjusted margin for responsiveness */
    margin-top: 4.5rem;
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h1 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #202124;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: left;
}

.contact-form h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #202124;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Hero section styles */
.hero {
    padding: 3rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #202124;
    margin-top: 0;
    margin-bottom: 1rem;
}

.hero2 {
    padding: 3rem 0;
    text-align: center;
}

.hero2 h2 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #202124;
    margin-top: 0;
    margin-bottom: 1rem;
}
.hero-subheadline {
    font-size: 1.125rem;
    font-weight: 400;
    color: #3c4043;
    max-width: 1000px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
    text-align: justify;
}

.hero-slideshow.subheadline {
    font-size: 1.125rem;
    font-weight: 400;
    color: #ffffff;
    max-width: 1000px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
    text-align: justify;
}
/* Contact Information Section */
.contact-info-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
    text-align: center;
}

.contact-info-section .section-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #202124;
    margin-bottom: 2rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    /* max-width: 900px; */
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-info-item {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.1), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    transition: box-shadow 0.3s ease;
}

.contact-info-item:hover {
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 1px 5px 2px rgba(60, 64, 67, 0.15);
}

.contact-info-item h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #202124;
    margin-top: 0;
    margin-bottom: 1rem;
}

.contact-info-item h3 i {
    margin-right: 0.5rem;
    color: #5f6368;
}

.contact-info-item p {
    font-size: 1rem;
    color: #3c4043;
    margin: 0;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4285f4;
    outline: none;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.calendly-inline-widget {
    height: 300px; /* Adjusted height for responsiveness */
}

.location-map {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 300px; /* Adjusted height for responsiveness */
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.collaboration-cta {
    text-align: center;
    margin-top: 2rem; /* Adjusted margin for responsiveness */
}

.collaboration-cta a {
    background-color: #07677f;
    color: #fff;
    padding: 0.75rem 1.5rem; /* Adjusted padding for responsiveness */
    border-radius: 24px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
}

.collaboration-cta a:hover {
    background-color: #3700b3;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-methods {
    display: flex;
    flex-direction: row;
    align-items: normal;
    justify-content: space-around;
    /* margin-bottom: 1.5rem;*/ /*Adjusted margin for responsiveness */
    background: #f5f5f5;
}

.contact-methods div {
    display: inline-grid;
    text-align: center;
    justify-items: center;
    align-content: space-between;
    margin: 1.5rem; /* Adjusted margin for responsiveness */
}

.contact-methods a {
    display: inline-block;
    padding: 0.5rem 1rem; /* Adjusted padding for responsiveness */
    background-color: #07677f;
    border-radius: 5px;
    text-decoration: none;
    color: #ffffff;
    transition: background-color 0.3s;
}

.contact-methods a:hover {
    background-color: #ddd;
}

@media screen and (max-width: 768px) {
    .cta a {
        font-size: 0.85rem;
        padding: 0.5rem 1rem; 
    }

    .form-group input, 
    .form-group select, 
    .form-group textarea {
       font-size: 0.75rem;
    }
    .contact-form h1 {
    font-size: 22px;
    line-height: 1.235;
}

.contact-form h2 {
    font-size: 1.25rem;
    line-height: 1.235;
}

.hero-subheadline {
    font-size: 16px;
    line-height: 1.235;
}

}

/* =================================================================
    16. BLOG STYLES
    ================================================================= */
.blog-container {
    width: 90%;
    max-width: 1200px;
    margin: 1.5rem auto; /* Adjusted margin for responsiveness */
    margin-top: 0rem;
    padding: 1rem; /* Adjusted padding for responsiveness */
}

.blog-header {
    margin-top: 3rem; /* Adjusted margin for responsiveness */
    text-align: center;
    margin-bottom: 1.5rem; /* Adjusted margin for responsiveness */
}

.blog-header h1 {
    font-size: 2rem; /* Adjusted font size for responsiveness */
    margin-bottom: 0.5rem; /* Adjusted margin for responsiveness */
}

.blog-header p {
    font-size: 1rem; /* Adjusted font size for responsiveness */
    color: #666;
}

.article-listings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjusted minmax for responsiveness */
    gap: 1rem; /* Adjusted gap for responsiveness */
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem; /* Adjusted padding for responsiveness */
    
}

.blog-post {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    padding: 1rem; /* Adjusted padding for responsiveness */
}

.post-title {
    margin: 0 0 0.5rem; /* Adjusted margin for responsiveness */
    font-size: 1.3rem; /* Adjusted font size for responsiveness */
}

.post-snippet {
    font-size: 0.85rem; /* Adjusted font size for responsiveness */
    color: #666;
    margin-bottom: 0.5rem; /* Adjusted margin for responsiveness */
}

.post-date {
    font-size: 0.7rem; /* Adjusted font size for responsiveness */
    color: #888;
}

.search-filter {
    margin-bottom: 1.5rem; /* Adjusted margin for responsiveness */
    text-align: center;
}

.search-filter input[type="text"] {
    padding: 0.5rem; /* Adjusted padding for responsiveness */
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
}

.subscription-option {
    text-align: center;
    margin-top: 2rem; /* Adjusted margin for responsiveness */
    padding: 1rem; /* Adjusted padding for responsiveness */
    background: #f5f5f5;
    border-radius: 8px;
}

.subscription-option h3 {
    margin-bottom: 0.5rem; /* Adjusted margin for responsiveness */
}

.subscription-option input[type="email"] {
    padding: 0.5rem; /* Adjusted padding for responsiveness */
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
    margin-bottom: 0.5rem; /* Adjusted margin for responsiveness */
}

.subscription-option button {
    background-color: #2560ff;
    color: #fff;
    padding: 0.5rem 1rem; /* Adjusted padding for responsiveness */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscription-option button:hover {
    background-color: #3700b3;
}

/* Add or modify these styles in your style.css */
.sticky-cta {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9); /* Adjust transparency as needed */
    padding: 0.5rem 0; /* Adjusted padding for responsiveness */
    text-align: center;
    z-index: 100; /* Ensure it stays on top */
}

.animated-stats {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: 2rem 0;
}

.animated-stats .stat-card {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animated-stats .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.animated-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: #07677f;
    margin: 0;
}

.animated-stats .stat-label {
    font-size: 1rem;
    color: #555;
    margin: 0.5rem 0 0;
}

@media (min-width: 768px){
    .animated-stats {
        flex-direction: row;
        gap: 2rem;
    }
    
    .animated-stats .stat-card {
        margin-bottom: 0;
        flex: 1;
    }
}

.intro-description {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.intro {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjusted minmax for responsiveness */
    gap: 1rem; /* Adjusted gap for responsiveness */
    margin-top: 1.5rem; /* Adjusted margin for responsiveness */
    justify-content: center;
    /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
   /* gap: 1.5rem;*/ /* Adjusted gap for responsiveness */
}

.usp-item {
    padding: 1rem; /* Adjusted padding for responsiveness */
    border: 1px solid #dcd8d8;
    border-radius: 8px;
    text-align: center;
    background: #ffffff
}

/* Additional inline styles for homepage sections (move to style.css for production) */
.hero {
    position: relative;
    width: 100%;
    height: fit-content;
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-top: 0.5rem;

}


.hero-content {
    max-width: fit-content;
    z-index: 2;
}

/* .hero-headline {
    font-size: unset;
    margin-bottom: 0.5rem; */ /* Adjusted margin for responsiveness */
/*} */



.hero-cta {
    background-color: #2560ff;
    color: #fff;
    padding: 0.75rem 1.5rem; /* Adjusted padding for responsiveness */
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.hero-cta:hover {
    background-color: #3700b3;
    transform: scale(1.05);
}

.hero-visual {
    width: 100%;
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-visual img {
    width: 100%;
    height: auto;
    /* For slider/video integration, replace this image with the embed code */
}


.service-item {
    text-align: center;
    padding: 1rem; /* Adjusted padding for responsiveness */
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s;
}

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

.service-icon {
    font-size: 1.5rem; /* Adjusted font size for responsiveness */
    margin-bottom: 0.5rem; /* Adjusted margin for responsiveness */
}

.service-cta {
    text-align: center;
    margin-top: 1rem; /* Adjusted margin for responsiveness */
}

.featured-projects {
    padding: 3rem 0; /* Adjusted padding for responsiveness */
    text-align: center;
    background: #f5f5f5;
}

.projects-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem; /* Adjusted padding for responsiveness */
}

.project-item {
    flex: 0 0 80%; /* Adjust as needed */
    max-width: 300px;
    margin-right: 1rem; /* Adjusted margin for responsiveness */
    border: 1px solid #ddd;
    border-radius: 8px;
    scroll-snap-align: start;
}

.project-item img {
    width: 100%;
    height: 12rem;
    border-bottom: 1px solid #ddd;
}

.project-item h3,
.project-item p {
    /*padding: 0.5rem;*/ /* Adjusted padding for responsiveness */
    text-align: left;
}

.project-link {
    display: inline-block;
    padding: 0.5rem 1rem; /* Adjusted padding for responsiveness */
    background-color: #07677f;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin: 0.5rem; /* Adjusted margin for responsiveness */
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 1rem; /* Adjusted margin for responsiveness */
}

.carousel-controls button {
    background: none;
    border: none;
    font-size: 1.2rem; /* Adjusted font size for responsiveness */
    margin: 0 0.5rem; /* Adjusted margin for responsiveness */
    cursor: pointer;
}

.testimonials {
    padding: 3rem 0; /* Adjusted padding for responsiveness */
    background-color: #f9f9f9;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; /* Adjusted gap for responsiveness */
    margin-top: 1.5rem; /* Adjusted margin for responsiveness */
}

.testimonial-item {
    padding: 1rem; /* Adjusted padding for responsiveness */
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: left;
}

.client-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem; /* Adjusted gap for responsiveness */
    margin-top: 1.5rem; /* Adjusted margin for responsiveness */
}

.client-logos img {
    max-width: 100px;
    height: auto;
    opacity: 0.7;
}

.blog-teaser {
    padding: 3rem 0; /* Adjusted padding for responsiveness */
    text-align: center;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; /* Adjusted gap for responsiveness */
    margin-top: 1.5rem; /* Adjusted margin for responsiveness */
}

.blog-post {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.blog-post img {
    width: 100%;
    height: 10rem;
}

.blog-post h3,
.blog-post p {
    /*padding: 0.5rem;*/ /* Adjusted padding for responsiveness */
    text-align: left;
}

.blog-post-link {
    font-size: 0.85rem; /* Adjusted font size for responsiveness */
    display: inline-block;
    padding: 0.5rem 1rem; /* Adjusted padding for responsiveness */
    /* background-color: #07677f; */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin: 0.5rem; /* Adjusted margin for responsiveness */
}

.reveal {
    opacity: 0;
    transform: translateY(0px);
    /* transition: all 1s ease; */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0px);
}
@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column;
        height: 20rem;

    }
    .hero-visual {
        order: -1;
    }
    .hero-visual img {
        width: 100%;
    }
    .carousel-controls button {
        font-size: 1.5rem;
    }
    .hero-content {
        text-align: center;
    }
    .hero-cta {
        margin-top: 1rem;
        font-size: 0.85;
    }
    .service-item {
        width: 100%;
    }
    .service-icon {
        font-size: 1.5rem;
    }
    .service-cta {
        margin-top: 1rem;
    }
    .featured-projects {
        padding: 2rem 0;
    }
    .projects-carousel {
        gap: 1rem;
    }
    .project-item {
        flex: 0 0 80%;
        max-width: 300px;
        min-width: 300px;
        margin-right: 0;
    }
    .project-item img {
        height: 12rem;
    }
    .project-item h3,
    .project-item p {
        padding: 0.5rem;
    }
    .testimonials-grid {
        gap: 1rem;
    }
    .testimonial-item {
        padding: 1rem;
    }
    .client-logos {
        gap: 1rem;
    }
    .client-logos img {
        max-width: 80px;
    }

    .blog-posts-teaser{
        /* height: 22rem; */
    }
    .blog-posts {
        gap: 1rem;
    }
    .blog-post img {
        height: 12rem;
    }
    .blog-post h3{
        font-size: 1.0rem;
    }
    .blog-post p {
        /* padding: 0.5rem; */
        /* font-size: 15px; */
    }
    .blog-post-link {
        padding: 0.5rem 1rem;
        margin: 0.5rem;
        font-size: 10px;
    }
    .project-link {
        font-size: 0.85rem;
    }
}


      
/* Horizontal scrollable filter tab */
.filter-tabs {
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.5rem 0;
  background: #f9f9f9;
  margin-bottom: 1rem;
}
.filter-tabs .filter-btn {
  display: inline-block;
  background: #eee;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}
.filter-tabs .filter-btn:hover {
  background: #ddd;
}
.filter-tabs .filter-btn.active {
  background: #2560ff;
  color: white;
  border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

/* Latest posts section styling */
.latest-posts {
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.latest-posts h2 {
  text-align: left;
  /* font-size: 1.8rem; */
  margin-bottom: 1rem;
}
.latest-posts .posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.latest-posts .blog-post {
  border: none; /* Use card style if needed */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease;
}
.latest-posts .blog-post:hover {
  transform: translateY(-5px);
}
.latest-posts .blog-post img {
  width: 100%;
  height: auto;
  display: block;
}
.latest-posts .post-content {
  padding: 1rem;
}

a.blog-post {
text-decoration: none;
}

/* ==========================================================================
   17. SERVICE PAGE STYLES
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem; /* Adjusted padding for responsiveness */
}

.hero {
    text-align: center;
    padding: 3rem 0; /* Adjusted padding for responsiveness */
    font-size: 1.3rem; /* Adjusted font size for responsiveness */
    /* padding-top:0%; */
}

.cta-button {
    background-color: #07677f;
    color: #fff;
    padding: 0.5rem 1rem; /* Adjusted padding for responsiveness */
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #3700b3;
}

/* .services-snapshot {
    padding: 3rem 0;*/ /* Adjusted padding for responsiveness */
/*} */


.service-item {
    width: auto;
    max-width: 140%;
    text-align: center;
    padding: 1rem; /* Adjusted padding for responsiveness */
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s;
    box-sizing: border-box;
    justify-items: stretch;
}

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

.service-icon {
    font-size: 1.5rem; /* Adjusted font size for responsiveness */
    margin-bottom: 0.5rem; /* Adjusted margin for responsiveness */
}

.accordion {
    margin-top: 1rem; /* Adjusted margin for responsiveness */
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 0.5rem; /* Adjusted margin for responsiveness */
}

.accordion-header {
    padding: 1rem; /* Adjusted padding for responsiveness */
    background-color: #f7f7f7;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    padding: 1rem; /* Adjusted padding for responsiveness */
    display: none;
}

.accordion-content p {
    margin: 0;
}

/* .gradient-divider {
    height: 4px;
    background: linear-gradient(to right, #2560ff, #3700b3);
    margin: 2rem 0;
} */

.tech-stack-carousel {
    display: flex;
    overflow-x: auto;
    gap: 1rem; /* Adjusted gap for responsiveness */
    padding: 1rem 0; /* Adjusted padding for responsiveness */
    justify-content: center;
    flex-wrap: nowrap;
}

.tech-stack-item {
    flex: 0 0 auto;
    width: 55px; /* Adjusted width for responsiveness */
    text-align: center;
}

.tech-stack-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.process-timeline {
    text-align: center;
    padding: 3rem 0; /* Adjusted padding for responsiveness */
}

.process-timeline img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .tech-stack-item {
        width: 10%;
        margin: 5px 5%;
    }

    .cta-button {
        font-size: 0.9rem;
        /* height: 3rem; */
        /* width: -webkit-fill-available; */
        margin-top: 1rem;
    }
    }

    .tech-stack-carousel {
        justify-content: start;
        padding: 0rem 0;
    }

    .hero {
        font-size: 1rem;
    }

    

.hero-inner {
    text-align: center;
    max-width: 860px;
    padding: 0 30px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}


/*================================================================
    18. Slideshow Styles
    ================================================================*/


.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    height: 38rem;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}


.slideshow-dots {
    text-align: center;
    position: absolute;
    bottom: 0.5rem; /* Adjusted bottom for responsiveness */
    width: 100%;
}

.dot {
    height: 10px; /* Adjusted height for responsiveness */
    width: 10px; /* Adjusted width for responsiveness */

margin: 0 0.25rem; /* Adjusted margin for responsiveness */
    background-color: #bbb;
    
border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #4a4a4a;
}


@media (max-width: 768px) {
    .mySlides.fade {
        height: 230px !important;
    }

    .mySlides img {
    height: 20rem;
}
}

/* ==========================================================================
   19. CHATBOT STYLES
   ========================================================================== */

.chatbot-container {
    width: 100%;
    /* max-width: 400px; */
    margin-top: 5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chatbot-header {
    background-color: #2560ff;
    color: #fff;
    padding: 0.5rem; /* Adjusted padding for responsiveness */
    text-align: center;
}

.chatbot-body {
    display: flex;
    flex-direction: column;
    height: 300px; /* Adjusted height for responsiveness */
    position: relative;
}

.chatbot-messages {
    flex: 1;
    padding: 0.5rem; /* Adjusted padding for responsiveness */
    overflow-y: auto;
    background-color: #f9f9f9;
}

.chatbot-input {
    display: flex;
    border-top: 1px solid #ddd;
}

.chatbot-input input {
    flex: 1;
    padding: 0.5rem; /* Adjusted padding for responsiveness */
    border: none;
    outline: none;
}

.chatbot-input button {
    background-color: #2560ff;
    color: #fff;
    border: none;
    padding: 0.5rem; /* Adjusted padding for responsiveness */
    cursor: pointer;
}

.chatbot-input button:hover {
    background-color: #3700b3;
}

/* Loading Animations */
.skeleton-screen {
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 0.5rem; /* Adjusted margin for responsiveness */
}

.skeleton-text {
    height: 15px; /* Adjusted height for responsiveness */
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 0.5rem; /* Adjusted margin for responsiveness */
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #2560ff;
    border-radius: 50%;
    width: 20px; /* Adjusted width for responsiveness */
    height: 20px; /* Adjusted height for responsiveness */
    animation: spin 1s linear infinite;
    margin: 1rem auto; /* Adjusted margin for responsiveness */
}


/* Hover Effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1rem; /* Adjusted padding for responsiveness */
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
    .hero-visual {
        width: 100%;
        max-width: 50rem; /*added*/
    }
}
.section-description {
    text-align: justify;
}



/* ==========================================================================
   20. MINDMAP STYLES
   ========================================================================== */
/* Process Timeline Section */
/* Process Timeline Section */
.process-timeline {
    background: #f8fbfe;
    padding: 40px 20px;
    text-align: center;
  }
  
  .process-timeline h2 {
    color: #2c3e50;
    font-size: 1.5em;
    margin-bottom: 10px;
  }
  
  .process-timeline p {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
  }
  
  /* Step Container */
  .step-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    align-items: flex-start; /* Align items to the top */
    justify-content: center;
    gap: 20px;
    padding: 20px;
    align-content: center;
  }
  
  /* Individual Step Card */
  .step-card {
    height: 14rem;
    /* height: auto; */
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 20px;
    min-width: 260px;
    max-width: 300px; /* Max-width is important for larger screens */
    width: 100%;  /* Use full width on smaller screens */
    text-align: left;
    position: relative;
    transition: transform 0.3s ease;
    margin-bottom: 20px; /* Add margin to the bottom for spacing when stacked */
  }

  @media screen and (max-width: 768px) {
    .step-card {
        width: 100%;
        height: auto;
    }
    
  }
  
  .step-card:hover {
    transform: translateY(-5px);
  }
  
  .step-card h3 {
    color: #2c3e50;
    margin: 15px 0 10px;
  }
  
  .step-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
  }
  
  .step-card ul {
    padding-left: 20px;
    list-style-type: disc;
    color: #555;
    font-size: 13px;
  }
  
  /* Step Card Header */
  .step-header {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .step-number {
    background: #07677f;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    text-align: center;
  }
  
  .step-icon {
    font-size: 20px;
    color: #3f484c;
  }
  
  /* Arrow Connector */
  /* .arrow {
      width: 20px; /* Fixed width for the arrow, consistent across sizes */
      /* height: 15px; /* Fixed height */
      /* background: #4CAF50; Solid color instead of border */
      /* position: relative; Needed for the pseudo-element */
      /* margin: 20px 0;  Vertical margin for spacing, especially in mobile view */
  /* } */ 
 
  
  /* .arrow::before {
      content: '';
      position: absolute;
      top: -10px; 
      left: 0;
      width: 0;
      height: 0;
      border-left: 10px solid transparent;  
      border-right: 10px solid transparent; 
      border-bottom: 10px solid #4CAF50; 
  } */
  
  /* .arrow::after {
      content: '';
      position: absolute;
      bottom: -10px; 
      left: 0;
      width: 0;
      height: 0;
      border-left: 10px solid transparent;  
      border-right: 10px solid transparent; 
      border-top: 10px solid #4CAF50;
  } */
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .step-container {
      flex-direction: column; /* Stack cards vertically */
      align-items: stretch; /* Stretch items to full width */
    }
    .step-card {
      width: 100%; /* Full width cards on smaller screens*/
    }
  
    /* .arrow {
          margin: 10px auto;
          transform: rotate(90deg);
      } */

      .process-timeline {
        padding: 20px 10px;
    }
  
  }
  
  /* Styling for larger screens (adjust breakpoint as needed) */
  @media (min-width: 1200px) {
    .step-container {
          max-width: 1140px;
          margin-left: auto;
          margin-right: auto;
    }
    .process-timeline h2 {
          font-size: 1.5em;  /* Slightly larger heading on large screens */
      }
  }

  

/*------------------------------------------------- popup message----------------------- */
.modal {
    display: flex; /* Flexbox for centering */
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    position: fixed; /* Ensure it stays fixed on the screen */
    inset: 0; /* Set top, right, bottom, and left to 0 for full coverage */
    margin: 0; /* Remove any default margin */
    padding: 1rem; /* Add padding for smaller screens */
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
    animation: fadeIn 0.5s ease-in-out; /* Add fade-in animation */
    backdrop-filter: blur(10px); /* Apply blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
}  

@media (max-width: 768px) {
    .modal { width: 92%; /* Full width on smaller screens */ 
        height: 100%; /* Full height on smaller screens */ 
        margin: 0; /* Remove any default margin */
        padding: 1rem; /* Less padding for smaller screens */ 
        font-size: 0.8rem; /* Adjust font size for smaller screens */ align-items: flex-start
    } 
    
    .modal-content {
        width: 100%; /* Full width on smaller screens */
        max-width: 100%; /* Ensure it doesn't exceed screen width */
    }
} 

.modal-content {
    margin: 0; /* Remove any default margin */
    justify-content: center;
    align-items: center; /* Center items vertically */
    position: relative; /* Ensure proper positioning */
    top: auto; /* Reset top positioning */
    left: auto; /* Reset left positioning */
    transform: translate(0, 0); /* Ensure no offset */
    background: #07677f85; /* Clean white background */
    color: #ffffff; /* Google's text color */ font-size: 1.0rem; /* Adjust font size for readability */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06); /* Subtle shadow */
    border-radius: 8px; /* Slightly rounded corners */
    padding: 1.5rem; /* Adjust padding for better spacing */
    width: 90%; /* Responsive width */
    max-width: 600px; /* Limit max width */
    transform: translateY(-20px); /* Subtle slide-in effect */
    animation: slideIn 0.4s ease-out forwards, textPulse 2s infinite; /* Add text animation */
} 

.close-button {
    font-size: 24px; /* Adjust size for a cleaner look */
    color: #5f6368; /* Subtle gray color */
    position:absolute; /* Position in the top-right corner */
    top: 10px;
    right: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: #d93025; /* Google's red hover effect */
    transform: scale(1.2); /* Slightly enlarge on hover */
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#back-to-top {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position relative to the viewport */
    bottom: 20px; /* Distance from the bottom */
    right: 20px; /* Distance from the right */
    z-index: 99; /* Ensure it stays on top */
    border: none; /* Remove default border */
    outline: none; /* Remove default outline */
    background-color: rgba(0, 0, 0, 0.8); /* Black with transparency */
    color: white; /* White text color */
    cursor: pointer; /* Change cursor on hover */
    padding: 15px; /* Add some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 20px; /* Increase font size */
}

#back-to-top:hover {
    background-color: #555; /* Darker background on hover */
}



/* ==========================================================================
   22. SEARCH BAR STYLES
   ========================================================================== */
.search-container {
    display: flex;
    align-items: center;
    margin-left: 20px; /* Adjust spacing as needed */
}

#search-input {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 14px;
    width: 100px; /* Adjust width as needed */
    transition: width 0.3s ease;
}

#search-input:focus {
    outline: none;
    border-color: #007bff; /* Highlight on focus */
    width: 200px; /* Expand on focus */
}

#search-button {
    background-color: #07677f;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    margin-left: 5px;
    transition: background-color 0.3s ease;
}

#search-button:hover {
    background-color: #0056b3;
}

/* Media Query for Responsiveness */
@media (max-width: 768px) {
    .search-container {
        display: none; /* Hide on smaller screens, consider a different approach for mobile */
    }
}


/* Media Query for Responsiveness */
@media (max-width: 768px) {
    /* Styles for phone screens */
    .hero-search-container {
        display: flex; /* Show on phone */
        align-items: center;
        margin-left: 20px;
        position: relative;
        top: auto;
        right: auto;
        text-align: left;
    }

    #search-input {
        width: 90px;
        padding: 8px 12px;
        border: 1px solid #ccc;
        background-color: white;
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        transition: width 0.3s ease;
        display: inline-block;
    }

    #search-input:focus {
        outline: none;
        border-color: #007bff;
        width: 200px;
    }

    #search-button {
        background-color: #07677f;
        color: white;
        border: none;
        padding: 8px 12px;
        border-radius: 20px;
        cursor: pointer;
        margin-left: 5px;
        transition: background-color 0.3s ease;
    }

    #search-button:hover {
        background-color: #0056b3;
    }

    .search-container.active #search-input {
        width: 150px;
        padding: 8px 12px;
        border: 1px solid #ccc;
        background-color: white;
    }
}


/*  hide ONLY the hero search bar on desktop */
@media (min-width: 769px) {
    .hero-search-container {
        display: none;
    }
}






/* ==========================================================================
   23. MAIN CONTAINER
   ========================================================================== */
   .main-container {
        width: 100%;
        /* max-width: 1200px; */
        margin-top: auto;
        box-sizing: border-box;
    
    }





/* ==========================================================================
blog*/

/* --- Filter Tabs (Professional Look) --- */
.filter-tabs {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 0 1rem;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}
.filter-tabs .filter-btn {
  background: none;
  border: none;
  margin: 0 1rem;
  padding: 1rem 0;
  font-size: 1rem;
  color: #606060;
  cursor: pointer;
  position: relative;
  outline: none;
  transition: color 0.3s ease;
}
.filter-tabs .filter-btn:hover {
  color: #000;
}
.filter-tabs .filter-btn.active {
  color: #000;
  font-weight: bold;
}
.filter-tabs .filter-btn.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: #2560ff;
  border-radius: 2px;
}

/* --- Latest Posts Section (Grid View) --- */
.latest-posts {
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* .latest-posts h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
} */
.latest-posts .posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.latest-posts .blog-post {
  border: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease;
}
.latest-posts .blog-post:hover {
  transform: translateY(-5px);
}
.latest-posts .blog-post img {
  width: 100%;
  height: auto;
  display: block;
}
.latest-posts .post-content {
  padding: 1rem;
}

/* --- Older Posts Section (List View) --- */
.older-posts {
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
}
.older-posts h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.posts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.posts-list .blog-post {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 0.5rem 0;
}
.posts-list .blog-post img {
  width: 100px;
  height: auto;
  margin-right: 1rem;
  border-radius: 4px;
}
.posts-list .post-content {
  flex: 1;
}
.posts-list .post-title {
  font-size: 1.1rem;
  margin: 0;
}
.posts-list .post-snippet {
  font-size: 0.9rem;
  color: #666;
}
.posts-list .post-date {
  font-size: 0.8rem;
  color: #888;
}

/* --- Content Wrapper for Main and Sidebar --- */
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  gap: 2rem;
}
.older-posts {
  flex: 1 1 60%;
}
.sidebar {
  flex: 1 1 30%;
}
/* --- Sidebar Widgets --- */
.sidebar .widget {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.sidebar .widget h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.sidebar .widget ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.sidebar .widget ul li {
  margin-bottom: 0.5rem;
}
.sidebar .widget ul li a {
  text-decoration: none;
  color: #2560ff;
  transition: color 0.3s;
}
.sidebar .widget ul li a:hover {
  color: #000;
}


/* Admin blog post style */
    .admin-blog-container {
      max-width: 500px;
      margin: 2rem auto;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
      padding: 2rem 1.5rem;
    }
    .admin-blog-container h1 {
      text-align: center;
      margin-bottom: 1.5rem;
      font-size: 2rem;
      color: #07677f;
    }
    #blog-post-form .form-group {
      margin-bottom: 1.2rem;
      display: flex;
      flex-direction: column;
    }
    #blog-post-form label {
      font-weight: 500;
      margin-bottom: 0.4rem;
      color: #333;
    }
    #blog-post-form input,
    #blog-post-form textarea,
    #blog-post-form select {
      padding: 0.7rem 1rem;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 1rem;
      background: #f9f9f9;
      resize: none;
      transition: border-color 0.2s;
    }
    #blog-post-form input:focus,
    #blog-post-form textarea:focus,
    #blog-post-form select:focus {
      border-color: #07677f;
      outline: none;
    }
    #blog-post-form textarea {
      min-height: 80px;
      max-height: 200px;
    }
    /* #blog-post-form .cta-button {
      width: 100%;
      padding: 0.9rem 0;
      font-size: 1.1rem;
      background: #07677f;
      color: #fff;
      border: none;
      border-radius: 24px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s, color 0.2s, box-shadow 0.2s;
      margin-top: 0.5rem;
      box-shadow: 0 2px 8px rgba(7, 103, 127, 0.08);
    }
    #blog-post-form .cta-button:hover,
    #blog-post-form .cta-button:focus {
      background: #2560ff;
      color: #fff;
      box-shadow: 0 4px 16px rgba(37, 96, 255, 0.13);
    } */
    #admin-blog-message {
      text-align: center;
      margin-top: 1rem;
      font-size: 1rem;
      min-height: 1.2em;
    }
    @media (max-width: 600px) {
      .admin-blog-container {
        padding: 1rem 0.5rem;
        max-width: 98vw;
      }
      #blog-post-form .cta-button {
        font-size: 1rem;
        padding: 0.8rem 0;
      }
    }

    /* ---------------------------------Admin Blog Post--------------------------------------------------------- */
    .admin-blog-container {
    max-width: 800px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 2rem 1.5rem;
}
.admin-blog-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #07677f;
}
#blog-post-form .form-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
}
#blog-post-form label {
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: #333;
}
#blog-post-form input,
#blog-post-form textarea,
#blog-post-form select {
    padding: 0.7rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background: #f9f9f9;
    resize: none;
    transition: border-color 0.2s;
}
#blog-post-form input:focus,
#blog-post-form textarea:focus,
#blog-post-form select:focus {
    border-color: #07677f;
    outline: none;
}

#blog-post-form textarea {
    min-height: 100px;
    max-height: 500px;
    resize: vertical;
}
#admin-blog-message {
    text-align: center;
    margin-top: 1rem;
    font-size: 1rem;
    min-height: 1.2em;
}

/* Toggle Switch Styles */
.toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal !important;
    margin-bottom: 0 !important;
}

.toggle-label input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 24px;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.toggle-slider:before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: white;
    top: 3px;
    left: 3px;
    transition: transform 0.3s;
}

.toggle-label input[type="checkbox"]:checked + .toggle-slider {
    background-color: #07677f;
}

.toggle-label input[type="checkbox"]:checked + .toggle-slider:before {
    transform: translateX(26px);
    background-color: #054a5c;
}

/* Portfolio Display Styles */
#portfolio-display-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

#portfolio-display-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #07677f;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-details {
    padding: 1.5rem;
}

.project-details h3 {
    margin-bottom: 0.5rem;
    color: #07677f;
    line-height: normal;
}

.project-details p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-link {
    display: inline-block;
    background: #07677f;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.project-link:hover {
    background: #054a5c;
}

.content-type-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.badge-blog {
    background-color: #e3f2fd;
    color: #1976d2;
}

.badge-case-study {
    background-color: #e8f5e8;
    color: #388e3c;
}

/* Submit button style update */
#blog-post-form button[type="submit"] {
    background-color: #054a5c; /* Darker shade for button background */
    color: #ffffff; /* White text color */
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#blog-post-form button[type="submit"]:hover {
    background-color: #07677f; /* Original brand color on hover */
}
   
.dropdown {
  position: relative;
  display: inline-block; /* or block, depending on your layout */
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #f9f9f9; /* Example background */
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* Example shadow */
  z-index: 1;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-item:hover {
  background-color: #f1f1f1; /* Example hover effect */
}
