:root {
    --primary-color: #001F3F;
    --primary-hover: #003366;
    --secondary-color: #b07b4a;
    --secondary-hover: #9a6a3f;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #495057;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --border-radius: 0.375rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --transition-base: all 0.3s ease-in-out;
    --transition-fade: opacity 0.15s linear;
    --transition-collapse: height 0.35s ease;
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}
p {
    margin-bottom: 1rem;
}
a {
    text-decoration: none;
    transition: var(--transition-base);
}
.hero-section {
    position: relative;
    background:
        linear-gradient(135deg, rgba(0, 31, 63, 0.85) 0%, rgba(0, 31, 63, 0.7) 100%),
        url('../img/hero.png') no-repeat center center;
    background-size: cover;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 4rem 1rem;
    isolation: isolate;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, var(--white) 100%);
    z-index: 1;
}
.service-card {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    height: 100%;
    background-color: var(--white);
}
.service-card:hover {
    transform: translateY(-0.75rem);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}
.card-img-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.45, 0.45, 0.95);
}
.service-card:hover .card-img {
    transform: scale(1.1);
}
.card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
    opacity: 1;
    transition: var(--transition-base);
}
.card-body {
    padding: 2rem;
}
.service-icon {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    transition: var(--transition-base);
}
.feature-box {
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    height: 100%;
    transition: var(--transition-base);
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.feature-box:hover {
    background-color: var(--light-color);
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow);
}
.feature-box:hover .service-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}
.divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 1.75rem auto;
    position: relative;
}
.divider::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 4px;
    background-color: var(--secondary-color);
    left: 50%;
    transform: translateX(-50%);
}
.bg-primary-custom {
    background-color: var(--primary-color) !important;
}
.text-primary-custom {
    color: var(--primary-color) !important;
}
.text-secondary-custom {
    color: var(--secondary-color) !important;
}
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
}
.btn-outline-primary-custom {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.btn-outline-primary-custom:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}
.testimonial-card {
    position: relative;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition-base);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 4rem;
    color: rgba(0, 31, 63, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}
.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.mb-6 {
    margin-bottom: 5rem;
}
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
@media (max-width: 992px) {
    .hero-section {
        min-height: 55vh;
    }
    .card-img-container {
        height: 240px;
    }
}
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        padding: 3rem 1rem;
    }
    .card-img-container {
        height: 200px;
    }
    .feature-box {
        padding: 1.5rem;
    }
    .py-6 {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}
@media (max-width: 576px) {
    .hero-section {
        min-height: 45vh;
    }
    .divider {
        width: 60px;
        height: 3px;
    }
    .service-icon {
        font-size: 2.25rem;
    }
}