@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Urbanist:wght@300;400;500;600;700;800;900&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --blue: #0066FF;
    --lightblue: #d9e8ff;
    --darkpurple: #241A24;
    --lightgrey: #F4F5F6;
    --navyblue: #00224A;
    --darkblue: #1E013A;
    --bgblue: #02398A;
    --darkgrey: #747474;
    --faqblue: #0861FF;
    --gold: #FAAF38;
    --btnblue: #267dff;
    --bggrey: #DDDDDD;
    --grey: #909090;
    --linegrey: #C4C4C4;
}

body {
    margin: 0;
    font-family: 'Urbanist', sans-serif;
    background-color: #F4F5F6;
    color: #241A24;
}

html {
    scroll-behavior: smooth;
}

.font-dancing {
    font-family: 'Dancing Script', cursive;
}

.font-urbanist {
    font-family: 'Urbanist', sans-serif;
}

.btn-primary {
    @apply bg-blue text-white px-6 py-3 rounded-lg font-semibold hover:bg-btnblue transition;
}

.btn-secondary {
    @apply border border-gray-400 text-gray-800 px-6 py-3 rounded-lg font-semibold hover:bg-gray-100 transition;
}

.card {
    @apply bg-white rounded-2xl shadow-lg p-6;
}

.section-title {
    @apply text-4xl font-bold text-navyblue mb-4;
}

.text-gradient {
    @apply bg-gradient-to-r from-blue to-darkblue bg-clip-text text-transparent;
}

/* Navbar styles */
.navbar {
    border-bottom: 0.5px solid rgba(196, 196, 196, 0.75);
}

.navbar-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    transition: 0.4s linear;
    z-index: 3;
}

/* Link hover effects */
.hover-underline {
    display: inline-flex;
    position: relative;
    justify-content: center;
    align-items: center;
}

.hover-underline:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: currentColor;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover-underline:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Card hover effects */
.card-hover {
    @apply transition duration-300 hover:shadow-xl hover:-translate-y-1;
}

/* Section backgrounds */
.bg-navy {
    background-color: #00224A;
}

.bg-darkpurple {
    background-color: #241A24;
}

.bg-darkblue {
    background-color: #1E013A;
}

/* Footer styles */
.footer-icons {
    box-shadow: 0px 19px 28px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.footer-icons:hover {
    transform: translateY(-8px);
}

.space-links {
    transition: 0.3s;
}

.space-links:hover {
    letter-spacing: 1px;
}
