.nav-link {
    position: relative;
    text-decoration: none;
    color: #333;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s;
}

.nav-link:hover {
    color: #3498db;
}

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

.active-nav-link {
    color: #3498db; /* Active link color */
    font-weight: bold; /* Make active link bold */
}

.active-nav-link::after {
    width: 100%; /* Underline active link */
}

.enquire-now-btn {
    background-color: #2ecc71;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.enquire-now-btn:hover {
    background-color: #27ae60;
    transform: scale(1.05);
}

.enquire-now-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.enquire-now-btn:hover::before {
    width: 200px;
    height: 200px;
}

/* CTA Section Styles */
.cta-section {
    background-color: #2563eb; /* bg-blue-700 */
    color: white;
    padding: 4rem 0; /* py-16 */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-background-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.cta-container {
    max-width: 1280px; /* container mx-auto */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
    position: relative; /* To keep content above pattern */
    z-index: 1;
}

.cta-title {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700; /* font-bold */
    margin-bottom: 1rem; /* mb-4 */
}

.cta-description {
    font-size: 1.125rem; /* text-lg */
    margin-top: 1rem; /* mt-4 */
    margin-bottom: 2rem; /* mb-8 */
}

.cta-buttons {
    margin-top: 2rem; /* mt-8 */
    display: flex;
    flex-direction: column; /* flex-col */
    justify-content: center;
    align-items: center;
    gap: 1rem; /* space-y-4 */
}

@media (min-width: 640px) { /* sm: breakpoint */
    .cta-buttons {
        flex-direction: row; /* sm:flex-row */
        gap: 1rem; /* sm:space-x-4 */
        margin-left: 0;
        margin-right: 0;
    }
}

.cta-button {
    padding: 1rem 2rem; /* px-8 py-4 */
    border-radius: 9999px; /* rounded-full */
    font-weight: 600; /* font-semibold */
    transition-property: all; /* transition */
    transition-duration: 300ms; /* duration-300 */
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); /* ease-in-out */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    text-decoration: none;
    display: inline-block; /* Ensure it respects padding/margin */
}

.cta-button-primary {
    background-color: white;
    color: #2563eb; /* text-blue-700 */
}

.cta-button-primary:hover {
    background-color: #eff6ff; /* hover:bg-blue-100 */
    transform: scale(1.05); /* hover:scale-105 */
}

.cta-button-secondary {
    border: 2px solid white; /* border-2 border-white */
    color: white;
}

.cta-button-secondary:hover {
    background-color: white; /* hover:bg-white */
    color: #2563eb; /* hover:text-blue-700 */
    transform: scale(1.05); /* hover:scale-105 */
}
