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

/* Custom styles */
body {
    line-height: 1.6;
    background: #f7fafc;
}
/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
    background: #f7fafc;
}
/* Custom button styles */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

/* Table styles */
table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

th, td {
    padding: 1rem;
    text-align: left;
    vertical-align: top;
}

/* Form input focus styles */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(94, 190, 188, 0.2);
}
/* Video hover effect */
.hovered-element {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hovered-element:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Video container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Section spacing */
section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

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

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}