/* --- Features Strip Section Variables --- */


:root {
    --brand-blue: #2B3990;
    --brand-red: #E31E24;
    --light-bg: #F8FAFC;
    --ice-blue: #EDF4FC;
    --dark-text: #1E293B;
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-img {
  height: auto;
  object-fit: cover;
}

/* Mobile fix */
@media (max-width: 576px) {
  .banner-img {
    height: auto;
  }
}


.features-strip-section {
    background-color: #ffffff;
    z-index: 1;
}

.text-blue { color: var(--brand-blue); }
.text-red { color: var(--brand-red); }

.letter-spacing-1 {
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

.title-divider {
    width: 60px;
    height: 3px;
    background-color: var(--brand-red);
    border-radius: 2px;
}

/* --- Ticker Base Setup --- */
.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.ticker-container {
    display: flex;
    white-space: nowrap;
    width: 100%;
}

.ticker-track {
    display: flex;
    width: max-content;
    align-items: center;
}

/* --- ROW 1: Left to Right Configuration --- */
.dir-ltr .ticker-track {
    animation: scrollLTR 25s linear infinite;
}

/* --- ROW 2: Right to Left Configuration --- */
.dir-rtl .ticker-track {
    animation: scrollRTL 25s linear infinite;
}

/* Pause animations when a user hovers to improve user interaction */
.ticker-container:hover .ticker-track {
    animation-play-state: paused;
}

/* --- Element Customization --- */
.feature-strip-item {
    background: #ffffff;
    color: var(--brand-blue);
    border: 2px solid rgba(43, 57, 144, 0.1);
    padding: 14px 28px;
    margin: 0 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.feature-strip-item:hover {
    border-color: var(--brand-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.08);
}

.image-strip-card {
    width: 300px;
    height: 370px;
    margin: 0 12px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 4px solid #ffffff;
    transition: all 0.3s ease;

}

.image-strip-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-strip-card:hover {
    transform: scale(1.04) translateY(-3px);
    box-shadow: 0 12px 30px rgba(43, 57, 144, 0.15);
}

/* --- CSS Hardware Accelerated Loop Keyframes --- */
@keyframes scrollLTR {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes scrollRTL {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* --- Premium View All Button --- */
a.btn-view-all {
    display: inline-flex;
    align-items: center;
    background: var(--ice-blue);
    color: var(--brand-blue) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 8px 8px 24px;
    border-radius: 50px;
    border: 1px solid rgba(43, 57, 144, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-circle {
    width: 36px;
    height: 36px;
    background-color: var(--brand-blue);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a.btn-view-all:hover {
    background: var(--brand-blue);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(43, 57, 144, 0.2);
}

.btn-view-all:hover .icon-circle {
    background-color: var(--brand-red);
    transform: translateX(4px);
}



/* Remove white/gray modal box */
#galleryModal .modal-content{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#galleryModal .modal-body{
    background: transparent !important;
    padding: 0;
    text-align: center;
}

/* Image */
#galleryModal img{
    display: block;
    max-width: 100%;
    max-height: 85vh;
    margin: auto;
    border-radius: 12px;
}

/* ==========================
   Mobile Responsive 576px
========================== */
@media (max-width: 576px) {

    .features-strip-section {
        padding: 50px 0 !important;
    }

    .section-title {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .letter-spacing-1 {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .feature-strip-item {
        padding: 10px 18px;
        font-size: 0.85rem;
        margin: 0 8px;
    }

    .image-strip-card {
        width: 180px;
        height: 120px;
        margin: 0 8px;
        border-radius: 14px;
    }

    .ticker-wrapper {
        padding: 5px 0;
    }

    .dir-ltr .ticker-track,
    .dir-rtl .ticker-track {
        animation-duration: 18s;
    }

    .btn-view-all {
        padding: 7px 7px 7px 18px;
        font-size: 0.85rem;
    }

    .icon-circle {
        width: 32px;
        height: 32px;
        margin-left: 10px;
        font-size: 0.8rem;
    }

    #galleryModal .modal-dialog {
        margin: 10px;
    }

    #popupImage {
        max-height: 75vh;
        width: 100%;
        object-fit: contain;
    }
}
 :root {
      --primary-dark-blue: #2B3990;
      --accent-red:        #E31E24;
      --soft-ice-blue:     #E6F0FA;
      --white:             #FFFFFF;
      --dark-text:         #1A1F36;
      --light-bg:          #f2f6fe;
    }

    /* ========== ABOUT US SECTION ========== */
    .about-section {
      padding: 4rem 0 5rem 0;
      background: var(--white);
      position: relative;
      overflow: hidden;
    }

    /* decorative accent lines */
    .about-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 6px;
      background: linear-gradient(90deg, var(--primary-dark-blue) 0%, var(--accent-red) 50%, var(--primary-dark-blue) 100%);
      opacity: 0.7;
    }

    .about-section .section-badge {
      display: inline-block;
      background: var(--soft-ice-blue);
      color: var(--primary-dark-blue);
      font-weight: 600;
      font-size: 0.8rem;
      letter-spacing: 1px;
      padding: 0.4rem 1.6rem;
      border-radius: 60px;
      text-transform: uppercase;
      margin-bottom: 0.8rem;
      border: 1px solid rgba(43, 57, 144, 0.1);
    }

    .about-section .main-title {
      font-weight: 800;
      font-size: 2.8rem;
      color: var(--primary-dark-blue);
      letter-spacing: -0.5px;
      line-height: 1.15;
    }

    .about-section .main-title span {
      color: var(--accent-red);
      position: relative;
    }

    .about-section .main-title span::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 6px;
      background: var(--accent-red);
      border-radius: 10px;
      opacity: 0.25;
    }

    .about-section .lead-text {
      color: #3d4468;
      font-size: 1.1rem;
      line-height: 1.7;
      margin-top: 1.2rem;
      max-width: 540px;
    }

    /* feature list with icons */
    .about-features {
      margin-top: 1.8rem;
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
    }

    .about-features .feature-item {
      display: flex;
      align-items: center;
      gap: 14px;
      background: var(--soft-ice-blue);
      padding: 0.7rem 1.4rem 0.7rem 1rem;
      border-radius: 50px;
      transition: all 0.2s ease;
      border-left: 4px solid var(--accent-red);
      box-shadow: 0 2px 8px rgba(0,0,0,0.02);
      max-width: 380px;
    }

    .about-features .feature-item i {
      font-size: 1.5rem;
      color: var(--accent-red);
      background: white;
      padding: 8px;
      border-radius: 50%;
      box-shadow: 0 2px 8px rgba(227, 30, 36, 0.12);
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .about-features .feature-item span {
      font-weight: 500;
      color: var(--dark-text);
      font-size: 0.98rem;
    }

    .about-features .feature-item:hover {
      transform: translateX(6px);
      background: #dce8f5;
    }

    /* ----- IMAGE SIDE (attractive with overlay) ----- */
    .about-image-wrapper {
      position: relative;
      border-radius: 28px;
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(43, 57, 144, 0.15);
      transition: transform 0.3s ease;
    }

    .about-image-wrapper:hover {
      transform: scale(1.01);
    }

    .about-image-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      min-height: 380px;
      max-height: 520px;
      display: block;
      transition: transform 0.5s ease;
    }

    .about-image-wrapper:hover img {
      transform: scale(1.03);
    }

    /* floating badge on image */
    .about-image-wrapper .floating-badge {
      position: absolute;
      bottom: 28px;
      left: 28px;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(6px);
      padding: 0.8rem 1.6rem;
      border-radius: 60px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
      display: flex;
      align-items: center;
      gap: 14px;
      border: 1px solid rgba(255,255,255,0.2);
    }

    .floating-badge i {
      font-size: 2rem;
      color: var(--accent-red);
    }

    .floating-badge .badge-text {
      display: flex;
      flex-direction: column;
    }

    .floating-badge .badge-text strong {
      font-weight: 700;
      color: var(--primary-dark-blue);
      font-size: 1.1rem;
      line-height: 1.2;
    }

    .floating-badge .badge-text small {
      font-size: 0.75rem;
      color: #5a6180;
      font-weight: 500;
      letter-spacing: 0.2px;
    }

    /* rating stars on image */
    .about-image-wrapper .rating-stars {
      position: absolute;
      top: 24px;
      right: 24px;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(4px);
      padding: 0.5rem 1.2rem;
      border-radius: 40px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.06);
      display: flex;
      align-items: center;
      gap: 8px;
      border: 1px solid rgba(255,255,255,0.3);
    }

    .rating-stars i {
      color: #f5b342;
      font-size: 1.2rem;
    }

    .rating-stars span {
      font-weight: 600;
      color: var(--dark-text);
      font-size: 0.9rem;
      margin-left: 4px;
    }

    /* ----- responsive tweaks ----- */
    @media (max-width: 992px) {
      .about-section .main-title {
        font-size: 2.2rem;
      }
      .about-section .lead-text {
        max-width: 100%;
      }
      .about-features .feature-item {
        max-width: 100%;
      }
      .about-image-wrapper img {
        min-height: 280px;
        max-height: 400px;
      }
      .floating-badge {
        bottom: 18px;
        left: 18px;
        padding: 0.5rem 1.2rem;
      }
      .floating-badge i {
        font-size: 1.5rem;
      }
    }

    @media (max-width: 576px) {
      .about-section {
        padding: 2.5rem 0 3.5rem 0;
      }
      .about-section .main-title {
        font-size: 1.8rem;
      }
      .about-image-wrapper img {
        min-height: 220px;
        max-height: 300px;
      }
      .rating-stars {
        top: 14px;
        right: 14px;
        padding: 0.3rem 0.8rem;
      }
      .rating-stars i {
        font-size: 0.9rem;
      }
      .floating-badge {
        bottom: 12px;
        left: 12px;
        padding: 0.4rem 1rem;
        gap: 8px;
      }
      .floating-badge i {
        font-size: 1.2rem;
      }
      .floating-badge .badge-text strong {
        font-size: 0.9rem;
      }
    }

/* Color Palette Variables */
:root {
    --brand-blue: #2B3990;
    --brand-red: #E31E24;
    --dark-text: #1E293B;
    --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-blue { color: var(--brand-blue); }
.text-red { color: var(--brand-red); }
.letter-spacing-1 { letter-spacing: 1.5px; font-size: 0.85rem; }
.title-divider { width: 60px; height: 3px; background-color: var(--brand-red); border-radius: 2px; }

/* --- 3D Flipping Card Core Setup --- */
.flip-card-container {
    perspective: 1200px; 
    width: 100%;
    max-width: 350px;
    height: 410px; 
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
    transform-style: preserve-3d;
}

/* Hover rotation command */
.flip-card-container:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* --- Card Base Container Structure --- */
.service-card-base {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    backface-visibility: hidden; 
    background-color: #ffffff; /* FIXED: White container background eliminates dark static borders */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.flip-card-front {
    z-index: 2;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* --- The Slow Red Moving Border Track --- */
.moving-border-track {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160%;
    height: 160%;
    z-index: 1;
}

.red-glow-track {
    /* Pure Red to sharp transparent gradient sweep */
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        var(--brand-blue) 50%,
        transparent 100%
    );
    /* FIXED: Slowed down animation execution loop to 8 seconds */
    animation: rotateBorderGlow 8s linear infinite; 
}

@keyframes rotateBorderGlow {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Keeps rotating naturally even on hover to show true fluid animation */
.flip-card-container:hover .moving-border-track {
    animation-play-state: running;
}

/* --- Interior Card Mask Layer (Creates the 3px moving stroke visual) --- */
.card-inner-content {
    position: absolute;
    top: 3px;  /* Border thickness control width */
    left: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    background: #ffffff; 
    border-radius: 14px;
    z-index: 2;
    overflow: hidden;
}

/* --- Front-Side Asset Sizing --- */
.service-icon-box {
    font-size: 1.8rem;
    color: var(--brand-blue);
    background-color: rgba(43, 57, 144, 0.05);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.flip-card-container:hover .service-icon-box {
    background-color: var(--brand-blue);
    color: #ffffff;
}

.service-img-wrapper {
    width: 90%;
    height: 170px;
    border-radius: 10px;
    overflow: hidden;
}
.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-title {
    font-weight: 700;
    color: var(--brand-blue);
    font-size: 1.25rem;
}

/* --- Back-Side Copy & Buttons --- */
.service-info-text {
    line-height: 1.6;
    font-size: 0.92rem;
    color: #475569 !important;
}

a.btn-service-read {
    background-color: var(--brand-red);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 26px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.2);
    transition: all 0.3s ease;
}
a.btn-service-read:hover {
    background-color: var(--brand-blue);
    box-shadow: 0 4px 15px rgba(43, 57, 144, 0.3);
    transform: translateY(-2px);
}

/* --- Responsive Mobile Viewport Constraints (<576px) --- */
@media (max-width: 576px) {
    .flip-card-container {
        height: 380px;
        max-width: 300px;
    }
    .service-img-wrapper {
        height: 140px;
        width: 95%;
    }
    .service-title {
        font-size: 1.15rem;
    }
    .service-info-text {
        font-size: 0.88rem;
        margin-bottom: 1.5rem !important;
    }
}


        /* ========== CONTACT SECTION ========== */
        .contact-section {
            padding: 4rem 0 5rem 0;
            background: var(--white);
            position: relative;
            overflow: hidden;
        }

        /* decorative top line */
        .contact-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--primary-dark-blue) 0%, var(--accent-red) 50%, var(--primary-dark-blue) 100%);
            opacity: 0.6;
        }

        .contact-section .section-badge {
            display: inline-block;
            background: var(--soft-ice-blue);
            color: var(--primary-dark-blue);
            font-weight: 600;
            font-size: 0.75rem;
            letter-spacing: 1px;
            padding: 0.4rem 1.8rem;
            border-radius: 60px;
            text-transform: uppercase;
            margin-bottom: 0.6rem;
            border: 1px solid rgba(43, 57, 144, 0.1);
        }

        .contact-section .main-title {
            font-weight: 800;
            font-size: 2.6rem;
            color: var(--primary-dark-blue);
            letter-spacing: -0.5px;
        }

        .contact-section .main-title span {
            color: var(--accent-red);
        }

        .contact-section .sub-text {
            color: #5a6180;
            font-size: 1.05rem;
            max-width: 480px;
        }

        /* ----- CONTACT INFO CARDS ----- */
        .contact-info-card {
            background: var(--light-bg);
            padding: 1.5rem 1.8rem;
            border-radius: 18px;
            display: flex;
            align-items: center;
            gap: 1.2rem;
            transition: all 0.3s ease;
            border-left: 4px solid var(--accent-red);
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
            height: 100%;
        }

        .contact-info-card:hover {
            transform: translateX(6px);
            background: var(--soft-ice-blue);
            box-shadow: 0 6px 20px rgba(43, 57, 144, 0.06);
        }

        .contact-info-card .info-icon {
            width: 52px;
            height: 52px;
            min-width: 52px;
            background: var(--primary-dark-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 1.4rem;
            transition: 0.3s;
        }

        .contact-info-card:hover .info-icon {
            background: var(--accent-red);
            transform: scale(1.05);
        }

        .contact-info-card .info-content h6 {
            font-weight: 700;
            color: var(--primary-dark-blue);
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 2px;
        }

        .contact-info-card .info-content p {
            margin: 0;
            color: var(--dark-text);
            font-weight: 500;
            font-size: 0.95rem;
        }

        .contact-info-card .info-content a {
            color: var(--dark-text);
            text-decoration: none;
            transition: 0.2s;
        }

        .contact-info-card .info-content a:hover {
            color: var(--accent-red);
        }

        /* ----- CONTACT FORM ----- */
        .contact-form-wrapper {
            background: var(--white);
            padding: 2.5rem 2.8rem;
            border-radius: 24px;
            box-shadow: 0 20px 50px rgba(43, 57, 144, 0.08);
            border: 1px solid rgba(43, 57, 144, 0.04);
        }

        .contact-form-wrapper .form-title {
            font-weight: 700;
            font-size: 1.4rem;
            color: var(--primary-dark-blue);
            margin-bottom: 0.3rem;
        }

        .contact-form-wrapper .form-title i {
            color: var(--accent-red);
            margin-right: 8px;
        }

        .contact-form-wrapper .form-label {
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--primary-dark-blue);
            letter-spacing: 0.2px;
        }

        .contact-form-wrapper .form-control {
            border-radius: 12px;
            padding: 0.7rem 1.2rem;
            border: 2px solid #e9edf4;
            transition: 0.25s;
            font-size: 0.95rem;
            background: #fafcff;
        }

        .contact-form-wrapper .form-control:focus {
            border-color: var(--primary-dark-blue);
            box-shadow: 0 0 0 4px rgba(43, 57, 144, 0.06);
            background: var(--white);
        }

        .contact-form-wrapper .form-control::placeholder {
            color: #b0b8ce;
            font-size: 0.9rem;
        }

        .contact-form-wrapper textarea.form-control {
            resize: vertical;
            min-height: 110px;
        }

        .btn-submit {
            background: var(--accent-red);
            border: none;
            color: var(--white);
            font-weight: 700;
            padding: 0.8rem 2.8rem;
            border-radius: 60px;
            font-size: 1rem;
            transition: all 0.25s ease;
            box-shadow: 0 6px 20px rgba(227, 30, 36, 0.25);
            border: 1px solid var(--accent-red);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            letter-spacing: 0.3px;
        }

        .btn-submit:hover {
            background: #c41a1f;
            transform: scale(1.02);
            box-shadow: 0 10px 30px rgba(227, 30, 36, 0.35);
            color: white;
        }

        .btn-submit i {
            font-size: 1.2rem;
        }

        /* ----- MAP PLACEHOLDER (stylized) ----- */
        .map-placeholder {
            background: var(--soft-ice-blue);
            border-radius: 20px;
            padding: 2.5rem 1.5rem;
            text-align: center;
            border: 2px dashed var(--primary-dark-blue);
            opacity: 0.6;
            transition: 0.3s;
            margin-top: 1.5rem;
        }

        .map-placeholder:hover {
            opacity: 0.9;
        }

        .map-placeholder i {
            font-size: 3rem;
            color: var(--primary-dark-blue);
            margin-bottom: 0.5rem;
        }

        .map-placeholder p {
            font-weight: 500;
            color: var(--primary-dark-blue);
            margin: 0;
        }

        /* ----- responsive ----- */
        @media (max-width: 991px) {
            .contact-section .main-title {
                font-size: 2.2rem;
            }
            .contact-form-wrapper {
                padding: 2rem 1.8rem;
            }
            .contact-info-card {
                padding: 1.2rem 1.4rem;
            }
        }

        @media (max-width: 576px) {
            .contact-section {
                padding: 2.5rem 0 3.5rem 0;
            }
            .contact-section .main-title {
                font-size: 1.8rem;
            }
            .contact-form-wrapper {
                padding: 1.5rem 1.2rem;
            }
            .contact-info-card .info-content p {
                font-size: 0.85rem;
            }
        }

        