/* --- Fonts & Color Variables --- */
@import url('https://googleapis.com');

:root {
    --main-blue: #0066cc;
    --dark-blue: #0a2540;
    --light-blue: #e6f0fa;
    --overlay-blue: rgba(0, 102, 204, 0.92);
    --text-color: #4a5568;
    --card-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'cairo', sans-serif;
}



/* --- Core Structural Framework --- */
.odoo-advantages-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 25px;
	margin: 0 auto;
}

.section-main-title {
    color: var(--dark-blue);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}

.section-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--main-blue);
    border-radius: 2px;
}

/* --- Carousel Container Blueprint (400px Height) --- */
.carousel-square-box1 {
    width: 100%;
    height: 400px;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(10, 37, 64, 0.06);
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 60px;
    overflow: hidden;
}

/* --- Carousel Track Architecture --- */
.carousel-track-mask {
    width: 100%;
    height: calc(100% - 40px); /* Leaves space underneath for numbering dots layout */
    overflow: hidden;
    display: flex;
    align-items: center;
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.advantage-circle-item {
    flex: 0 0 25%; /* 4 Cards shown together on large layouts */
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Interactive Element Circles Blueprint --- */
.circle-inner-frame {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 4px solid var(--light-blue);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s;
    cursor: pointer;
}

.circle-inner-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.5);
    z-index: 1;
    transition: opacity 0.3s;
}

.circle-initial-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 20px;
    text-align: center;
    transition: opacity 0.3s, transform 0.3s;
}

.circle-initial-label h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
}

/* --- Dynamic Details Overlay Sliding from the Bottom --- */
.circle-hover-details {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-blue);
    z-index: 3;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-hover-details h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 4px;
    width: 80%;
}

.circle-hover-details p {
    font-size: 0.75rem;
    line-height: 1.5;
	color: #ffffff;
}

/* --- Hover Effects --- */
.circle-inner-frame:hover {
    transform: scale(1.06) translateY(-4px);
    border-color: var(--main-blue);
    box-shadow: 0 12px 25px rgba(0, 102, 204, 0.25);
}

.circle-inner-frame:hover::before { opacity: 0; }
.circle-inner-frame:hover .circle-initial-label { opacity: 0; transform: scale(0.8); }
.circle-inner-frame:hover .circle-hover-details { bottom: 0; }

/* --- Side Navigation Arrows (With Border Boundary Opacity Transitions) --- */
.carousel-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 102, 204, 0.15);
    color: var(--main-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.08);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease, background 0.3s, color 0.3s, transform 0.2s;
}

.carousel-control-btn svg { width: 20px; height: 20px; }

.carousel-control-btn:hover {
    background: var(--main-blue);
    color: #ffffff;
    border-color: var(--main-blue);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.3);
}

.prev-btn1 { right: 12px; }
.next-btn1 { left: 12px; }

/* Hidden Class configuration used when touching index bounds boundaries */
.carousel-control-btn.hidden-boundary {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* --- Numbered Circular Dot Progress Tracking Bar --- */
.carousel-dots-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator-dot-item {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--light-blue);
    border: 1px solid rgba(0, 102, 204, 0.2);
    color: var(--main-blue);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.indicator-dot-item:hover {
    background: rgba(0, 102, 204, 0.15);
    transform: scale(1.1);
}

.indicator-dot-item.active {
    background: var(--main-blue);
    border-color: var(--main-blue);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.3);
    transform: scale(1.15);
}

/* --- Responsive Layout Optimization --- */
@media (max-width: 992px) { .advantage-circle-item { flex: 0 0 33.333%; } }

@media (max-width: 768px) {
    .carousel-square-box { padding: 0 50px; }
    .advantage-circle-item { flex: 0 0 50%; }
    .circle-inner-frame { width: 160px; height: 160px; }
    .section-main-title { font-size: 1.4rem; }
}

@media (max-width: 480px) { .advantage-circle-item { flex: 0 0 100%; } }
