﻿        .departments-redesign {
            background: #fbfcf8;
            color: #526257;
        }

        .departments-hero {
            position: relative;
            min-height: 590px;
            display: flex;
            align-items: flex-end;
            overflow: hidden;
            isolation: isolate;
            background: #102016;
        }

        .departments-hero:before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(100deg, rgba(12, 29, 20, 0.96), rgba(12, 29, 20, 0.74) 52%, rgba(12, 29, 20, 0.36)),
                url('website/assets/images/photos/h_10.jpg') center / cover no-repeat;
            z-index: -2;
        }

        .departments-hero:after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            height: 160px;
            background: linear-gradient(0deg, #fbfcf8, rgba(251, 252, 248, 0));
            z-index: -1;
        }

        .departments-hero__inner {
            width: 100%;
            padding: 132px 0 76px;
        }

        .departments-hero__grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 360px;
            gap: 54px;
            align-items: end;
        }

        .departments-kicker {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            color: #006088;
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            margin-bottom: 14px;
        }

        .departments-kicker:before {
            content: "";
            width: 28px;
            height: 2px;
            background: #d9a441;
        }

        .departments-hero .departments-kicker {
            color: #d9a441;
            margin-bottom: 18px;
        }

        .departments-hero .departments-kicker:before {
            background: #ffffff;
        }

        .departments-hero__title {
            color: #ffffff;
            font-size: 64px;
            line-height: 1.04;
            font-weight: 900;
            margin: 0;
        }

        .departments-hero__text {
            max-width: 690px;
            color: rgba(255, 255, 255, 0.82);
            font-size: 19px;
            line-height: 32px;
            margin: 24px 0 0;
        }

        .departments-hero__actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            margin-top: 34px;
        }

        .departments-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-height: 54px;
            padding: 14px 22px;
            border-radius: 8px;
            font-weight: 900;
        }

        .departments-action--primary {
            background: #d9a441;
            color: #102016;
        }

        .departments-action--primary:hover {
            background: #ffffff;
            color: #102016;
        }

        .departments-action--ghost {
            border: 1px solid rgba(255, 255, 255, 0.24);
            background: rgba(255, 255, 255, 0.09);
            color: #ffffff;
        }

        .departments-action--ghost:hover {
            border-color: #d9a441;
            color: #d9a441;
        }

        .departments-hero-card {
            border-radius: 8px;
            padding: 28px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.16);
            backdrop-filter: blur(10px);
            color: #ffffff;
        }

        .departments-hero-card strong {
            display: block;
            color: #d9a441;
            font-size: 56px;
            line-height: 1;
            font-weight: 900;
            margin-bottom: 8px;
        }

        .departments-hero-card p {
            color: rgba(255, 255, 255, 0.76);
            font-size: 16px;
            line-height: 27px;
            margin: 0 0 22px;
        }

        .departments-hero-card__list {
            display: grid;
            gap: 12px;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .departments-hero-card__list li {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.14);
            color: #ffffff;
            font-weight: 900;
        }

        .departments-hero-card__list i {
            color: #d9a441;
        }

        .department-lanes {
            position: relative;
            padding: 0 0 98px;
            margin-top: -46px;
            z-index: 2;
        }

        .department-lanes__grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            overflow: hidden;
            border-radius: 8px;
            background: #ffffff;
            box-shadow: 0 24px 70px rgba(22, 52, 34, 0.11);
        }

        .department-lane {
            position: relative;
            min-height: 180px;
            padding: 28px 24px 26px;
            border-right: 1px solid rgba(16, 32, 22, 0.08);
        }

        .department-lane:last-child {
            border-right: 0;
        }

        .department-lane:before {
            content: "";
            position: absolute;
            inset: 0 auto auto 0;
            width: 100%;
            height: 4px;
            background: var(--lane-accent);
        }

        .department-lane__top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 22px;
        }

        .department-lane__icon {
            width: 52px;
            height: 52px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background: var(--lane-accent);
            color: #ffffff;
            font-size: 20px;
        }

        .department-lane__count {
            color: var(--lane-accent);
            font-size: 30px;
            line-height: 1;
            font-weight: 900;
        }

        .department-lane h2 {
            color: #15271d;
            font-size: 21px;
            line-height: 1.18;
            font-weight: 900;
            margin: 0 0 10px;
        }

        .department-lane p {
            color: #647267;
            line-height: 25px;
            margin: 0;
        }

        .hod-spotlight {
            padding: 0 0 106px;
        }

        .departments-section-head {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
            gap: 34px;
            align-items: end;
            margin-bottom: 38px;
        }

        .departments-section-head h2 {
            color: #15271d;
            font-size: 44px;
            line-height: 1.12;
            font-weight: 900;
            margin: 0;
        }

        .departments-section-head p {
            color: #647267;
            font-size: 17px;
            line-height: 29px;
            margin: 0;
        }

        .hod-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 18px;
        }

        .hod-card {
            overflow: hidden;
            border-radius: 8px;
            background: #ffffff;
            border: 1px solid rgba(16, 32, 22, 0.08);
            box-shadow: 0 18px 48px rgba(22, 52, 34, 0.08);
            transition: transform 220ms ease, box-shadow 220ms ease;
        }

        .hod-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 24px 62px rgba(22, 52, 34, 0.14);
        }

        .hod-card__image {
            aspect-ratio: 4 / 4.8;
            background: #e8efe6;
            overflow: hidden;
        }

        .hod-card__image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 520ms ease;
        }

        .hod-card:hover .hod-card__image img {
            transform: scale(1.05);
        }

        .hod-card__body {
            padding: 20px;
        }

        .hod-card__unit {
            display: inline-flex;
            color: #006088;
            font-size: 12px;
            line-height: 18px;
            font-weight: 900;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 8px;
        }

        .hod-card h3 {
            color: #15271d;
            font-size: 20px;
            line-height: 1.18;
            font-weight: 900;
            margin: 0 0 7px;
        }

        .hod-card p {
            color: #647267;
            font-size: 14px;
            line-height: 22px;
            margin: 0;
        }

        .department-directory {
            padding: 106px 0 118px;
            background: #ffffff;
        }

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

        .department-tile {
            --tile-accent: #006088;
            --tile-image: none;
            position: relative;
            display: flex;
            min-height: 360px;
            overflow: hidden;
            border-radius: 8px;
            background: #fbfcf8;
            border: 1px solid rgba(16, 32, 22, 0.08);
            box-shadow: 0 18px 48px rgba(22, 52, 34, 0.08);
            color: inherit;
            transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
        }

        .department-tile:before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.9), #ffffff 62%),
                var(--tile-image);
            background-size: cover;
            background-position: center;
            transition: transform 520ms ease;
        }

        .department-tile:hover {
            transform: translateY(-6px);
            border-color: rgba(0, 96, 136, 0.28);
            box-shadow: 0 24px 62px rgba(22, 52, 34, 0.14);
            color: inherit;
        }

        .department-tile:hover:before {
            transform: scale(1.04);
        }

        .department-tile__content {
            position: relative;
            z-index: 1;
            display: flex;
            flex: 1;
            flex-direction: column;
            padding: 28px;
        }

        .department-tile__top {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 24px;
        }

        .department-tile__icon {
            width: 54px;
            height: 54px;
            flex: 0 0 54px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background: var(--tile-accent);
            color: #ffffff;
            font-size: 20px;
        }

        .department-tile__group {
            display: block;
            color: var(--tile-accent);
            font-size: 12px;
            line-height: 18px;
            font-weight: 900;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 4px;
        }

        .department-tile__label {
            display: block;
            color: #647267;
            font-size: 14px;
            line-height: 20px;
            font-weight: 800;
        }

        .department-tile h3 {
            color: #15271d;
            font-size: 25px;
            line-height: 1.16;
            font-weight: 900;
            margin: 0 0 14px;
        }

        .department-tile p {
            color: #5f6e65;
            font-size: 15px;
            line-height: 26px;
            margin: 0 0 22px;
        }

        .department-tile__head {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: auto;
            padding-top: 20px;
            border-top: 1px solid rgba(16, 32, 22, 0.08);
        }

        .department-tile__head img,
        .department-tile__head-placeholder {
            width: 48px;
            height: 48px;
            flex: 0 0 48px;
            border-radius: 50%;
            object-fit: cover;
            background: #eef6f9;
        }

        .department-tile__head-placeholder {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--tile-accent);
        }

        .department-tile__head span {
            display: block;
            color: #7b897f;
            font-size: 12px;
            line-height: 18px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .department-tile__head strong {
            display: block;
            color: #15271d;
            font-size: 15px;
            line-height: 21px;
            font-weight: 900;
        }

        .department-tile__link {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            margin-top: 22px;
            color: #102016;
            font-size: 14px;
            line-height: 20px;
            font-weight: 900;
        }

        .department-tile__link i {
            color: var(--tile-accent);
        }

        .departments-contact {
            padding: 0 0 116px;
            background: #ffffff;
        }

        .departments-contact__inner {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 28px;
            align-items: center;
            overflow: hidden;
            border-radius: 8px;
            padding: 38px 42px;
            background:
                linear-gradient(100deg, rgba(16, 32, 22, 0.96), rgba(16, 32, 22, 0.9)),
                url('website/assets/images/photos/h_10.jpg') center / cover no-repeat;
        }

        .departments-contact h2 {
            color: #ffffff;
            font-size: 34px;
            line-height: 1.2;
            font-weight: 900;
            margin: 0;
        }

        .departments-contact p {
            color: rgba(255, 255, 255, 0.76);
            font-size: 16px;
            line-height: 28px;
            margin: 12px 0 0;
        }

        @media (max-width: 1199px) {
            .departments-hero__grid,
            .departments-section-head,
            .departments-contact__inner {
                grid-template-columns: 1fr;
            }

            .department-lanes__grid,
            .department-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

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

        @media (max-width: 767px) {
            .departments-hero {
                min-height: 520px;
            }

            .departments-hero__inner {
                padding: 116px 0 68px;
            }

            .departments-hero__title {
                font-size: 42px;
            }

            .departments-hero__text {
                font-size: 16px;
                line-height: 28px;
            }

            .department-lanes,
            .hod-spotlight,
            .department-directory,
            .departments-contact {
                padding-bottom: 86px;
            }

            .department-lanes__grid,
            .hod-grid,
            .department-grid {
                grid-template-columns: 1fr;
            }

            .department-lane {
                border-right: 0;
                border-bottom: 1px solid rgba(16, 32, 22, 0.08);
            }

            .department-lane:last-child {
                border-bottom: 0;
            }

            .departments-section-head h2 {
                font-size: 32px;
            }

            .departments-contact__inner {
                padding: 32px 24px;
            }

            .departments-contact h2 {
                font-size: 28px;
            }
        }
