/* Custom Google Font */
body {
    font-family: 'Heebo', sans-serif;
    scroll-behavior: smooth;
}

/* Header and Navigation */
.nav-link {
    position: relative;
    padding-bottom: 0.5rem;
    color: #374151; /* text-gray-700 */
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #14b8a6; /* text-teal-500 */
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: #14b8a6; /* teal-500 */
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
    right: auto;
}

.nav-link.active {
    color: #0f766e; /* teal-700 */
    font-weight: 700;
}

#main-header.scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

/* Hero Section */
.hero-section {
    background: url('https://picsum.photos/seed/dolphin_marketing-hero/1920/1080') no-repeat center center/cover;
}

@keyframes fade-in-down {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation: fade-in-down 0.8s ease-out forwards;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out 0.3s forwards;
    opacity: 0;
}


/* Home Page Service Cards */
.service-card-home {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Services Page Card */
.service-card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
}

.tag {
    background-color: #f3f4f6; /* gray-100 */
    color: #4b5563; /* gray-600 */
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

/* Service Modal */
#service-modal.hidden {
    display: none;
}

#service-modal-content.scale-95 {
    transform: scale(0.95);
    opacity: 0;
}

#service-modal-content.scale-100 {
    transform: scale(1);
    opacity: 1;
}

.modal-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827; /* gray-900 */
    margin-bottom: 0.5rem;
    border-right: 3px solid #14b8a6; /* teal-500 */
    padding-right: 0.75rem;
}

/* Testimonial Card */
.testimonial-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    border-top: 4px solid #14b8a6; /* teal-500 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}


/* Contact Page */
.contact-section {
    background-color: #f9fafb; /* gray-50 */
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db; /* gray-300 */
    border-radius: 0.5rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #14b8a6; /* teal-500 */
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.3);
}

.contact-link {
    color: #374151; /* gray-700 */
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.contact-link:hover {
    color: #14b8a6; /* teal-500 */
}

/* Page Header */
.page-header-section {
    background-color: #0A2342; /* Deep Ocean Blue */
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    z-index: 100;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float i {
    margin-top: 15px;
}

/* Footer */
.footer-link {
    color: #9ca3af; /* gray-400 */
    transition: color 0.3s, padding-right 0.3s;
}

.footer-link:hover {
    color: #ffffff;
    padding-right: 5px;
}

/* Blog Page */
.blog-post {
    border-bottom: 1px solid #e5e7eb; /* gray-200 */
    padding-bottom: 4rem;
}

.blog-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Prose for legal pages */
.prose h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb; /* gray-200 */
    padding-bottom: 0.5rem;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose ul {
    list-style-type: disc;
    padding-right: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}