/* ==========================================================================
   1. SECTION BACKGROUNDS & SPACING
   ========================================================================== */

/* Styling for the Light Section */
.our-approach {
    padding: 100px 5%;
    background-color: #f8fafc; 
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

/* Styling for the Dark Section */
.innovations {
    padding: 100px 5%;
    background-color: #ffffff; 
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}


/* ==========================================================================
   2. SLIDER MECHANICS (Shared by both)
   ========================================================================== */

.slider-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding-bottom: 20px;
}

.slider-track {
    display: flex;
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    gap: 24px; 
    padding: 20px 5%; 
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.slider-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Base Card Size & Physics */
.approach-card {
    flex: 0 0 85%; 
    min-height: 500px;
    max-width: 950px; 
    scroll-snap-align: center; 
    transition: transform 0.3s ease, border-color 0.3s ease;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.approach-card h2 {
    font-size: 26px;   
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em; /* Tighter look for a modern feel */
}

.approach-card p {
    font-size: 20px;   /* Increased for better readability */
    line-height: 1.6;  /* Adds breathing room between lines */
    max-width: 80%;    /* Keeps text from stretching too wide on desktop */
    margin: 0 auto;    /* Centers the paragraph */
}

/* Shared Icon Layout */
.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
}

.our-approach .icon-wrapper img,
.innovations .icon-wrapper img {
    max-width: 50px !important; 
    height: auto;
    display: block; /* Prevents weird spacing issues under the image */
}

/* ==========================================================================
   3. THE LIGHT THEME CARDS (Inside .our-approach)
   ========================================================================== */

.our-approach .approach-card {
    background: white;
    border: 1px solid #e2e8f0;
    background-image: url('../assets/images/back_white.jpg');
    color: #000000;
}

.our-approach .approach-card:hover {
    transform: translateY(-10px);
    border-color: #3a507a; 
}

.our-approach .icon-wrapper {
    background: #eff6ff; 
}


/* ==========================================================================
   4. THE DARK THEME CARDS (Inside .innovations)
   ========================================================================== */

.innovations .approach-card {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    background-image: url('../assets/images/back_black.jpg');
    color: #ffffff; 
}

.innovations .approach-card:hover {
    transform: translateY(-10px);
    border-color: #848484; /* Gray border on hover */
}

.innovations .icon-wrapper {
    background: #333333; /* Darker box so it blends with the black card */
}

/* ==========================================================================
   5. THE DARK THEME CARDS (Inside .innovations)
   ========================================================================== */



 /* --- Innovations Product Button --- */
.innovations .product-btn {
    margin-top: 24px;
    padding: 12px 28px;
    background-color: #ffffff; /* White button for the dark theme */
    color: #1a1a1a; /* Dark text */
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid #ffffff;
}

.innovations .product-btn:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Ensure the card has enough space for the button */
.innovations .approach-card {
    justify-content: space-between; /* This pushes the icon/text up and button down */
    padding-bottom: 50px;
}





/* ==========================================================================
   6. NAVIGATION DOTS
   ========================================================================== */

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.nav-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1; 
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Active dot color for Light Section */
.our-approach .nav-indicator.active {
    background-color: #000000;
    transform: scale(1.3); 
}

/* Active dot color for Dark Section */
.innovations .nav-indicator.active {
    background-color: #000000; 
    transform: scale(1.3); 
}