/* -------- Technology Page Specific Styles -------- */

/* --- Hero Section --- */
#tech-landing-title, #tech-landing-subtext, #tech-landing-button {
    opacity: 0;
    position: relative;
    top: 50px;
    transition: opacity 1s ease-out, top 1s ease-out;
}

.landing-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(200deg, #2c204866, #10093288), url("/static/images/technology-background.21fbdeb1166e.png") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.landing-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(6, 0, 0, 0.486) 20%);
    z-index: 1;
}

.overlay {
    position: relative;
    width: 90%;
    max-width: 1100px;
    z-index: 2;
    padding: 2rem;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    margin-bottom: 2rem;
    animation: slideDown 1s ease-out;
}

.badge-text {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.overlay h1 {
    font-family: 'Gelica', sans-serif !important;
    font-weight: 300 !important;
    font-size: 4rem;
    line-height: 1.2;
    color: white;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.gradient-text {
    background: linear-gradient(135deg, #4a90e2 0%, #7b68ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
}

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

.overlay p {
    font-family: "Neue Montreal", sans-serif !important;
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.btn-hero-primary {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: white;
    text-decoration: none;
}

.btn-hero-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

/* Responsive Adjustments for Hero Section */
@media (max-width: 992px) {
    .overlay h1 {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .overlay {
        width: 95%;
        padding: 1rem;
    }
    .overlay h1 {
        font-size: 2.5rem;
    }
    .overlay p {
        font-size: 1.1rem;
    }
    
    .hero-badge {
        margin-bottom: 1.5rem;
    }
    
    .badge-text {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }
}

@media (max-width: 576px) {
    .overlay h1 {
        font-size: 2rem;
    }
    .overlay p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* --- Description Section --- */
.description-section {
    padding: 50px 20px;
}

.d-title {
    width: 50%;
}

.description-title {
    font-family: 'Gelica', sans-serif;
    font-weight: 300;
    font-size: 48px;
    line-height: 56px;
    color: rgb(27, 31, 32);
    margin-top: 20px;
}

.description-text {
    font-family: 'Neue Montreal', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: rgb(27, 31, 32);
    margin-top: 20px;
}

@media (max-width: 992px) {
    .d-title {
        width: 100%;
    }
    .description-title {
        font-size: 40px;
        line-height: 48px;
    }
    .description-text {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 768px) {
    .d-title {
        width: 100%;
    }
    .description-title {
        font-size: 32px;
        line-height: 40px;
    }
    .description-text {
        font-size: 14px;
        line-height: 22px;
    }
}

.description-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.description-image.animate {
    opacity: 1;
    transform: translateY(0);
}

/* --- Solutions Slider (Technology Components) --- */
.solutions-slider {
    width: 100%;
    padding: 80px 0;
    background: #f0f0f0;
}

.solution-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 900px;
    margin: auto;
    gap: 40px;
}

.solution-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    object-fit: cover;
}

.solution-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    max-width: 500px;
}

.solution-text h2 {
    font-size: 1.7rem;
    font-weight: bold;
    color: #2C2048;
}

.solution-text p {
    font-size: 1.2rem;
    color: #2C2048;
}

.solution-text {
    padding: 40px;
}

@media (max-width: 768px) {
    .solution-slide {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .solution-image img {
        max-width: 90%;
    }
    .solution-content {
        max-width: 90%;
    }
    .solution-text {
        padding: 20px;
    }
    .solution-text h2 {
        font-size: 1.5rem;
    }
    .solution-text p {
        font-size: 1rem;
    }
}

/* Carousel Pagination Indicators */
.carousel-indicators {
    position: absolute;
    bottom: -50px;
}

.carousel-indicators [data-bs-target] {
    background-color: #94989c;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #284b63;
}

/* Carousel Navigation Buttons */
.carousel-control-prev,
.carousel-control-next {
    width: auto;
    filter: invert(1);
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev img,
.carousel-control-next img {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

/* --- Technology Benefits Section --- */
.technology-benefits {
    background-color: #f0f0f0;
    padding: 60px 20px;
}

.section-title {
    font-family: 'Gelica', sans-serif;
    font-weight: 300;
    font-size: 48px;
    line-height: 56px;
    color: rgb(27, 31, 32);
    margin-top: 100px;
    margin-bottom: 15px;
}

.section-subtitle {
    font-family: 'Neue Montreal', sans-serif;
    font-size: 20px;
    color: #2C2048;
    margin-bottom: 40px;
}

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
    transform: translateY(30px);
}

.benefit-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.benefit-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.benefit-icon .material-icons {
    font-size: 50px;
    color: #2C2048;
    transition: transform 0.3s ease-in-out;
}

.benefit-card:hover .material-icons {
    transform: scale(1.1);
}

.benefit-title {
    font-size: 22px;
    font-weight: 600;
    color: #284b63;
    margin-bottom: 10px;
}

.benefit-text {
    font-size: 16px;
    color: #2C2048;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    .benefit-card {
        padding: 25px;
    }
    .benefit-title {
        font-size: 20px;
    }
    .benefit-text {
        font-size: 15px;
    }
}

.benefit-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 22px 28px 22px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(44, 78, 99, 0.10), 0 1.5px 3px rgba(60, 110, 113, 0.10);
    transition: box-shadow 0.4s, transform 0.33s, border 0.2s;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}
.benefit-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.benefit-card.shadow-hover:hover {
    box-shadow: 0 8px 30px 0 rgba(60, 110, 113, 0.22), 0 1.5px 4px rgba(60, 110, 113, 0.18);
    border-color: #2C2048;
    transform: translateY(-8px) scale(1.02);
}
.gradient-icon-bg {
    background: linear-gradient(120deg, #2C2048 10%, #E471AB 90%);
    border-radius: 50%;
    padding: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(44, 78, 99, 0.13);
}
.benefit-icon .material-icons {
    font-size: 42px;
    color: #fff;
    transition: transform 0.33s;
}
.benefit-card:hover .material-icons {
    transform: scale(1.18) rotate(-3deg);
}
.benefit-title {
    font-size: 21px;
    font-weight: 600;
    color: #284b63;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}
.benefit-text {
    font-size: 15.5px;
    color: #2C2048;
    line-height: 1.5;
}
@media (max-width: 992px) {
    .section-title {
        font-size: 38px;
    }
    .benefit-card {
        padding: 28px 16px;
        min-height: 230px;
    }
    .benefit-title {
        font-size: 19px;
    }
}
@media (max-width: 768px) {
    .section-title {
        font-size: 26px;
    }
    .benefit-card {
        padding: 22px 10px;
    }
}









/* Technology Blocks */
        .technology-section {
            padding: 6rem 0;
            position: relative;
        }

        .flow-column {
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            height: 100%;
            gap: 2rem; /* Adds space between cards */
        }

        .center-column {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1; /* Ensure center column is above the arrows */
        }

        .flow-card {
            background-color: white;
            border: 1px solid #e2e8f0;
            border-radius: 1rem; /* Softer corners */
            text-align: center;
            padding: 1.5rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
        }

        .flow-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        .center-card {
            padding: 2rem;
        }

        .center-card .icon-wrapper {
            width: 80px;
            height: 80px;
            margin: 1rem auto;
            background: linear-gradient(135deg, #2C2048 0%, #E471AB 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        .flow-card p {
            margin-bottom: 0;
            font-weight: 500;
            color: #334155; /* Darker text for better contrast */
        }
        
        .center-card p {
            color: #0f172a;
            font-weight: 600;
        }

        /* Styles for the connecting arrows */
        .arrow-connector {
            position: absolute;
            width: 4vw; /* Use viewport width for responsive arrow length */
            max-width: 50px; /* Max length for large screens */
            min-width: 30px; /* Min length for smaller screens */
            height: 2px;
            background-color: #cbd5e1;
            top: 50%;
            transform: translateY(-50%);
            z-index: 0;
        }

        .arrow-connector.from-left {
            right: calc(100% - 1.5rem); /* Position outside the card */
        }

        .arrow-connector.to-right {
            left: calc(100% - 1.5rem);
        }

        .arrow-connector::after {
            content: '';
            position: absolute;
            top: -5px;
            width: 12px;
            height: 12px;
            border-top: 2px solid #cbd5e1;
            border-right: 2px solid #cbd5e1;
        }

        .arrow-connector.from-left::after {
            right: -8px;
            transform: rotate(45deg);
        }

        .arrow-connector.to-right::after {
            right: -8px;
            transform: rotate(45deg);
        }

        /* Hide arrows when columns stack on small screens */
        @media (max-width: 767.98px) {
            .arrow-connector {
                display: none;
            }
            .flow-column {
                gap: 1.5rem;
            }
        }