/* Base Style */
:root {
    --primary-color: #031223;
    --secondary-color: #2d9bdf;
    --accent-color: #005598;
    --tertiary-color: #001d3e; 
    --text-color: #333333;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Oswald', sans-serif;
    color: var(--text-color);
    scroll-behavior: smooth;
}

p, li, a:not(.navbar a) {
    font-family: 'Montserrat', sans-serif;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(240, 240, 240, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}


nav {
    background-color: rgb(3 18 35 / 20%);
    transition: all 0.3s ease-in-out;
}

nav a {
    font-weight: 500;
    letter-spacing: 1.5px;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button-custom {
    width: max-content;
}

.keuren-btn {
    text-align: center;
}


.hero-title {
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}


.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    color: white;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color); 
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


.service-card {
    padding: 1.5rem;
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.service-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
}

.service-card .p-6 {
    flex-grow: 1;
}


.gradient-text {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

a.bg-blue-500:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}


a.bg-blue-500 {
    white-space: nowrap; 
    padding: 0.75rem 2rem; 
    font-size: 1rem; 
}

#about {
    background-color: var(--tertiary-color);
    color: white; 
    padding: 5rem 0;
}

#about ul {
    list-style: none;
    padding: 0;
}

#about ul li {
    display: flex;
    align-items: flex-start;
}

#about ul li span {
    font-size: 1.5rem; 
    line-height: 1;
}

#about ul li p {
    color: white; 
}

#about p {
    color: white;
}

#about .text-gray-300 {
    color: #d1d5db; 
}

#about .text-blue-400 {
    color: #60a5fa; 
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease-out;
}

#services, #about {
    animation: fadeIn 0.8s ease-out;
}


#menuToggle {
    display: flex;
    align-items: center;
    justify-content: center;
}

#mobileMenu {
    display: block; 
    flex-direction: column;
    text-align: center;
}

#mobileMenu.hidden {
    display: none; 
}

#mobileMenu a {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#mobileMenu a:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    #menuToggle {
        display: none; 
    }

    #mobileMenu {
        display: none; 
    }
}

@media (max-width: 768px) {
    .hero-title::after {
        width: 60px;
        height: 3px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title::after {
        width: 50px;
        height: 3px;
    }
}

footer {
    background-color: var(--primary-color); 
}