/* Choose Item Modern Box Styles */
/* Choose Item Modern Box Styles */
.choose-item {
        background: linear-gradient(135deg, #4070F4 60%, #265DF2 100%);
        border-radius: 18px;
        box-shadow: 0 6px 24px rgba(64,112,244,0.18), 0 1.5px 8px rgba(38,93,242,0.10);
        color: #fff;
        padding: 2.2rem 1.5rem 1.5rem 1.5rem;
        margin-bottom: 2rem;
        position: relative;
        overflow: hidden;
        transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.35s;
        animation: box-fade-in 1.2s ease;
}
.choose-item:hover {
        transform: translateY(-12px) scale(1.04);
        box-shadow: 0 16px 48px rgba(64,112,244,0.22), 0 2px 12px rgba(38,93,242,0.18);
        background: linear-gradient(135deg, #265DF2 60%, #4070F4 100%);
}
.choose-item:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow: 0 16px 48px rgba(64,112,244,0.22), 0 2px 12px rgba(38,93,242,0.18);
    background: linear-gradient(135deg, #265DF2 60%, #4070F4 100%);
}
@keyframes box-fade-in {
    0% { opacity: 0; transform: scale(0.92); }
    100% { opacity: 1; transform: scale(1); }
}
.choose-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(64,112,244,0.18);
    animation: icon-bounce 1.2s infinite alternate;
}
.choose-text h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px rgba(64,112,244,0.15);
}
.choose-text p {
    font-size: 1rem;
    color: #e0e7ff;
    margin-bottom: 0;
    line-height: 1.7;
}
@media (max-width: 768px) {
    .choose-item {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
        border-radius: 12px;
    }
    .choose-icon {
        font-size: 2rem;
    }
    .choose-text h4 {
        font-size: 1.1rem;
    }
    .choose-text p {
        font-size: 0.95rem;
    }
}
/* Headline Section Styling */
.headline {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
}
.headline h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.headline h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #707070;
    margin-bottom: 0;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .headline h2 {
        font-size: 2rem;
    }
    .headline h3 {
        font-size: 1.1rem;
    }
}
/* Headline Section Styling */

.headline {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 2.5rem 0 2rem 0;
    background: linear-gradient(90deg, #4070F4 0%, #265DF2 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(64,112,244,0.18);
    position: relative;
    overflow: hidden;
}
.headline h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 4px 16px rgba(64,112,244,0.25);
    border-bottom: 4px solid #fff;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.headline h3 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #e0e7ff;
    margin-bottom: 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(64,112,244,0.18);
}
@media (max-width: 768px) {
    .headline h2 {
        font-size: 2.2rem;
        border-bottom-width: 2px;
    }
    .headline h3 {
        font-size: 1.2rem;
    }
}
/* Blog Grid Layout - 2 Column Design */
.blog-carousel .owl-stage {
    display: flex;
    flex-wrap: wrap;
    margin-right: -25px; /* Offset the right margin of items */
}

.blog-carousel .owl-item {
    flex: 0 0 calc(50% - 25px) !important;
    height: auto !important;
    margin-right: 25px !important;
    margin-bottom: 30px !important;
}

@media (max-width: 768px) {
    .blog-carousel .owl-item {
        flex: 0 0 100% !important;
        margin-right: 0 !important;
    }
}


/* Responsive Section Spacing */
.section-padding {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}
@media (min-width: 768px) {
    .section-padding {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }
}
@media (min-width: 992px) {
    .section-padding {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }
}

.section-margin {
    margin-top: 60px !important;
    margin-bottom: 60px !important;
}
@media (min-width: 992px) {
    .section-margin {
        margin-top: 100px !important;
        margin-bottom: 100px !important;
    }
}

.section-padding-bottom {
    padding-bottom: 60px !important;
}
@media (min-width: 768px) {
    .section-padding-bottom {
        padding-bottom: 80px !important;
    }
}
@media (min-width: 992px) {
    .section-padding-bottom {
        padding-bottom: 100px !important;
    }
}

/* Modern News Card */
.modern-news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #eef2f6;
}
.modern-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.news-img-box {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.modern-news-card:hover .news-img-box img {
    transform: scale(1.08);
}
.news-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.95);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    min-width: 60px;
}
.news-date .d-day {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
}
.news-date .d-month {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    margin-top: 2px;
}
.news-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-meta {
    margin-bottom: 12px;
}
.news-cat {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.news-cat i { color: #3b82f6; }
.news-content h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-content h3 a {
    color: #1e293b;
    transition: color 0.2s;
}
.news-content h3 a:hover {
    color: #2563eb;
}
.news-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.news-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    margin-top: auto;
}
.read-more-btn {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.read-more-btn:hover {
    gap: 10px;
    color: #1d4ed8;
}

/* Make the blog section more attractive */
.blog-area {
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    position: relative;
}
.blog-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

/* Remove carousel specific styles that might interfere with grid */
.modern-news-card {
    height: 100%;
    margin-bottom: 0;
}
/* Ensure news images always fill the container */
.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* HERO SECTION Header Modernization */
.hero-header-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
    margin-bottom: 24px;
    text-align: center;
}
.hero-header-pill {
    display: inline-block;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 12px 32px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
    font-size: 22px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}
.hero-header-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(220, 38, 38, 0.4);
}
.hero-header-sub {
    font-size: 16px;
    color: #475569;
    max-width: 720px;
    line-height: 1.6;
    font-weight: 500;
}

/* MOVED HERO CARD STYLES FROM HOME.BLADE.PHP */
.hero-section-bordered {
    border: 3px solid #06b6d4;
    border-radius: 36px;
    padding: 2.5rem 1.5rem 2.5rem 1.5rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(140deg, #e0f2fe 0%, #f8fafc 55%, #e0f7ff 100%);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    position: relative;
    overflow: hidden;
}
.hero-section-bordered::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 28px;
    background: radial-gradient(circle at 20% 20%, rgba(14,165,233,0.08), transparent 45%), radial-gradient(circle at 80% 30%, rgba(236,72,153,0.08), transparent 40%), radial-gradient(circle at 30% 80%, rgba(99,102,241,0.08), transparent 42%);
    z-index: 0;
}
.hero-section-bordered > * {
    position: relative;
    z-index: 1;
}
.hero-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.hero { display: inline-block; position: relative; width: 400px; min-width: 320px; max-width: 100%; height: 400px; border-radius: 30px; overflow: hidden; box-shadow: 5px 5px 30px rgba(0,0,0,0.3); margin: 30px 10px; background: #fff; transition: transform 0.3s ease; }
.hero:hover { transform: translateY(-5px); box-shadow: 8px 12px 40px rgba(0,0,0,0.35); }
.hero-profile-img { width: 100%; height: 70%; object-fit: cover; }
.hero-description-bk { background-image: linear-gradient(0deg , #3f5efb, #fc466b); border-radius: 30px; position: absolute; top: 55%; left: -5px; height: 65%; width: 108%; transform: skew(19deg, -9deg); z-index: 1; }
.hero.second .hero-description-bk { background-image: linear-gradient(-20deg , #bb7413, #e7d25c); }
.hero-logo { height: 80px; width: 80px; border-radius: 20px; background-color: #fff; position: absolute; bottom: 30%; left: 30px; overflow: hidden; box-shadow: 5px 5px 30px rgba(0,0,0,0.7); z-index: 2; display: flex; align-items: center; justify-content: center; }
.hero-logo i { font-size: 2.5rem; color: #3f5efb; }
.hero.second .hero-logo i { color: #bb7413; }
.hero-description { position: absolute; color: #fff; font-weight: 900; left: 150px; bottom: 26%; z-index: 2; font-size: 1.3rem; max-width: 210px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero-btn { position: absolute; color: #fff; right: 30px; bottom: 10%; padding: 10px 24px; border: 1px solid #fff; border-radius: 20px; background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); z-index: 2; font-weight: bold; text-decoration: none; transition: all 0.2s; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.hero-btn:hover { background: #fff; color: #333; transform: scale(1.05); }
@media (max-width: 900px) { .hero-row { flex-direction: column; align-items: center; } .hero { margin: 20px 0; width: 95vw; min-width: 0; } }
