/* Container Styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Main Container */

.container-hover {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: rgba(50, 50, 93, 0.15) 0px 30px 60px -12px, rgba(0, 0, 0, 0.2) 0px 18px 36px -18px;
    border-radius: 12px;
    background: white;
    height: 100%;
}


/* Styling for the item-icon */

.item-icon {
    width: 80px;
    height: 80px;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 4px solid rgb(95, 49, 175);
    background-color: white;
    box-shadow: 0 10px 25px rgba(95, 49, 175, 0.3);
    transition: all 0.4s ease;
}

.container-hover:hover .item-icon {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 15px 30px rgba(95, 49, 175, 0.4);
}


/* Content Areas */

.content-1,
.content-2 {
    display: flex;
    flex-direction: column;
    padding: 20px;
}


/* Typography */

.title {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 22px;
    color: #2c3e50;
    margin-top: 30px;
    text-align: center;
}

.description {
    line-height: 1.7;
    color: rgb(102, 102, 102);
    margin-bottom: 20px;
    font-size: 15px;
    text-align: center;
    flex-grow: 1;
}


/* Content-1 Styling */

.content-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 300px;
    color: #333;
    font-size: 18px;
    text-align: center;
    transition: all 0.4s ease;
    padding-top: 50px;
    background: white;
    position: relative;
    z-index: 1;
}


/* Content-2 Styling */

.content-2 {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 30px 20px;
    background: linear-gradient(135deg, #5f31af 0%, #8e44ad 100%);
    z-index: 1;
}


/* Hover effects */

.container-hover:hover .content-2 {
    top: 0;
}

.container-hover:hover .content-1 {
    opacity: 0;
    transform: translateY(-10px);
}


/* Read More Button Styling */

.read-more {
    margin-top: 15px;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 15px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    background: linear-gradient(135deg, #5f31af 0%, #8e44ad 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(95, 49, 175, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* changes */

.anti-heading p {
    font-size: 14px;
}

.content-2 .read-more {
    background: white;
    color: #5f31af;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.read-more:hover {
    background: linear-gradient(135deg, #4a2592 0%, #360749 100%);
    box-shadow: 0 8px 25px rgba(95, 49, 175, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.content-2 .read-more:hover {
    background: #f8f9fa;
    color: #5f31af;
}

.read-more svg {
    margin-left: 8px;
    transition: all 0.3s ease;
}

.read-more:hover svg {
    transform: translateX(5px);
}

.read-more svg path,
.read-more svg polyline {
    stroke: currentColor;
}

.content-1 p {
    color: #555;
}

.content-1 h4 {
    font-weight: 700;
    font-size: 1.3rem;
    /*Changes*/
    position: relative;
    padding-bottom: 10px;
}

.content-1 h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #5f31af 0%, #8e44ad 100%);
    border-radius: 3px;
}

.col-3 {
    margin-top: 60px;
    padding: 0 15px;
}

.inner-item {
    position: relative;
    margin-bottom: 32px;
    /*Change*/
}


/* Responsive design */

@media (max-width: 992px) {
    .col-3 {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .container-hover {
        height: auto;
    }
    .content-1,
    .content-2 {
        min-height: 250px;
        font-size: 16px;
    }
    .title {
        font-size: 20px;
    }
    .description {
        font-size: 14px;
    }
    .read-more {
        font-size: 14px;
        padding: 10px 20px;
    }
    .item-icon {
        width: 70px;
        height: 70px;
        top: -35px;
    }
}

@media (max-width: 576px) {
    .col-3 {
        margin-top: 40px;
    }
}

.box {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    height: 100%;
}

.anti-note {
    color: #5054b9;
    background-color: #00ff80;
}

.our-services {
    margin-top: 75px;
    padding-bottom: 30px;
    padding: 15px 60px;
    width: 100%;
    text-align: center;
    border-radius: 10px;
    background-color: #fff;
    transition: all .4s ease-in-out;
    box-shadow: 0 0 25px 0 rgba(20, 27, 202, .17)
}

.our-services h4 {
    font-size: 23px;
}

.anti-heading {
    min-height: 125px;
}

.our-services .icon {
    margin-bottom: -21px;
    transform: translateY(-75%);
    text-align: center
}

.our-services:hover h4,
.our-services:hover p {
    color: #fff
}

.speedup:hover {
    box-shadow: 0 0 25px 0 rgba(20, 27, 201, .05);
    cursor: pointer;
    background-image: linear-gradient(-45deg, #fb0054 0%, #f55b2a 100%)
}

.settings:hover {
    box-shadow: 0 0 25px 0 rgba(20, 27, 201, .05);
    cursor: pointer;
    background-image: linear-gradient(-45deg, #34b5bf 0%, #210c59 100%)
}

.privacy:hover {
    box-shadow: 0 0 25px 0 rgba(20, 27, 201, .05);
    cursor: pointer;
    background-image: linear-gradient(-45deg, #3615e7 0%, #44a2f6 100%)
}

.backups:hover {
    box-shadow: 0 0 25px 0 rgba(20, 27, 201, .05);
    cursor: pointer;
    background-image: linear-gradient(-45deg, #fc6a0e 0%, #fdb642 100%)
}

.ssl:hover {
    box-shadow: 0 0 25px 0 rgba(20, 27, 201, .05);
    cursor: pointer;
    background-image: linear-gradient(-45deg, #8d40fb 0%, #5a57fb 100%)
}

.database:hover {
    box-shadow: 0 0 25px 0 rgba(20, 27, 201, .05);
    cursor: pointer;
    background-image: linear-gradient(-45deg, #27b88d 0%, #22dd73 100%)
}

.read {
    background: linear-gradient(45deg, #2c2a3e, #5a537e);
    color: white;
    padding: 10px 20px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}


/* Default Arrow */

.read::after {
    content: " >";
    position: absolute;
    right: 10px;
    transition: all 0.3s ease-in-out;
}


/* Hover Effect */

.read:hover {
    background: linear-gradient(45deg, #5a537e, #2c2a3e);
    padding-right: 40px;
    color: #dedee7;
    /* Adjust space for arrow */
}


/* Change Arrow on Hover */

.read:hover::after {
    content: " ->";
    right: 5px;
    color: #dedee7;
}