* {
    box-sizing: border-box;
}
body {
    font-family: "inter", Arial, sans-serif;
    background-color: #f5f7fa;
}
header {
    background-color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.hero {
    position: relative;
    min-height: 680px;
    padding: 70px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(248, 251, 255, 1) 0%,
            rgba(248, 251, 255, 0.98) 27%,
            rgba(248, 251, 255, 0.82) 44%,
            rgba(248, 251, 255, 0.25) 70%,
            rgba(248, 251, 255, 0.05) 100%
        ),
        url("images/management/management-01.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero h1 {
    color: #0b2f6b;
    font-size: 58px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0 0 24px;
}
.hero h1 span {
    color: #1a73e8;
}
.hero-label {
    display: inline-block;
    color: #0b2f6b;
    background-color: #e5f0ff;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero p {
    font-size: 18px;
    line-height: 1.75;
    color: #475569;
    max-width: 540px;
    margin: 0 0 32px;
}
.hero-image {
    display: none;
}
.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-text {
    text-align: left;
    max-width: 580px;
    position: relative;
    z-index: 2;
}
.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.hero-button {
    display: inline-block;
    background-color: #1a73e8;
    color: white;
    padding: 15px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.20);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(26, 115, 232, 0.28);
}
.hero-contact {
    display: inline-block;
    background-color: white;
    color: #0b2f6b;
    padding: 15px 28px;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}
.hero-contact:hover {
    border-color: #1a73e8;
    color: #1a73e8;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}
nav a {
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}
nav a:hover {
    color: #1a73e8;
}
nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #1a73e8;
    transition: width 0.3s ease;
}
nav a:hover::after {
    width: 100%;
}
#about {
    padding: 90px 30px;
    background-color: #e3edf7;
}
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}
.about-content img {
    width: 48%;
    border-radius: 16px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
}
.about-content p {
    flex: 1;
    line-height: 1.8;
    font-size: 18px;
    color: #4b5563;
}
#services {
    padding: 90px 30px;
    background-color: #f8fafc;
}
#services article {
    background-color: white;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
#services h3 {
    color: #0b2f6b;
    font-size: 22px;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 14px;
}
#services article p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 20px;
}
#services article:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
#contact {
    padding: 90px 30px;
    background-color: #ffffff;
}
#contact div {
    background-color: #f8fafc;
    padding: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
#contact div h3 {
    color: #0b2f6b;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 22px;
}

#contact div p {
    color: #4b5563;
    line-height: 1.7;
    margin: 12px 0;
}
#contact a {
    color: #1a73e8;
    text-decoration: none;
}
#contact a:hover {
    text-decoration: underline;    
}
.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 18px 0;
}

.contact-label {
    color: #0b2f6b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.contact-item a {
    font-size: 18px;
    font-weight: 600;
}

.contact-address {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #dbe3ec;
    padding-left: 18px;
    border-left: 4px solid #1a73e8;
}

.contact-address p {
    margin: 8px 0 0;
    max-width: 650px;
    font-size: 17px;
    line-height: 1.7;
    color: #4b5563;
}
footer {
    background-color: #062046;
    color: white;
    padding: 45px 30px;
    text-align: center;
}

footer p {
    margin: 8px 0;
    line-height: 1.6;
}

footer p:first-child {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

footer p:nth-child(2) {
    color: #e5edf8;
    font-size: 14px;
}

footer p:last-child {
    color: #dceafa;
    font-size: 13px;
    margin-top: 18px;
}
#services article .ambulance-image {
    object-fit: contain;
    object-position: center;
    background-color: white;
}
#services article img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 8px;
    display: block;
}
#services article .medix-image {
    object-position: center 15%;
}
#services article .management-image {
    object-position: center 25%;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}
.brand h2 {
    font-size: 22px;
    color: #0b2f6b;
    margin: 0;
}
section > h2 {
    color: #0b2f6b;
    font-size: 32px;
    margin-bottom: 25px;
    text-align: center;
}
section > h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #1a73e8;
    margin: 10px auto 0;
}
#contact > p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px;
}
#gallery {
    padding: 60px 20px;
}

.gallery-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}
.gallery-group h3 {
    color: #0b2f6b;
    max-width: 800px;
    margin: 0 auto 20px;
}
.gallery-grid {
    columns: 2;
    column-gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
    margin-bottom: 20px;
    break-inside: avoid;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-group + .gallery-group {
    margin-top: 50px;
}
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gallery-grid img:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}
.work-hero {
    padding: 100px 30px 70px;
    text-align: center;
    background: linear-gradient(135deg, #0b2f6b 0%, #1a73e8 100%);
    color: white;
}

.work-hero h1 {
    font-size: 52px;
    margin: 0 0 18px;
    color: white;
}

.work-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}
.hero-services {
    width: calc(100% - 80px);
    max-width: 1200px;
    margin: 20px auto 0;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 20px 18px;
    box-sizing: border-box;
}
.hero-service-item {
    padding: 5px 22px;
    border-right: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.hero-service-item:hover {
    transform: translateY(-5px);
    background-color: #f5f9ff;
}
.hero-service-item:hover strong {
    color: #1a73e8;
}
.hero-service-item:last-child {
    border-right: none;
}

.hero-services strong {
    display: block;
    color: #0b2f6b;
    font-size: 15px;
    margin-bottom: 6px;
}

.hero-services span {
    display: block;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    .services-grid {
    grid-template-columns: 1fr;
    }
    .about-content img {
    width: 100%;
    }
    header {
    flex-direction: column;
    }
    nav ul {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    }
    h1 {
    font-size: 32px;
    }
.hero .hero-services {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    padding: 18px;
} 
.hero .hero-service-item {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 0;
}
.hero .hero-services > div {
    min-width: 0;
}

.hero .hero-service-item:last-child {
    border-bottom: none;
}
.hero {
    padding: 50px 16px;
    min-height: auto;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
}
#gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 30px;
}
#gallery h2 {
    color: #0b2f6b;
    font-size: 30px;
    margin-top: 55px;
    margin-bottom: 25px;
}

#gallery h2:first-child {
    margin-top: 0;
}