.container {
    width: min(1180px, calc(100% - 32px));
    margin: auto;
}

.hero {
    position: relative;
    min-height: 420px;
    background:
            linear-gradient(90deg, #f7fbff 0%, rgba(247,251,255,.95) 38%, rgba(247,251,255,.35) 70%),
            url("https://agsavvas-hosp.gr/wp-content/uploads/2021/09/main-slider1.jpg") center right / cover no-repeat;
    display: flex;
    align-items: center;
}

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

.hero-text {
    max-width: 580px;
    padding: 60px 0;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    margin: 0 0 22px;
    color: #103c7c;
    font-weight: 800;
}

.hero p {
    font-size: 17px;
    line-height: 1.7;
    color: #4f6582;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.btn-primary,
.btn-outline,
.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(11, 99, 206, .25);
}

.btn-outline {
    background: #fff;
    color: var(--dark-blue);
    border: 1px solid #d8e6f6;
}

.btn-danger {
    background: #fff;
    color: #e33445;
    border: 1px solid #ffd6dc;
}

.hero-features {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}

.hero-features div {
    max-width: 170px;
}

.hero-features strong {
    display: block;
    color: var(--dark-blue);
    font-size: 15px;
    margin-bottom: 4px;
}

.hero-features span {
    color: var(--muted);
    font-size: 13px;
}

.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 38px;
}

.section-title span,
.section-head span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.section-title h2,
.section-head h2 {
    font-size: 34px;
    margin: 8px 0 0;
    color: var(--dark-blue);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: .25s ease;
}

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

.service-card .icon {
    font-size: 0;
    margin-bottom: 0;
}

.service-card .icon img {
    width: 100px;
    height: 130px;
    object-fit: contain;
    display: inline-block;
}

.service-card h3 {
    color: var(--dark-blue);
    margin: 0 0 12px;
}

.service-card p {
    color: #566581;
    font-size: 13px;
    line-height: 1.6;
}

.service-card span,
.department-item span,
.doctor-card a,
.news-body a,
.section-head a {
    color: var(--blue);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}
.news-body a{
    margin-top:auto;
    align-self:flex-end; /* κάτω δεξιά */
}

.departments {
    padding: 65px 0;
    background:#fff;
}

.department-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
}

.department-item {
    text-align: center;
    text-decoration: none;
    padding: 20px 10px;
}

.department-item div {
    font-size: 38px;
    margin-bottom: 16px;
}

.department-item div img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.department-item h3 {
    min-height: 48px;
    font-size: 15px;
    color: var(--dark-blue);
    margin: 0 0 14px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 30px;
}

.doctor-slider-wrap {
    position: relative;
}

.doctor-slider {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px 2px 16px;
    scrollbar-width: none;
}

.doctor-slider::-webkit-scrollbar {
    display: none;
}

.doctor-card {
    flex: 0 0 220px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.doctor-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #f4f7fa;
}

.doctor-card h3 {
    font-size: 15px;
    color: var(--dark-blue);
    margin: 16px 16px 6px;
}

.doctor-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 0 16px 12px;
}

.doctor-card a {
    display: inline-block;
    margin: 0 16px 18px;
}

.slide-btn {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    box-shadow: var(--shadow);
    font-size: 30px;
    cursor: pointer;
}

.slide-btn.prev {
    left: -20px;
}

.slide-btn.next {
    right: -20px;
}

.useful-guides-section {
    padding: 70px 0;
    background: #f5f9ff;
}

.useful-guides-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 55px 45px;
    /*background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 55, 120, 0.08);*/
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title span {
    display: block;
    color: #0054b8;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title a {
    text-decoration: none;
}

.section-title h2 {
    margin: 0;
    font-size: 36px;
    line-height: 1.15;
    color: #123c7c;
    font-weight: 800;
}

.section-title h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #0054b8;
    margin: 18px auto 0;
    border-radius: 10px;
}

.section-title p {
    margin: 22px auto 0;
    color: #536176;
    font-size: 16px;
    line-height: 1.7;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.guide-card {
    min-height: 130px;
    display: flex;
    align-items: center;
    position: relative;
    gap: 22px;
    padding: 26px 60px 26px 24px;
    background: #fff;
    border: 1px solid #dbe6f3;
    border-radius: 13px;
    text-decoration: none;
    color: #071d3a;
    box-shadow: 0 8px 22px rgba(0, 35, 90, 0.06);
    transition: 0.25s ease;
    flex-wrap: wrap;
}

.guide-card:hover {
    transform: translateY(-4px);
    border-color: #0054b8;
    box-shadow: 0 12px 28px rgba(0, 84, 184, 0.14);
}

.guide-icon {
    width: 74px;
    height: 74px;
    min-width: 74px;
    border-radius: 50%;
    background: #eaf3ff;
    color: #0054b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.guide-card h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
}

.guide-card small {
    display: block;
    color: #536176;
    font-size: 15px;
}

.guide-card .arrow {
    position: absolute;
    right: 24px;
    color: #0054b8;
    font-size: 20px;
}

@media (max-width: 1100px) {
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .useful-guides-wrap {
        padding: 40px 20px;
        border-radius: 0;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .guides-grid {
        grid-template-columns: 1fr;
    }

    .guide-card {
        padding: 22px 50px 22px 18px;
    }
}

.news {
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    display:flex;
    flex-direction:column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.news-img {
    position: relative;
    height: 220px;
}

.news-img img {
    display:block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.date {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #fff;
    color: var(--blue);
    border-radius: 6px;
    padding: 8px 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.date strong {
    display: block;
    font-size: 22px;
}

.date span {
    font-size: 12px;
}

.news-body {
    flex:1;
    display:flex;
    flex-direction:column;
    padding:22px;
    padding: 22px;
}

.news-body h3 {
    margin: 0 0 16px;
    color: var(--dark-blue);
    font-size: 14px;
}

.news-body p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.hero-actions .btn-primary{
    padding:0;
    padding-right: 10px;
    border-bottom-left-radius: 50px;
    border-top-left-radius: 50px;
    background: #004cbd;
}


@media (max-width: 1024px) {
    .service-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .department-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .hero {
        background:
                linear-gradient(180deg, rgba(247,251,255,.98), rgba(247,251,255,.92)),
                url("https://agsavvas-hosp.gr/wp-content/uploads/2021/09/main-slider1-50x100.jpg") center / cover no-repeat;
    }

    .hero-actions,
    .hero-features,
    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-grid,
    .news-grid,
    .department-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2,
    .section-head h2 {
        font-size: 27px;
    }

    .slide-btn {
        display: none;
    }
}



.home-info-links {
    padding: 42px 0 48px;
    background: #fff;
    border-bottom: 1px solid #e9f1fa;
}

.home-info-links .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.home-info-item {
    position: relative;
    display: flex;
    gap: 18px;
    padding: 26px 22px;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e5eef8;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(17, 74, 140, 0.07);
    transition: all .25s ease;
    overflow: hidden;
}

.home-info-item::after {
    content: "";
    position: absolute;
    right: -35px;
    top: -35px;
    width: 110px;
    height: 110px;
    background: rgba(11, 99, 206, 0.06);
    border-radius: 50%;
    transition: .25s ease;
}

.home-info-item:hover {
    transform: translateY(-6px);
    border-color: rgba(11, 99, 206, 0.25);
    box-shadow: 0 18px 40px rgba(17, 74, 140, 0.12);
}

.home-info-item:hover::after {
    transform: scale(1.25);
}

.info-line {
    flex: 0 0 38px;
    width: 38px;
    height: 8px;
    margin-top: 8px;
    border-radius: 20px;
    background: #b7bcc3;
    transition: .25s ease;
}

.home-info-item:hover .info-line {
    background: #0b63ce;
}

.home-info-item h3 {
    margin: 0 0 18px;
    color: #263b56;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 800;
}

.home-info-item p {
    margin: 0 0 22px;
    color: #7a8491;
    font-size: 15px;
    line-height: 1.7;
}

.home-info-item strong {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #0b63ce;
    font-size: 15px;
    font-weight: 800;
}

.home-info-item i {
    font-style: normal;
    font-size: 20px;
    transition: .25s ease;
}

.home-info-item:hover i {
    transform: translateX(4px);
}

@media (max-width: 1100px) {
    .home-info-links .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .home-info-links {
        padding: 28px 0;
    }

    .home-info-links .container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-info-item {
        padding: 22px 18px;
    }

    .home-info-item h3 {
        font-size: 19px;
    }
}

.home-about-strip {
    padding: 60px 0;
    background:
            linear-gradient(180deg, #f7fbff 0%, #edf7ff 100%);
    border-top: 1px solid #e5f0fb;
    border-bottom: 1px solid #dcecf9;
}

.home-about-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-strip-card {
    position: relative;
    display: block;
    min-height: 230px;
    padding: 30px 26px;
    background: #fff;
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid #e2edf8;
    box-shadow: 0 14px 35px rgba(18, 60, 124, 0.08);
    overflow: hidden;
    transition: .25s ease;
}

.about-strip-card::before {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 135px;
    height: 135px;
    background: rgba(11, 99, 206, 0.07);
    border-radius: 50%;
}

.about-strip-card span {
    display: block;
    width: 42px;
    height: 8px;
    border-radius: 30px;
    background: #aeb5bd;
    margin-bottom: 22px;
    transition: .25s ease;
}

.about-strip-card h3 {
    margin: 0 0 18px;
    color: #123c7c;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
}

.about-strip-card p {
    margin: 0 0 24px;
    color: #6d7f99;
    font-size: 15px;
    line-height: 1.7;
}

.about-strip-card strong {
    position: absolute;
    left: 26px;
    bottom: 26px;
    color: #0b63ce;
    font-size: 15px;
    font-weight: 800;
}

.about-strip-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(18, 60, 124, 0.13);
    border-color: rgba(11, 99, 206, 0.25);
}

.about-strip-card:hover span {
    background: #0b63ce;
}

@media (max-width: 1100px) {
    .home-about-strip .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .home-about-strip {
        padding: 38px 0;
    }

    .home-about-strip .container {
        grid-template-columns: 1fr;
    }

    .about-strip-card {
        min-height: 210px;
    }
}













.home-useful-guides {
    padding: 80px 0;
    background: #f5f9ff;
}

.useful-guides-head {
    max-width: 720px;
    margin-bottom: 36px;
}

.useful-guides-head span {
    color: #004cbd;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.useful-guides-head h2 {
    margin: 8px 0 12px;
    font-size: 38px;
    color: #123c7c;
}

.useful-guides-head p {
    margin: 0;
    color: #6d7e96;
    font-size: 16px;
    line-height: 1.7;
}

.useful-guides-layout {
    display: grid;
    grid-template-columns: .9fr 1.4fr;
    gap: 24px;
}

.useful-guide-feature {
    min-height: 390px;
    padding: 34px;
    border-radius: 24px;
    background:
            linear-gradient(145deg, rgba(0,76,189,.92), rgba(0,112,232,.82)),
            url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=900") center/cover;
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 20px 45px rgba(0, 76, 189, .22);
}

.guide-badge {
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 40px;
    background: rgba(255,255,255,.18);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: auto;
}

.useful-guide-feature h3 {
    margin: 0 0 14px;
    font-size: 29px;
    line-height: 1.25;
}

.useful-guide-feature p {
    margin: 0 0 22px;
    line-height: 1.7;
    color: rgba(255,255,255,.88);
}

.useful-guide-feature strong {
    color: #fff;
}

.useful-guide-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.useful-guide-row {
    position: relative;
    display: flex;
    gap: 18px;
    padding: 26px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2ecfa;
    color: #173b6f;
    text-decoration: none;
    box-shadow: 0 14px 36px rgba(0, 76, 189, .07);
    transition: .25s ease;
}

.useful-guide-row:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 76, 189, .35);
}

.guide-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 15px;
    background: #edf5ff;
    color: #004cbd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.useful-guide-row h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
    color: #123c7c;
}

.useful-guide-row p {
    margin: 0;
    color: #6d7e96;
    font-size: 14px;
    line-height: 1.55;
}

.useful-guide-row span {
    position: absolute;
    right: 22px;
    bottom: 20px;
    color: #004cbd;
    font-weight: 900;
}

@media (max-width: 1000px) {
    .useful-guides-layout,
    .useful-guide-list {
        grid-template-columns: 1fr;
    }

    .useful-guide-feature {
        min-height: 300px;
    }
}



.home-about-feature {
    padding: 70px 0;
    background:
            radial-gradient(circle at top left, rgba(0, 76, 189, .08), transparent 32%),
            linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.home-about-feature .container {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 22px;
}

.about-feature-card {
    position: relative;
    min-height: 230px;
    padding: 30px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e1ecfa;
    text-decoration: none;
    color: #173b6f;
    box-shadow: 0 18px 42px rgba(0, 76, 189, .08);
    overflow: hidden;
    transition: .25s ease;
}

.about-feature-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 150px;
    height: 150px;
    background: rgba(0, 76, 189, .08);
    border-radius: 50%;
}

.about-feature-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 76, 189, .35);
}

.about-feature-card.main-card {
    grid-row: span 2;
    background: linear-gradient(135deg, #004cbd, #0b6fe8);
    color: #fff;
}

.about-feature-card.donation-card {
    background: linear-gradient(135deg, #ffffff, #fff7e8);
}

.about-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(0, 76, 189, .09);
    color: #004cbd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 24px;
}

.main-card .about-feature-icon {
    background: rgba(255,255,255,.18);
    color: #fff;
}

.about-feature-card span {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #004cbd;
}

.main-card span {
    color: #dcecff;
}

.about-feature-card h3 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.25;
}

.about-feature-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #6d7e96;
}

.main-card p {
    color: rgba(255,255,255,.86);
}

.about-feature-card strong {
    position: absolute;
    left: 30px;
    bottom: 28px;
    color: #004cbd;
    font-size: 15px;
}

.main-card strong {
    color: #fff;
}

@media (max-width: 900px) {
    .home-about-feature .container {
        grid-template-columns: 1fr;
    }

    .about-feature-card.main-card {
        grid-row: auto;
    }
}









.hospital-highlights {
    background: linear-gradient(
            135deg,
            #003f9f 0%,
            #004cbd 50%,
            #0d65dd 100%
    );

    position: relative;
    overflow: hidden;
}

.hospital-highlights::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:rgba(255,255,255,.05);
    top:-250px;
    right:-120px;
}

.hospital-highlights .container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
}

.highlight-item{
    padding:50px 35px;
    color:#fff;
    text-decoration:none;
    border-right:1px solid rgba(255,255,255,.15);
    transition:.25s;
}

.highlight-item:last-child{
    border-right:0;
}

.highlight-item:hover{
    background:rgba(255,255,255,.06);
}

.highlight-item small{
    display:block;
    margin-bottom:15px;
    color:rgba(255,255,255,.55);
    font-size:14px;
    font-weight:700;
}

.highlight-item h3{
    margin:0 0 15px;
    font-size:24px;
    line-height:1.3;
    font-weight:800;
}

.highlight-item p{
    margin:0;
    color:rgba(255,255,255,.82);
    line-height:1.7;
    font-size:15px;
}

@media(max-width:1000px){

    .hospital-highlights .container{
        grid-template-columns:1fr 1fr;
    }

    .highlight-item{
        border-bottom:1px solid rgba(255,255,255,.15);
    }
}

@media(max-width:700px){

    .hospital-highlights .container{
        grid-template-columns:1fr;
    }

    .highlight-item{
        border-right:0;
    }
}


.special-departments {
    padding: 75px 0;
    background:
            radial-gradient(circle at top left, rgba(0, 76, 189, .08), transparent 34%),
            linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.special-departments .section-title {
    text-align: center;
}

.special-departments .section-title span {
    color: #004cbd;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.special-departments .section-title h2 {
    margin: 8px 0 12px;
    color: #123c7c;
    font-size: 36px;
}

.special-departments .section-title p {
    margin: 0;
    color: #6d7e96;
    font-size: 16px;
    line-height: 1.7;
}

.special-dept-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.special-dept-card {
    position: relative;
    min-height: 285px;
    padding: 30px;
    border-radius: 24px;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 45px rgba(0, 76, 189, .16);
    transition: .25s ease;
}

.special-dept-card::before {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 190px;
    height: 190px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
}

.special-dept-card::after {
    content: "";
    position: absolute;
    left: -55px;
    bottom: -55px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
}

.special-dept-card:hover {
    transform: translateY(-7px);
}

.special-dept-card.blue {
    background: linear-gradient(135deg, #004cbd, #1677ee);
}

.special-dept-card.dark {
    background: linear-gradient(135deg, #0b2d66, #174a9c);
}

.special-dept-card.green {
    background: linear-gradient(135deg, #00857a, #14a99b);
}

.special-dept-card.red {
    background: linear-gradient(135deg, #c33345, #ef5d6c);
}

.special-dept-icon {
    position: relative;
    z-index: 2;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 30px;
}

.special-dept-card h3,
.special-dept-card p,
.special-dept-card span {
    position: relative;
    z-index: 2;
}

.special-dept-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.25;
}

.special-dept-card p {
    margin: 0;
    color: rgba(255,255,255,.86);
    line-height: 1.65;
    font-size: 15px;
}

.special-dept-card span {
    display: inline-flex;
    margin-top: 28px;
    color: #fff;
    font-weight: 800;
}

@media (max-width: 1200px) {
    .special-dept-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .special-dept-grid {
        grid-template-columns: 1fr;
    }

    .special-departments .section-title h2 {
        font-size: 28px;
    }

    .special-dept-card {
        min-height: 250px;
    }
}

/* Certifications (home) */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cert-card {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 16px;
    padding: 22px 20px;
    background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 31, 80, 0.06);
}

.cert-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    padding: 10px;
    background: #fbfcfe;
    border: 1px solid #e7ecf3;
    border-radius: 12px;
}

.cert-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cert-info h2 {
    margin: 0 0 4px;
    font-size: 17px;
    line-height: 1.25;
    color: #071d3a;
    font-weight: 800;
}

.cert-category {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #2f75d6;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cert-info p {
    min-height: 0;
    margin: 0 0 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #dce4ee;
    font-size: 13px;
    line-height: 1.35;
    color: #4d5b70;
}

.cert-meta {
    display: grid;
    gap: 9px;
    margin-bottom: 16px;
}

.cert-meta div {
    display: grid;
    grid-template-columns: 20px 1fr;
    column-gap: 10px;
    align-items: start;
}

.cert-meta i {
    grid-row: span 2;
    color: #2f75d6;
    font-size: 15px;
    margin-top: 2px;
}

.cert-meta span {
    font-size: 11px;
    color: #707275;
}

.cert-meta strong {
    font-size: 12px;
    color: #071d3a;
    font-weight: 700;
}

.cert-btn {
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    border: 1px solid #0054b8;
    border-radius: 7px;
    color: #0054b8;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.cert-btn:hover {
    background: #0054b8;
    color: #fff;
}

@media (max-width: 1400px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }

    .cert-card {
        grid-template-columns: 1fr;
    }

    .cert-logo {
        flex-direction: row;
        align-items: center;
    }
}