:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-color: #00ffff; /* Electric Cyan / Teal */
    --text-light: #e0e0e0;
    --text-muted-light: #a0a0a0;
    --whatsapp-green: #25D366;
    --accent-color-rgb: 0, 255, 255;
    --font-family: 'Poppins', sans-serif;

}



body {
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-family: var(--font-family);
    padding-top: 75px; /* Adjust based on final navbar height */
    scroll-behavior: smooth;
}

/* --- Navigation Bar --- */
.navbar {
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding-top: 0rem; /* Control padding via container-fluid and link padding */
    padding-bottom: 0rem;
    transition: background-color 0.3s ease, padding 0.3s ease;
    min-height: 70px; /* Ensure a minimum height */
    align-items: center; /* Vertically align items */
}
.navbar .container-fluid {
    padding-left: 2rem; /* More horizontal padding for overall navbar content */
    padding-right: 2rem;
    display: flex;
    align-items: center; /* Ensure all direct children are vertically centered */
}


.navbar.scrolled {
    background-color: var(--primary-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar-brand {
    font-size: 1.5rem; /* Adjust as needed for "ASKUL GLOBAL" */
    font-weight: 700;
    color: #fff !important; /* "ASKUL" part in white */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    line-height: 1;
}
.navbar-brand .brand-accent {
    color: var(--accent-color) !important;
}
.navbar-brand:hover {
    color: #ddd !important;
}
.navbar-brand:hover .brand-accent {
    filter: brightness(1.1);
}


.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 400;
    padding: 1.25rem 1.25rem;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
    
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}


.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
    margin-left: 1rem;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (min-width: 992px) {
    .navbar-brand.mx-auto {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
   
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        justify-content: flex-end;
    }

    #nav-left-desktop, #nav-right-desktop {
        align-items: center;
    }
}

@media (max-width: 991.98px) {
    .navbar .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .navbar-collapse {
        background-color: var(--primary-dark);
        padding: 1rem;
        margin-top: 0.5rem;
        border-top: 1px solid rgba(var(--accent-color), 0.2);
        width: 100%;
    }
    .navbar-nav .nav-link {
        padding: 0.8rem 0.5rem;
    }
    .navbar-nav .nav-link::after {
       left: 0.5rem;
       transform: none;
       bottom: 0.25rem;
    }
    #nav-right-desktop {
        display: none;
    }
    #nav-mobile-full {
        display: block;
    }

    #nav-left-desktop{
        display: none;
    }
     .navbar-brand{
        padding-left: 0px !important; 
    }

}


/* --- Hero Section --- */
#hero {
    min-height: calc(100vh - 75px);
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxNTgwfDB8MXxzZWFyY2h8Mnx8dGVjaG5vbG9neSUyMGJhY2tncm91bmR8ZW58MHx8fHwxNjE5MTMwNzI1&ixlib=rb-1.2.1&q=80&w=1920') no-repeat center center/cover;
    position: relative;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-muted-light);
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.accent-text {
    color: var(--accent-color);
}

/* --- General Section Styling --- */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.bg-darker {
    background-color: var(--secondary-dark);
}

/* --- Original Service Card Styles - TO BE COMMENTED OUT OR REMOVED --- */
/*
.service-card {
    background-color: var(--secondary-dark);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(var(--accent-color), 0.2);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(var(--accent-color), 0.3);
}
*/

/* Styles for elements INSIDE the service card, these can stay */
.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-card h3 { /* If you use .service-card-animated-border as the main class, adjust selector if needed */
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.service-card p { /* If you use .service-card-animated-border as the main class, adjust selector if needed */
    color: var(--text-muted-light);
    font-size: 0.95rem;
}


/* --- Ethos Section --- */
.ethos-visual {
    background-color: rgba(var(--accent-color), 0.05);
    border: 1px dashed rgba(var(--accent-color), 0.3);
    color: var(--accent-color);
    padding: 3rem;
    text-align: center;
    border-radius: 8px;
}

/* --- Innovations Section --- */
.innovation-item {
    background-color: var(--secondary-dark);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.innovation-item:hover {
    background-color: #2a2a2a;
}

/* --- Forms --- */
.form-control {
    background-color: #252525;
    border: 1px solid #444;
    color: var(--text-light);
    padding: 0.75rem 1rem;
}
.form-control:focus {
    background-color: #303030;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--accent-color), 0.25);
    color: var(--text-light);
}
.form-control::placeholder {
    color: #777;
}

/* --- Buttons --- */
.btn-accent {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    border-color: var(--accent-color);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.btn-accent:hover {
    background-color: #00e0e0;
    border-color: #00e0e0;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-accent {
    color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.btn-outline-accent:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* --- Footer --- */
footer {
    background-color: var(--secondary-dark);
    color: var(--text-muted-light);
    font-size: 0.9rem;
}
footer a {
    color: var(--text-muted-light);
    text-decoration: none;
}
footer a:hover {
    color: var(--accent-color);
}

/* Responsive Adjustments for Hero and Section Titles */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    /* .service-card { margin-bottom: 1.5rem; } // This can be removed if g-4 handles spacing */
}

/* === Animated Border for Service Cards (FINAL VERSION FOR STATIC ON HOVER) === */

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.service-card-animated-border {
  position: relative;
  /* Base styles for the card itself */
  background-color: var(--secondary-dark);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  /* No transition needed here if hover state does nothing visual to the card itself */
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
  border: 1px solid rgba(var(--accent-color), 0.2); /* Static subtle border on the card */
  height: 100%;
  /* Ensure no default browser outline on focus if elements inside become focusable */
  outline: none;
}

.service-card-animated-border::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: inherit; /* This will be 8px from .service-card-animated-border */
  background: conic-gradient(
    from var(--angle),
    var(--secondary-dark), /* Or transparent if you prefer full see-through */
    var(--accent-color) 5%,
    var(--accent-color) 15%,
    var(--secondary-dark) 25%,
    var(--secondary-dark)
  );
  animation: rotateAngle 6s linear infinite;
}

@keyframes rotateAngle {
  to {
    --angle: 360deg;
  }
}

/* HOVER STATE: No visual changes to the card itself */
.service-card-animated-border:hover {
  /* No transform */
  /* No box-shadow changes */
  /* Background remains var(--secondary-dark) as per its base style */
  /* Cursor can be default or pointer as preferred */
  cursor: default; /* Or 'pointer' if the cards are clickable leading somewhere */
}

/* Ensure styles for text content inside the card still apply correctly */
/* If you used "div.service-card h3" and "div.service-card p" before,
   and your HTML is now "div.service-card-animated-border",
   you might need to update those selectors or make them more generic,
   e.g., by targeting elements within .col-md-4 or directly by their own classes if they had them.
   However, since your example HTML has <div class="service-card service-card-animated-border">,
   the original selectors like ".service-card h3" should still work.
   For robustness, if you remove the .service-card class from HTML: */
.service-card-animated-border h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.service-card-animated-border p {
    color: var(--text-muted-light);
    font-size: 0.95rem;
}
/* The .service-icon style should still work as it's a direct child class */



/* === Industries Transformed Section Styling === */
#industries-transformed {
    background-color: var(--primary-dark); /* Matching hero/expertise background */
    /* Add a subtle top/bottom border or gradient if needed to separate from other sections */
}

.industry-transformation-hub {
    display: flex;
    gap: 2rem; /* Space between nav and detail panel */
    background-color: var(--secondary-dark); /* Background for the entire hub */
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 500px; /* Adjust as needed */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Left Navigation Panel */
.industry-nav {
    flex: 0 0 300px; /* Fixed width for the nav, adjust as needed */
    /* background-color: #1f1f1f; Slightly different shade for nav */
    /* border-right: 1px solid rgba(var(--accent-color), 0.1); */
}

.industry-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: var(--text-muted-light);
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    position: relative;
    font-weight: 500;
}

.industry-nav-item .nav-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
    width: 20px; /* Ensure icons align */
    text-align: center;
    color: var(--text-muted-light);
    transition: color 0.3s ease;
}

.industry-nav-item .nav-arrow {
    margin-left: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.industry-nav-item:hover {
    background-color: rgba(var(--accent-color), 0.05);
    color: var(--text-light);
    transform: translateX(5px);
}
.industry-nav-item:hover .nav-icon {
    color: var(--accent-color);
}
.industry-nav-item:hover .nav-arrow {
    opacity: 1;
}


.industry-nav-item.active {
    background-color: rgba(var(--accent-color), 0.1);
    color: var(--accent-color);
    font-weight: 600;
}

.industry-nav-item.active .nav-icon {
    color: var(--accent-color);
}
.industry-nav-item.active .nav-arrow {
    opacity: 1;
    transform: translateX(3px) scale(1.1);
    color: var(--accent-color);
}

/* Right Detail Panel */
.industry-detail-panel {
    flex-grow: 1;
    position: relative; /* For positioning the visual backdrop */
    background-color: var(--primary-dark); /* Slightly darker than hub for contrast */
    border-radius: 8px;
    padding: 2rem 2.5rem;
    overflow: hidden; /* Important for backdrop effects */
}

.industry-content {
    display: none; /* Hidden by default */
    opacity: 0;
    transform: translateY(10px);
    animation: contentFadeOut 0.4s forwards;
}

.industry-content.active {
    display: block; /* Show active content */
    opacity: 1;
    transform: translateY(0);
    animation: contentFadeIn 0.5s 0.2s forwards; /* Delay fadeIn slightly */
}

@keyframes contentFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes contentFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); display:none !important; } /* Ensure it's hidden after fade */
}


/* === Industries Transformed Section Styling === */
#industries-transformed {
    background-color: var(--primary-dark);
}

.industry-transformation-hub {
    display: flex; /* Default for desktop: side-by-side */
    gap: 2rem;
    background-color: var(--secondary-dark);
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Left Navigation Panel (Desktop) */
.industry-nav {
    flex: 0 0 300px; /* Fixed width for desktop */
}

.industry-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: var(--text-muted-light);
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    position: relative;
    font-weight: 500;
}

.industry-nav-item .nav-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    color: var(--text-muted-light);
    transition: color 0.3s ease;
}

.industry-nav-item .nav-arrow {
    margin-left: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.industry-nav-item:hover {
    background-color: rgba(var(--accent-color), 0.05);
    color: var(--text-light);
    transform: translateX(5px); /* Desktop hover effect */
}
.industry-nav-item:hover .nav-icon {
    color: var(--accent-color);
}
.industry-nav-item:hover .nav-arrow {
    opacity: 1;
}

.industry-nav-item.active {
    background-color: rgba(var(--accent-color), 0.1);
    color: var(--accent-color);
    font-weight: 600;
}
.industry-nav-item.active .nav-icon {
    color: var(--accent-color);
}
.industry-nav-item.active .nav-arrow {
    opacity: 1;
    transform: translateX(3px) scale(1.1); /* Desktop active arrow */
    color: var(--accent-color);
}

/* Right Detail Panel (Desktop & Base for Mobile) */
.industry-detail-panel {
    flex-grow: 1; /* Takes remaining space on desktop */
    position: relative;
    background-color: var(--primary-dark);
    border-radius: 8px;
    padding: 2rem 2.5rem;
    overflow: hidden;
    /* For mobile, it will take full width and stack below */
}

.industry-content {
    display: none; /* Hidden by default */
    opacity: 0;
    /* Removed transform from here, JS will handle slide for accordion */
    animation: desktopContentFadeOut 0.4s forwards; /* Default animation for desktop */
}

.industry-content.active {
    display: block;
    opacity: 1;
    animation: desktopContentFadeIn 0.5s 0.2s forwards; /* Default animation for desktop */
}

/* Desktop fade animations */
@keyframes desktopContentFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes desktopContentFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); display:none !important; }
}

/* Mobile slide/accordion animations (will be applied by JS) */
@keyframes mobileContentSlideDown {
    from { max-height: 0; opacity: 0; transform: translateY(-10px); }
    to { max-height: 1000px; opacity: 1; transform: translateY(0); } /* Large max-height */
}
@keyframes mobileContentSlideUp {
    from { max-height: 1000px; opacity: 1; transform: translateY(0); }
    to { max-height: 0; opacity: 0; transform: translateY(-10px); }
}

/* Class to apply for mobile slide animations */
.industry-content.slide-down {
    animation: mobileContentSlideDown 0.5s ease-out forwards;
}
.industry-content.slide-up {
    animation: mobileContentSlideUp 0.5s ease-out forwards;
}


.industry-visual-backdrop {
    display: none;
    /* position: absolute;
    top: 0; right: 0; bottom: 0; left: 50%; 
    opacity: 0.03;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    overflow: hidden; */
}
.industry-visual-backdrop i {
    /* font-size: 18rem;
    color: var(--accent-color);
    transform: scale(1.2) rotate(-5deg); */
}

.industry-detail-panel .content-wrapper {
    position: relative;
    z-index: 1;
}
.industry-detail-panel h3 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}
.industry-detail-panel p {
    font-size: 1rem;
    color: var(--text-muted-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 90%;
}
ul.industry-solutions { list-style: none; padding-left: 0; }
ul.industry-solutions li { color: var(--text-light); margin-bottom: 0.5rem; font-size: 0.95rem; display: flex; align-items: flex-start; }
ul.industry-solutions li .fas.fa-check-circle { margin-right: 0.75rem; font-size: 1.1em; position: relative; top: 0.15em; }


/* === Responsive adjustments for the hub === */
@media (max-width: 991.98px) { /* Breakpoint for mobile view */
    .industry-transformation-hub {
        flex-direction: column; /* Stack nav and panel */
        min-height: auto;
        padding: 1rem; /* Adjust padding for mobile hub */
    }

    .industry-nav {
        flex: 0 0 auto; /* Nav takes its own height */
        width: 100%;
        margin-bottom: 0; /* No margin if content is inserted directly after by JS */
    }

    .industry-nav ul {
        /* Desktop uses vertical list, mobile might become horizontal scroll or wrap */
        /* For accordion, keep vertical list */
    }
    .industry-nav-item {
        /* No transform on hover for mobile, handled by active state */
        transition: background-color 0.3s ease, color 0.3s ease; /* Simpler transition */
    }
     .industry-nav-item:hover {
        transform: none; /* No translateX on mobile hover */
    }
    .industry-nav-item.active .nav-arrow {
        transform: rotate(90deg); /* Arrow points down for open accordion */
    }
    .industry-nav-item .nav-arrow {
        transition: transform 0.3s ease-in-out; /* Smooth arrow rotation */
    }


    /* Detail Panel on Mobile */
    .industry-detail-panel {
        width: 100%;
        margin-top: 0; /* Will be positioned by JS or appear after nav list */
        padding: 1.5rem; /* Adjust padding for mobile panel */
        border-top: 1px solid rgba(var(--accent-color), 0.1); /* Separator line */
        border-radius: 0 0 8px 8px; /* Adjust radius if it's directly under a nav item */
        display: none; /* Initially hide the whole panel on mobile, JS will show it */
    }
    .industry-detail-panel.mobile-active { /* Class added by JS to show the panel container */
        display: block;
    }


    /* Content within panel on mobile */
    .industry-content {
        /* Reset desktop animations if they interfere */
        animation: none;
        max-height: 0; /* Core of accordion: initially collapsed */
        overflow: hidden;
        transition: max-height 0.5s ease-out, opacity 0.4s ease-out, padding 0.3s ease-out; /* Smooth accordion */
        opacity: 0;
        padding-top: 0;
        padding-bottom: 0;
        transform: none !important; /* Ensure no leftover transforms */
    }
    .industry-content.active { /* This class is for active content *within* the panel */
        animation: none; /* No fade for mobile, use slide */
        display: block; /* Crucial: must be block to measure height for transition */
        max-height: 1000px; /* Allow it to expand (arbitrary large number) */
        opacity: 1;
        padding-top: 1.5rem; /* Add padding when open */
        padding-bottom: 1.5rem;
    }

    .industry-visual-backdrop {
        left: 0; right: 0; /* Center it or position differently */
        opacity: 0.02;
    }
    .industry-visual-backdrop i {
        font-size: 12rem;
    }

    .industry-detail-panel h3 { font-size: 1.6rem; }
}

/* Further adjustments for very small screens if needed */
@media (max-width: 767.98px) {
    .industry-nav ul {
        /* Already vertical, no changes needed from 991px breakpoint if that's desired */
    }
}








/* === Project Detail Showcase Styling === */
.project-detail-showcase {
    background-color: var(--secondary-dark); /* Main background for the project block */
    border-radius: 12px;
    margin-bottom: 3rem; /* Space between detailed project blocks if you add more */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    overflow: hidden; /* To contain banner pseudo elements or rounded corners properly */
}

.project-header-banner {
    padding: 3rem 0;
    background-size: cover;
    background-position: center center;
    color: #fff;
    position: relative; /* For pseudo-elements if needed for overlay */
    /* border-bottom: 2px solid var(--accent-color); */
}
/* Add a var for primary-dark-rgb if you don't have it for the gradient */
/* :root { --primary-dark-rgb: 10, 10, 10; } */

.project-logo {
    max-height: 80px; /* Adjust as needed */
    width: auto;
    background-color: rgba(255,255,255,0.1); /* Optional: slight backdrop for logo if it's on a busy image */
    padding: 10px;
    border-radius: 6px;
}

.project-main-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff; /* Ensure it's white over the banner */
}

.project-tagline {
    font-size: 1.1rem;
    color: var(--text-muted-light);
    font-weight: 300;
}

.project-content-area {
    background-color: var(--secondary-dark); /* Ensure consistent bg if banner is different */
}

.project-narrative h4 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1rem; /* Space out headings */
    font-size: 1.3rem;
}
.project-narrative h4:first-of-type {
    margin-top: 0;
}

.project-narrative p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.project-app-visuals h5 {
    color: var(--text-light);
    font-weight: 500;
}
.app-mockup {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid #333; /* Subtle border for mockups */
    background-color: #111; /* Placeholder bg if image is transparent */
}
.mockup-caption {
    color: var(--text-muted-light);
}

.project-features-section {
    background-color: var(--primary-dark); /* Slightly different bg for visual separation */
    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
    border-radius: 8px; /* Rounded corners for this sub-section */
    margin: 1rem 0; /* Add some vertical margin around this section */
}
.project-features-section h4 {
    color: var(--text-light);
    font-weight: 500;
}
ul.key-features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem; /* Space below list on mobile */
}
ul.key-features-list li {
    color: var(--text-light);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}
ul.key-features-list li .fas.fa-check-circle {
    margin-right: 0.75rem;
    font-size: 1.1em;
    position: relative;
    top: 0.15em;
}

.project-tech-stack-section h4 {
    color: var(--text-light);
    font-weight: 500;
}
.tech-icons-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.tech-icon {
    font-size: 2.5rem; /* Size of tech icons */
    color: var(--text-muted-light);
    transition: color 0.3s ease, transform 0.3s ease;
}
.tech-icon:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Responsive adjustments for project detail */
@media (max-width: 767.98px) {
    .project-header-banner {
        padding: 2rem 0;
    }
    .project-main-title {
        font-size: 1.8rem;
    }
    .project-tagline {
        font-size: 1rem;
    }
    .project-logo {
        max-height: 60px;
    }
    .project-content-area {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .project-app-visuals {
        margin-bottom: 2rem;
    }
}


























































/* WhatsApp Floating Icon */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp-green);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.12); /* Slightly bigger pop */
    background-color: #1ebe57;
    color: #FFF;
}



/* --- Contact Form Error Messages --- */
.form-error-message {
    display: block; /* Make it block to appear on its own line */
    font-size: 0.85em;
    margin-top: 0.25rem;
}
/* The .text-danger and .d-none classes are from Bootstrap */


















/* === Second Hero Section - Fragmented Cloud/Bubble Version (REVISED) === */

.second-hero-container.bubble-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* VERY IMPORTANT */
    color: var(--text-light);
    padding-top: 75px;
    padding-bottom: 3rem;
    background-color: var(--primary-dark);
}

.second-hero-container.bubble-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
    background-image: linear-gradient(to right, transparent 0%, rgba(var(--accent-color-rgb), 0.25) 30%, rgba(var(--accent-color-rgb), 0.25) 70%, transparent 100%);
    z-index: 2;
}

.bubble-animation-area {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

.tech-bubble {
    position: absolute; /* JS sets left/top, then transform for movement */
    /* left: 0; top: 0; /* Initial placeholder, JS will override */
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity; /* Hint for browser */
    cursor: default;
    opacity: 0; /* Start transparent, JS or CSS anim fades in */
    transition: opacity 0.5s ease-in-out; /* For fade-in */

    border-radius: 50% 60% 70% 50% / 60% 50% 70% 60%; /* Irregular blob for main div */
}

.tech-bubble::before, .tech-bubble::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.3; 
    filter: blur(8px); 
    z-index: -1; 
}
.tech-bubble::before { width: 90%; height: 90%; top: 5%; left: 5%; }
.tech-bubble::after { width: 70%; height: 70%; top: 15%; left: 15%; }

/* Color classes remain the same, applying to ::before and ::after */
.bubble-color-purple::before, .bubble-color-purple::after { background-image: radial-gradient(circle, rgba(180, 120, 255, 0.6) 0%, rgba(100, 50, 200, 0.1) 70%); }
.bubble-color-blue::before, .bubble-color-blue::after { background-image: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.5) 0%, rgba(var(--accent-color-rgb), 0.05) 70%); }
/* ... other bubble color classes ... */
.bubble-color-magenta::before, .bubble-color-magenta::after { background-image: radial-gradient(circle, rgba(255, 80, 180, 0.6) 0%, rgba(200, 40, 130, 0.1) 70%); }
.bubble-color-green::before, .bubble-color-green::after { background-image: radial-gradient(circle, rgba(80, 220, 150, 0.6) 0%, rgba(40, 180, 100, 0.1) 70%); }
.bubble-color-multicolor::before { background-image: radial-gradient(circle, rgba(100, 50, 200, 0.5) 0%, transparent 70%); }
.bubble-color-multicolor::after { background-image: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.4) 0%, transparent 70%); transform: translate(15px, 10px) scale(0.8); }

/* Offset for ::after to create more organic cloud */
.bubble-color-purple::after { transform: translate(10px, 5px) scale(0.8); }
.bubble-color-blue::after   { transform: translate(-8px, 10px) scale(0.85); }
.bubble-color-magenta::after{ transform: translate(5px, -10px) scale(0.9); }
.bubble-color-green::after  { transform: translate(-10px, -5px) scale(0.75); }


.tech-bubble i { /* Icon styling */
    font-size: 380%; /* Relative to .tech-bubble's JS-set width/height */
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    color: #fff; /* Default white, can be overridden by specific icon color class */
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.7));
    z-index: 1;
}

/* Specific icon colors (remain the same) */
.tech-bubble .fa-python { color: #FFD43B; }
.tech-bubble .fa-react { color: #61DAFB; }
/* ... all other specific icon color rules ... */
.tech-bubble .fa-node-js { color: #68A063; }
.tech-bubble .fa-aws { color: #FF9900; }
.tech-bubble .fa-swift { color: #F05138; }
.tech-bubble .fa-docker { color: #0db7ed; }
.tech-bubble .fa-js-square { color: #F7DF1E; }
.tech-bubble .fa-angular { color: #DD0031; }
.tech-bubble .fa-java { color: #007396; }
.tech-bubble .fa-database { color: var(--text-light); }
.tech-bubble .fa-brain { color: #8A2BE2; }
.tech-bubble .fa-cloud { color: #4A90E2; }
.tech-bubble .fa-vuejs { color: #4FC08D; }
.tech-bubble .fa-git-alt { color: #F05032; }
.tech-bubble .fa-html5 { color: #E34F26; }


/* Hero Content Styling (remains the same) */
.second-hero-content-container { position: relative; z-index: 1; }
/* ... H1, P, CTA styles remain the same ... */
.second-hero-title { font-size: 3.2rem; font-weight: 700; line-height: 1.3; margin-bottom: 1rem; color: #faae09; text-shadow: 0 3px 20px rgba(0,0,0,0.4); }
.second-hero-title .second-accent-text { color: var(--accent-color); }
.second-hero-title-dynamic { display: block; font-weight: 600; color: #faae09b9; }
.second-hero-subtitle { font-size: 1.25rem; font-weight: 300; color: var(--text-muted-light); max-width: 800px; margin: 0 auto 2rem auto; line-height: 1.7; }
.second-hero-subtitle .second-accent-text { color: var(--accent-color); font-weight: 500; }
.second-hero-cta { padding: 0.8rem 2rem; font-size: 1.1rem; }

@media (max-width: 991.98px) {
    .second-hero-title { font-size: 2.5rem; }
    .second-hero-subtitle { font-size: 1.1rem; }
    .tech-bubble i { font-size: 200%; }
}
@media (max-width: 767.98px) {
    .second-hero-title { font-size: 2.2rem; }
    .second-hero-subtitle { font-size: 1rem; max-width: 90%; }
    .second-hero-container.bubble-hero { padding-bottom: 2rem; }
    .tech-bubble i { font-size: 170%; }
    .tech-bubble::before, .tech-bubble::after { filter: blur(5px); }
    .second-hero-container.bubble-hero{
        align-items: start;
        justify-content: start;
        margin-top: 1rem;
    }
}

