:root {
    --primary-color: #262b59;
    --secondary-color: #e9f1fc;
    --text-color: #333;
    --header-bg: #fffcf6;
    --footer-bg: #101121;
    --footer-text: #fff;
    --section-title: #262b59;
    --navbar-bg: #282c52;
    --service-bg: #282c52;
    --color-red: #dd242b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 18px;
    background-color: #fffcf6;
}

h1 {
    font-size: 38px;
}

.custom-text-primary {
    color: var(--primary-color);
}

header {
    background: var(--header-bg);
    /* color: var(--primary-color); */
    padding: 0.3rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
}

header .navbar-nav .nav-link:hover,
header .navbar-nav .nav-link.active {
    background-color: transparent;
}

.bg-red {
    background-color: var(--color-red);
}

.bg-blue {
    background-color: var(--navbar-bg);
}

.bg-blue-light {
    background: var(--secondary-color);
}

.navbar {
    background-color: var(--navbar-bg);
}

/* Blue outline button */
.btn-outline-blue {
    color: #282c52;
    border-color: #282c52;
    background-color: transparent;
}

.btn-outline-blue:hover,
.btn-outline-blue:active,
.btn-outline-blue.active,
.btn-outline-blue:focus {
    color: #fff;
    background-color: #282c52;
    border-color: #282c52;
}

.btn-outline-blue:disabled,
.btn-outline-blue.disabled {
    color: #282c52;
    background-color: transparent;
    opacity: 0.5;
}

/* Red outline button */
.btn-outline-red {
    color: #dd242b;
    border-color: #dd242b;
    background-color: transparent;
}

.btn-outline-red:hover,
.btn-outline-red:active,
.btn-outline-red.active,
.btn-outline-red:focus {
    color: #fff;
    background-color: #dd242b;
    border-color: #dd242b;
}

.btn-outline-red:disabled,
.btn-outline-red.disabled {
    color: #dd242b;
    background-color: transparent;
    opacity: 0.5;
}

/* Blue button */
.btn-blue {
    color: #fff;
    background-color: #282c52;
    border-color: #282c52;
}

.btn-blue:hover,
.btn-blue:active,
.btn-blue.active,
.btn-blue:focus {
    color: #fff;
    background-color: #1f2240;
    /* slightly darker for hover */
    border-color: #1f2240;
}

.btn-blue:disabled,
.btn-blue.disabled {
    background-color: #282c52;
    border-color: #282c52;
    opacity: 0.65;
}

/* Red button */
.btn-red {
    color: #fff;
    background-color: #dd242b;
    border-color: #dd242b;
}

.btn-red:hover,
.btn-red:active,
.btn-red.active,
.btn-red:focus {
    color: #fff;
    background-color: #bc1f25;
    /* slightly darker for hover */
    border-color: #bc1f25;
}

.btn-red:disabled,
.btn-red.disabled {
    background-color: #dd242b;
    border-color: #dd242b;
    opacity: 0.65;
}

.hero {
    background: #ffffff url('../images/hero.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.hero-overlay {
    background-color: #ffffff59;
    width: 100%;
    padding: 3rem 0;
}

.hero-content {
    max-width: 600px;
    color: #003c73;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
}

.services h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.services .service-item {
    background: var(--service-bg);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 2.5rem 0.8rem;
    text-align: center;
    transition: transform 0.3s;
    color: #fff;
}

.services .service-item:hover {
    transform: translateY(-10px);
}

.services .service-item h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.about {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--primary-color);
    font-size: 1.1em;
}

.about h2 {
    margin-bottom: 1rem;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
}

.testimonials {
    padding: 2rem 1rem;
    /* background: var(--secondary-color); */
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 2rem;
}

.testimonials .testimonial {
    max-width: 600px;
    margin: 1rem auto;
    font-style: italic;
}

.testimonials .author {
    margin-top: 0.5rem;
    font-weight: bold;
}

.gallery {
    padding: 2rem 1rem;
    text-align: center;
}

.gallery h2 {
    margin-bottom: 2rem;
}

.gallery .image:hover {
    transition: transform 0.3s;
}

.gallery .image:hover {
    transform: translateY(-10px);
}

.gallery .image {
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}


.gallery-img {
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.gallery-grid {
    column-count: 3;
    column-gap: 1rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        column-count: 1;
    }
}

footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 1rem 0;
    text-align: left;
    font-size: 16px;
}

footer li {
    list-style: none;
}

footer a {
    color: var(--footer-text);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.section-title {
    color: var(--section-title);
    font-weight: 600;
}

.phone-card {
    transition: all 0.3s ease;
    background: var(--header-bg);
    border: 1px solid rgba(38, 43, 89, 0.1) !important;
    border-radius: 12px !important;
    padding: 1.25rem !important;
    box-shadow: 0 2px 4px rgba(38, 43, 89, 0.05);
    height: 100%;
}

.phone-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(38, 43, 89, 0.1);
    border-color: var(--primaryy-color) !important;
    background: #fff;
}

.phone-card .icon-wrapper {
    background: var(--color-red);
    width: 45px;
    height: 45px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.phone-card .bi-telephone-fill {
    color: #fff;
    font-size: 1.3rem;
}

.phone-card .location {
    color: rgba(38, 43, 89, 0.7);
    font-weight: 500;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phone-card .phone-number {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.2;
}


@media (max-width: 768px) {
    .phone-card {
        padding: 0.875rem !important;
    }

    .phone-card .location {
        font-size: 0.75rem;
        margin-bottom: 0.125rem;
    }

    .phone-card .phone-number {
        font-size: 1.1rem;
    }

    .phone-card .icon-wrapper {
        width: 35px;
        height: 35px;
        margin-right: 0.75rem;
    }

    .phone-card .bi-telephone-fill {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .phone-card {
        padding: 0.2rem !important;
    }

    .phone-card-container {
        gap: 0.2rem;
    }

    .phone-card .icon-wrapper {
        width: 32px;
        height: 32px;
        margin-right: 0.625rem;
    }
}

/* Story Section */
.story-card {
    background: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    /* position: relative; */
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-card p {
    flex-grow: 1;
    margin-bottom: 0;
}

.story-icon {
    background: #dc3545;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.story-icon i {
    font-size: 1.8rem;
}

.card-icon {
    background: #dc3545;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.8rem;
}

.card-icon-small i {
    color: var(--color-red);
    font-size: 1.5rem;
}