﻿/* ================= FEATURES ================= */

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding: 50px 20px;
}

.feature-item {
    flex: 1;
    min-width: 220px;
    text-align: center;
}

.circle-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
}

.light-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 6px solid #f0f0f0;
    opacity: 0.8;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
}

svg.progress-ring {
    width: 160px;
    height: 160px;
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-125deg);
}

.progress-ring__circle {
    stroke: var(--accent-color);
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 465;
    stroke-dashoffset: 465;
    transition: stroke-dashoffset 1.8s ease-out;
}

.icon {
    font-size: 3.8rem;
    color: var(--accent-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.number {
    position: absolute;
    top: -9px;
    left: 3px;
    width: 44px;
    height: 44px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.title {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.description {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    max-width: 260px;
    margin: 0 auto;
}

/* Accent colors */
.item-1 {
    --accent-color: #8e44ad;
}

.item-2 {
    --accent-color: #e67e22;
}

.item-3 {
    --accent-color: #3498db;
}

.item-4 {
    --accent-color: #e74c3c;
}

.feature-item:hover .circle-wrapper {
    transform: scale(1.08);
    transition: transform 0.3s ease;
}

@media (max-width: 900px) {
    .features-container {
        flex-direction: column;
        align-items: center;
    }
}

/* ================= CONTENT ================= */

.content-box {
    max-width: 100%;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    text-align: center;
}

.descriptions {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* SECOND main-heading kept */
.main-heading {
    font-size: 32px;
    color: linear-gradient(to right, #007bff, #251a80, #251a80);
    margin-bottom: 15px;
}

/* ================= TYPING ================= */

.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #0d6efd;
    width: 0;
    animation: typing 4s steps(30, end) infinite, blink 0.7s infinite;
}

@keyframes typing {
    0% {
        width: 0;
    }

    50% {
        width: 100%;
    }

    100% {
        width: 0;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* ================= KEYPOINTS ================= */

.keypoints {
    display: flex;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    min-height: 600px;
}

.keys {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: black;
}

    .keys h1 {
        font-size: 2.5rem;
        margin-bottom: 30px;
        line-height: 1.2;
    }

.key-points {
    list-style: none;
}

    .key-points li {
        margin-bottom: 20px;
        font-size: 1.2rem;
        padding-left: 30px;
        position: relative;
        opacity: 0;
        transform: translateX(-30px);
        transition: all 0.6s ease;
    }

        .key-points li.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .key-points li::before {
            content: "✓";
            position: absolute;
            left: 0;
            font-weight: bold;
            color: #a8ffda;
        }

.right {
    flex: 1;
    background: url('@Url.Content("~/Images/digital.png")') center/cover no-repeat;
    min-height: 600px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .keypoints {
        flex-direction: column;
    }

    .keys {
        padding: 50px;
    }

    .right {
        min-height: 400px;
    }
}

@media (max-width: 576px) {
    .keys h1 {
        font-size: 2rem;
    }

    .keys {
        padding: 40px 30px;
    }
}

/* ================= ROOT (SECOND ONLY) ================= */

:root {
    --msi-red: #e30613;
}

/* ================= CARDS ================= */

.card-body {
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.icon-large {
    margin-bottom: 1rem;
}

/* ================= ABOUT ================= */

.slide-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px;
}

.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
    margin-right: 25px;
}

.point-row {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
}

.point-text h6 {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.point-text p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.7rem;
    line-height: 1.5;
}

/* SECOND color definitions kept */
.color-1,
.color-2,
.color-3,
.color-4,
.color-5,
.color-6,
.color-7,
.color-8,
.color-9,
.color-10,
.color-11 {
    background: linear-gradient(135deg, #81d4fa, #0288d1);
}

@media (max-width: 768px) {
    .point-row {
        flex-direction: column;
        text-align: center;
    }

    .circle {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

.hero-section {
    position: relative;
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    min-height: 90vh; /* Ensures full-screen height for proper vertical centering */
    background-image: url('@Url.Content("~/Images/about.jpg")'); /* Keep your image */

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 40px; /* Reduced bottom padding – curve handles the transition */
    overflow: hidden;
    text-align: center; /* Centers the h1 text itself */
}

/* Dark overlay (unchanged) */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 10, 40, 0.75);
    z-index: 1;
}

/* Ensure content stays above the new border */
.welcome-content {
    z-index: 3; /* Above both overlay and new border */
}

/* Pronounced white bottom curve (unchanged) */
.hero-section::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -200px;
    transform: translateX(-50%);
    width: 180%;
    height: 300px;
    background-color: #ffffff;
    border-radius: 100% 100% 0 0;
    border: 17px solid #bbc5ca;
    z-index: 2;
}

/* Content above overlay */
.welcome-content {
    position: relative;
    z-index: 2;
    width: 100%; /* Allows full-width centering */
}

    /* Larger, bolder heading for impact */
    .welcome-content h1 {
        font-size: 48px; /* Bigger for hero impact */
        color: #ffffff;
        margin: 0;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

/* Mobile responsiveness */
@@media (max-width: 768px) {
    .welcome-content h1 {
        font-size: 36px;
    }

    .hero-section {
        min-height: 80vh;
        padding: 40px 20px;
    }
}

.title {
    font-size: 2.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to bottom, #21409d, #1996ba);
    margin: 0 auto 3rem;
}

.intro-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666;
}

.left-box {
    background: linear-gradient(to bottom, #21409d, #1996ba);
    color: white;
    padding: 0.9rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

    .left-box h2 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        position: relative;
    }

    .left-box p {
        opacity: 0.95;
        font-size: 0.7rem;
        line-height: 1.7;
    }

.center-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    height: 100%;
}

.number-box {
    width: 45px;
    height: 45px;
    background: linear-gradient(to bottom, #21409d, #1996ba);
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.item-2 .number-box {
    background: linear-gradient(to bottom, #0088cc, #005f99);
}

.list-text h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.list-text p {
    font-size: 0.7rem;
    color: #666;
    line-height: 1.6;
}

@@media (max-width: 992px) {
    .title {
        font-size: 2.4rem;
    }
}

@@media (max-width: 768px) {
    .title {
        font-size: 2.2rem;
    }
}

.section {
    display: flex;
    align-items: center;
    min-height: 40vh;
    max-height: 40vh;
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

    .section.reverse {
        flex-direction: row-reverse;
    }

.image-side {
    flex: 1;
    padding: 0 40px;
}

    .image-side img {
        width: 82%;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        object-fit: cover;
        max-width: 600px;
    }

.text-side {
    flex: 1;
    padding-right: 20px;
}

/* Looping typing heading */
.typing-heading {
    position: relative;
    font-size: 2rem;
    font-weight: 700;
    color: #21409d;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    height: 1.2em;
}

@@keyframes typingLoop {
    0% {
        width: 0;
    }

    33.33% {
        width: 100%;
    }

    66.66% {
        width: 100%;
    }

    100% {
        width: 0;
    }
}

@@keyframes blink {
    0%, 50% {
        opacity: 1;
    }

    51%, 100% {
        opacity: 0;
    }
}

@@media (max-width: 992px) {
    .section, .section.reverse {
        flex-direction: column;
    }

    .image-side, .text-side {
        padding: 20px 0;
    }

    .typing-heading {
        font-size: 2.2rem;
        white-space: normal;
    }

        .typing-heading::before {
            white-space: normal;
        }
}

.section {
    display: flex;
    align-items: center;
    min-height: 80vh;
    min-height: 60vh;
    max-height: 60vh;
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

    .section.reverse {
        flex-direction: row-reverse;
    }

.image-side {
    flex: 1;
    perspective: 1500px; /* Creates 3D space */
    position: relative;
}

    .image-side img {
        width: 82%;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        transition: transform 0.5s ease, box-shadow 0.5s ease;
        transform-style: preserve-3d;
        object-fit: cover;
        max-height: 300px;
    }

.text-side {
    flex: 1;
}

/* Responsive */
@@media (max-width: 992px) {
    .section, .section.reverse {
        flex-direction: column;
    }

    .image-side, .text-side {
        padding: 20px 0;
    }
}

.typing-heading {
    border-right: 3px solid #1996ba;
    animation: typing 4s steps(40) infinite, blink 0.8s infinite;
    width: 0; /* Start hidden */
}

@@keyframes blink {
    0%, 50% {
        border-color: transparent;
    }

    51%, 100% {
        border-color: #1996ba;
    }
}

.typing-heading {
    /* existing styles */
    animation: typing 4s steps(40, end) forwards, blink-caret 0.8s infinite;
    width: 0;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #1996ba;
}

@@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }

    50% {
        border-color: #1996ba;
    }
}



a {
    text-decoration: underline;
}

.image-container {
    position: relative;
    display: inline-block;
    max-width: 200px; /* Adjust as needed */
}

.rounded-image {
    border-radius: 25px; /* Slightly less than border for inner white space effect */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

    .rounded-image img {
        width: 100%;
        height: auto;
        display: block;
        filter: brightness(0.95) contrast(1.1); /* Optional: to mimic black-and-white with slight tone */
    }

.getintouch-title {
    text-align: center;
    font-weight: bold;
    color: #21409d;
    margin-bottom: 40px;
    font-size: 1.7rem;
}


.getintouch-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* Card styles - unique classes */
.getintouch-card {
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}

    .getintouch-card:hover {
        transform: translateY(-10px);
    }

.getintouch-card-img {
    height: 140px;
    object-fit: cover;
    width: 100%;
}

.getintouch-card-body {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.getintouch-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.getintouch-card-text {
    color: #555;
    flex-grow: 1;
    margin-bottom: 20px;
}

.getintouch-btn {
    color: #3b82f6;
    border: 2px solid #3b82f6;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: auto;
    width: 100%;
}


.getintouch-card-title {
    background: #f7f5f6;
    text-transform: uppercase;
    font-size: 18px;
    padding: 25px 10px 20px;
    font-weight: bold;
    justify-content: center;
}

.getintouch-card-body figcaption {
    padding: 20px;
    color: #666;
    min-height: 120px;
}

    .getintouch-card-body figcaption ul li {
        list-style: none !important;
    }

.policy-image-container img {
    width: 100%;
    height: 192px; /* desktop */
    object-fit: cover;
}


