/* Custom Stylesheet for Pallikoodam Homepage Redesign */

/* Typography Overrides */
.serif-title {
    font-family: var(--title-font);
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.section-label {
    font-family: var(--body-font);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: inline-block;
}



/* Hero Section */
.custom-hero {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
}

.custom-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

.custom-hero .container {
    position: relative;
    z-index: 2;
}

.hero-subtitle-box {
    margin-bottom: 25px;
}

.hero-rank-text {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.hero-ranking-source {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 400;
}

.hero-main-title {
    font-family: var(--title-font);
    font-size: 58px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 45px;
    line-height: 1.25;
}

/* Hero Horizontal Outlined Circular Info Items */
.hero-info-row {
    display: flex;
    gap: 45px;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.info-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hero-info-item:hover .info-circle {
    border-color: var(--primary-color);
    background-color: rgba(245, 133, 87, 0.1);
    transform: scale(1.05);
}

.info-text {
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Vertical Nav Links with Orange line prefixes */
.hero-nav-vertical {
    margin-top: 55px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.hero-nav-item .nav-line {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    display: inline-block;
    transition: width 0.3s ease;
}

.hero-nav-item .nav-text {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.hero-nav-item:hover .nav-line {
    width: 40px;
}

.hero-nav-item:hover .nav-text {
    color: var(--primary-color);
    padding-left: 5px;
}

/* What Makes Us Different Grid */
.diff-grid {
    margin-top: 0px;
}

.diff-card {
    border: 1px solid #eaeaea;
    border-radius: 5px;
    padding: 40px 30px;
    text-align: center;
    background: #fff;
    transition: all 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.diff-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.diff-card-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.diff-card-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
}

/* Our Foundation section */
.foundation-section {
    background-color: #fdf9f6;
    padding: 100px 0;
}

.section-label-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.section-label-wrapper .label-line {
    width: 25px;
    height: 1px;
    background-color: var(--primary-color);
    display: inline-block;
}

.section-label-wrapper .section-label {
    margin-bottom: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.foundation-title {
    font-family: var(--title-font);
    font-size: 48px;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 30px;
}

.foundation-read-more {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.foundation-read-more:hover {
    color: var(--primary-color);
    gap: 12px;
}

/* Mrs. Mary Roy profile card */
.founder-card {
    background: #f9f6ef;
    border: none;
    box-shadow: 0 15px 35px rgb(0 0 0 / 30%);
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    max-width: 420px;
    margin: 0 auto;
}

.founder-image-wrapper {
    overflow: hidden;
    margin-bottom: 0;
    height: auto;
    border-radius: 0;
}

.founder-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-bottom: 1px solid #EAE3DA;
    transition: transform 0.5s ease;
}

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

.founder-card-content {
    padding: 30px 20px;
    border-top: 1px solid #ee8359;
}

.founder-name {
    font-family: var(--title-font);
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.founder-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 18px;
}

.founder-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
}

.founder-lifespan {
    font-size: 12px;
    font-weight: 500;
    color: #999;
}

/* Beyond the Classroom section */
.beyond-section {
    background-image: url('../img/bg/services-bg.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    z-index: 1;
    padding: 50px 0;
}

.beyond-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(253, 251, 247, 0.50) !important;
    z-index: -1;
}

.beyond-grid {
    margin-top: 5px;
}

.beyond-img-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

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

.beyond-img-card:hover img {
    transform: scale(1.04);
}

.beyond-img-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.beyond-card-overlay {
    position: absolute;
    left: 25px;
    bottom: 25px;
    z-index: 2;
}

.beyond-card-overlay h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: capitalize;
}

.tall-card {
    height: 480px;
}

.short-card {
    height: 230px;
}

@media (max-width: 767px) {
    .tall-card {
        height: 300px;
        margin-bottom: 20px;
    }

    .short-card {
        height: 230px;
        margin-bottom: 20px;
    }
}

/* Slider Controls */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 35px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--primary-color);
}

.slider-arrow {
    background: none;
    border: none;
    font-size: 28px;
    color: #bca897;
    cursor: pointer;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.slider-arrow:hover {
    color: var(--primary-color);
}

/* Campus Highlights Updates Listing style */
.highlights-section {
    background: #fdf9f6;
    padding: 50px 0;
}

.highlights-wrapper-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    border: 1px solid #eae2d9;
}

.highlights-left-col {
    background: #ffffff;
}

.highlights-left-content {
    padding: 60px 50px;
}

.update-list {
    margin-top: 30px;
}

.custom-update-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border: 1px solid #ebdcd0;
    border-radius: 10px;
    text-decoration: none;
    color: #3b3b3b;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.custom-update-item:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(220, 118, 95, 0.08);
    background: #fffdfc;
    padding-left: 20px;
    /* Reset original padding animation */
}

.custom-update-item i {
    font-size: 14px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.custom-update-item:hover i {
    transform: translateX(5px);
}

.view-all-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.view-all-link {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: var(--primary-color);
    gap: 10px;
}

/* Video Thumbnail style */
.highlights-right-col {
    position: relative;
}

.highlights-right-col .custom-video-box {
    height: 100%;
    position: relative;
    border-radius: 0;
    box-shadow: none;
    min-height: 450px;
}

.highlights-right-col .custom-video-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .highlights-left-content {
        padding: 40px 30px;
    }

    .highlights-right-col .custom-video-box {
        height: 380px;
        min-height: auto;
    }
}

.custom-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    animation: pulsePlay 2s infinite;
    z-index: 2;
    transition: all 0.3s ease;
}

.custom-video-play-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

@keyframes pulsePlay {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Alumni Testimonials style */
.testimonial-section {
    padding: 50px 0;
}

.alumni-card {
    background: #fdf9f6;
    border: 1px solid #eae2d9;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.alumni-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.alumni-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.alumni-name {
    font-family: var(--title-font);
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.alumni-title {
    font-size: 13px;
    color: #666;
    margin: 2px 0 0 0;
}

.alumni-quote-wrapper {
    position: relative;
    margin: 15px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-mark {
    font-size: 26px;
    color: var(--primary-color);
    font-family: var(--title-font);
    line-height: 1;
    display: block;
}

.quote-start {
    text-align: left;
    margin-bottom: 0px;
}

.quote-end {
    text-align: right;
    margin-top: 0px;
}

.alumni-body {
    font-size: 14.5px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
    font-style: italic;
    padding: 0 10px;
}

.alumni-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.alumni-read-more:hover {
    gap: 8px;
}

@media (max-width: 767px) {
    .alumni-card {
        height: auto;
        min-height: 380px;
    }
}

/* Kalari Play School Section */
.play-school-section {
    background-color: #fdf9f6;
    padding: 100px 0;
}

.play-school-content {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
}

.play-school-logo-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #4a6f52;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(74, 111, 82, 0.15);
}

.malayalam-title {
    font-family: var(--title-font);
    font-size: 42px;
    font-weight: 700;
    color: #2c4d32;
    margin-bottom: 5px;
    line-height: 1.1;
}

.play-school-title {
    font-family: var(--title-font);
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.1;
}

.play-school-link {
    font-size: 15px;
    font-weight: 700;
    color: #4a6f52;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    margin-top: 10px;
    border-bottom: 1.5px solid transparent;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.play-school-link:hover {
    color: #2c4d32;
    gap: 10px;
    border-bottom-color: #2c4d32;
}

.play-school-features-card {
    background: #fdf9f6;
    border: 1px solid #eae2d9;
    border-radius: 15px;
    padding: 22px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
}

.play-school-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: center;
    padding: 0 15px;
}

.play-school-feature-item:not(:last-child) {
    border-right: 1px solid #e5dbd0;
}

.play-school-feature-item .feature-icon {
    color: #4a6f52;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.play-school-feature-item .feature-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.play-school-feature-item .feature-text span {
    font-size: 13px;
    font-weight: 700;
    color: #38563f;
    font-family: var(--body-font);
}

.play-school-img-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    height: 450px;
}

.play-school-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .play-school-img-box {
        margin-top: 40px;
        height: 380px;
    }
}

@media (max-width: 767px) {
    .play-school-features-card {
        flex-direction: column;
        gap: 20px;
        padding: 25px 15px;
    }

    .play-school-feature-item {
        width: 100%;
        justify-content: flex-start;
        padding: 0 5px;
    }

    .play-school-feature-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #e5dbd0;
        padding-bottom: 15px;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 50px 0;
}

.gallery-grid-img {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    height: 220px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.gallery-grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-grid-img:hover img {
    transform: scale(1.06);
}

/* Custom Footer */
.custom-footer {
    background-color: #f9f5eb;
    border-top: 1px solid #eee;
    color: #333;
    padding-top: 80px;
}

.custom-footer .footer-widget {
    margin-bottom: 40px;
}

.custom-footer .f-widget-title h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
    color: #1a1a1a;
}

.custom-footer .f-widget-title h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.custom-footer .footer-logo-img {
    height: 60px;
    margin-bottom: 20px;
}

.custom-footer .footer-info-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.custom-footer .footer-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14.5px;
    line-height: 1.5;
    color: #555;
}

.custom-footer .footer-info-list li i {
    color: var(--primary-color);
    font-size: 15px;
    margin-top: 3px;
}

.custom-footer .footer-info-list li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-footer .footer-info-list li a:hover {
    color: var(--primary-color);
}

.custom-footer .footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-footer .footer-links-list li {
    margin-bottom: 12px;
}

.custom-footer .footer-links-list li a {
    color: #555;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.custom-footer .footer-links-list li a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.custom-footer .footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-footer .footer-social-list li {
    margin-bottom: 12px;
}

.custom-footer .footer-social-list li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #555;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-footer .footer-social-list li a i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}

.custom-footer .footer-social-list li a:hover {
    color: var(--primary-color);
}

.custom-footer .footer-social-list li a:hover i {
    background-color: var(--primary-color);
    color: #fff;
    transform: rotate(360deg);
}

.custom-footer .copyright-wrap {
    border-top: 1px solid #eaeaea;
    /*padding: 25px 0;*/
    margin-top: 40px;
    font-size: 13.5px;
    color: #666;
}

.custom-footer .footer-weberge-logo {
    height: 24px;
    vertical-align: middle;
}

/* Custom slider styles to prevent Cumulative Layout Shift (CLS) on page load */
.beyond-slide:not(:first-child),
.testimonial-slide:not(:first-child),
.gallery-slide:not(:first-child) {
    display: none;
}

/* =========================================================
   WHAT MAKES US DIFFERENT
   ========================================================= */

.service-details-two {
    position: relative;
    padding: 70px 0 55px;
    background: #ffffff;
    overflow: hidden;
}


/* ---------------------------------------------------------
   Decorative Background Graphics
   --------------------------------------------------------- */

.service-details-two::before {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    top: -250px;
    left: -180px;

    border: 70px solid rgba(255, 128, 80, 0.055);
    border-radius: 50%;

    pointer-events: none;
    z-index: 0;
}


.service-details-two::after {
    content: "";
    position: absolute;

    width: 380px;
    height: 380px;

    bottom: -250px;
    right: -170px;

    border: 65px solid rgba(255, 128, 80, 0.05);
    border-radius: 50%;

    pointer-events: none;
    z-index: 0;
}


/* Content above graphics */

.service-details-two .container {
    position: relative;
    z-index: 2;
}


/* ---------------------------------------------------------
   Heading
   --------------------------------------------------------- */

.diff-main-title {
    margin-top: 14px;
    margin-bottom: 12px;
}

.diff-intro {
    max-width: 650px;
    margin: 0 auto 38px;
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   Grid
   --------------------------------------------------------- */

.diff-grid {
    margin-left: -10px;
    margin-right: -10px;
}

.diff-grid > div {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}


/* ---------------------------------------------------------
   Cards
   --------------------------------------------------------- */

.diff-card {
    position: relative;

    min-height: 165px;
    height: 100%;

    padding: 28px 25px;

    background: #fcfbfa;

    border: 1px solid #e8e8e8;
    border-radius: 8px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
	box-shadow: 2px 2px 8px #dfdedd;
}


/* Bottom accent */

.diff-card::before {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 3px;

    background: #ff8050;

    border-radius: 3px 3px 0 0;

    transform: translateX(-50%);

    transition: width 0.35s ease;
}


.diff-card:hover {
    transform: translateY(-6px);

    border-color: #ff8050;

    box-shadow: none; /*0 12px 30px rgba(0, 0, 0, 0.07);*/
}


.diff-card:hover::before {
    width: 55px;
}


/* ---------------------------------------------------------
   Icons
   --------------------------------------------------------- */

.diff-card-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    color: #ff8050;

    font-size: 29px;

    transition: transform 0.35s ease;
}


.diff-card:hover .diff-card-icon {
    transform: scale(1.08);
}


/* ---------------------------------------------------------
   Titles
   --------------------------------------------------------- */

.diff-card-title {
    margin: 0;

    color: #1d1d1d;

    font-size: 15px;
    line-height: 1.45;

    font-weight: 600;
    letter-spacing: 0.3px;
}


/* ---------------------------------------------------------
   Description
   --------------------------------------------------------- */

.diff-card-text {
    max-width: 260px;

    margin: 7px 0 0;

    color: #777;

    font-size: 13px;
    line-height: 1.55;
}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .service-details-two {
        padding: 60px 0 45px;
    }

    .diff-intro {
        margin-bottom: 30px;
    }

    .diff-card {
        min-height: 160px;
        padding: 25px 20px;
    }

}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .service-details-two {
        padding: 50px 0 35px;
    }

    .diff-main-title {
        font-size: 28px;
        line-height: 1.25;
    }

    .diff-intro {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 28px;
        padding: 0 10px;
    }

    .diff-grid {
        margin-left: -7px;
        margin-right: -7px;
    }

    .diff-grid > div {
        padding-left: 7px;
        padding-right: 7px;
        margin-bottom: 14px;
    }

    .diff-card {
        min-height: 150px;
        padding: 22px 15px;
    }

    .diff-card-icon {
        font-size: 27px;
        margin-bottom: 10px;
    }

    .diff-card-title {
        font-size: 14px;
    }

    .diff-card-text {
        font-size: 12px;
        line-height: 1.5;
    }


    /* Smaller decorative circles */

    .service-details-two::before {
        width: 260px;
        height: 260px;

        top: -160px;
        left: -140px;

        border-width: 45px;
    }

    .service-details-two::after {
        width: 240px;
        height: 240px;

        bottom: -150px;
        right: -130px;

        border-width: 40px;
    }

}