:root {
    --bg-blue: #182B50;
    --bg-blue-light: #2D4379;
    --text-dark: #333333;
    --text-darker: #111111;
    --text-grey: #444444;
    --text-light-grey: #888888;
    --border-color-dark: #444444;
}

/* Header styles */
header {
    padding: 0.5rem 0;
}

header .logo img {
    height: 60px;
    width: auto;
}

/* Hero section improvements */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 4rem;
    padding-bottom: 8rem;
}

.service-cards-grid {
    position: relative;
    z-index: 20;
    background: transparent;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .service-cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        padding: 2rem;
        margin-top: -6rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-content {
        padding: 2rem 1rem;
        width: 100%;
    }

    .service-cards-container {
        width: 100%;
        padding: 0 1rem;
    }
}

body {
    /* font-family: 'Poppins','Open Sans', sans-serif; */
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /* font-family: 'Poppins', 'Montserrat', sans-serif; */
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    /* background-color: var(--bg-blue-light); */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 0.175rem solid var(--border-color-dark);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to bottom, var(--bg-blue), var(--bg-blue-light));
}

.btn-primary:hover {
    /* background-color: white; */
    background: linear-gradient(to bottom, white, white);
    color: var(--bg-blue);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--bg-blue);
}

.btn-secondary:hover {
    background-color: var(--bg-blue);
    color: white;
}

.btn-military {
    transition: all 0.3s ease;
}

.btn-military:hover {
    background-color: white;
    color: var(--bg-blue);
    transform: translateY(-2px);
}

.service-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    border: 2px solid var(--bg-blue);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(24, 43, 80, 0.2);
    background: white;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-blue);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-icon {
    font-size: 2.5rem;
    color: var(--bg-blue);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.1);
}

@media (max-width: 640px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1025px) {
    .service-cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.excellence-box {
    border: 2px solid var(--bg-blue);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    background: white;
}

.footer-heading {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: white;
}

.footer-link {
    position: relative;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.certification-card {
    border: 2px solid var(--bg-blue);
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
    overflow: hidden;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-blue);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.certification-card:hover {
    box-shadow: 0 12px 20px rgba(24, 43, 80, 0.15);
    transform: translateY(-4px);
}

.certification-card:hover::before {
    opacity: 0.05;
}

.solution-icon {
    width: 80px;
    height: 80px;
    border: 2px solid var(--bg-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    background: rgba(24, 43, 80, 0.05);
}

.solution-card {
    border: 2px solid rgba(24, 43, 80, 0.1);
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.solution-card:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--bg-blue);
    transform: translateY(-4px);
}

.solution-card:hover .solution-icon {
    background: var(--bg-blue);
    color: white;
    transform: scale(1.05);
}

.solution-icon {
    width: 80px;
    height: 80px;
    border: 2px solid var(--bg-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    background: rgba(24, 43, 80, 0.05);
}

.solution-link {
    color: var(--bg-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.solution-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bg-blue);
    transition: width 0.3s ease;
}

.solution-link:hover::after {
    width: 100%;
}

.view-services-btn {
    background: var(--bg-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--bg-blue);
}

.view-services-btn:hover {
    background: white;
    color: var(--bg-blue);
}

.military-btn {
    background: white;
    color: var(--bg-blue);
    border: 2px solid white;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 0.175rem solid var(--border-color-dark);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
}

.military-btn:hover {
    /* background: transparent; */
    background: linear-gradient(to bottom, var(--bg-blue-light), var(--bg-blue));
    border: 0.175rem solid white;
    color: white;
}

.link-hover {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.link-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.link-hover:hover::after {
    width: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(24, 43, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--bg-blue);
    color: white;
}

.service-card:hover .service-icon span {
    color: white;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.shake-animation {
    animation: shake 0.5s ease-in-out infinite;
    animation-play-state: paused;
}

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

.footer-logo {
    background-color: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: inline-block;
}

/* Tailwind Replacement Classes */
/* These classes replace Tailwind classes that don't have equivalents in custom-tailwind.css */
