body {
    background-color: white;
    /* Ensure the iframe has a white background */
}

/* Custom styles */
body {
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

/* Purple accent color for borders and highlights */
.border-purple-accent {
    border-color: #662d91;
}

.bg-purple-accent {
    background-color: #662d91;
}

.text-purple-accent {
    color: #662d91;
}

.hover\:bg-purple-accent:hover {
    background-color: #662d91;
}

.hover\:text-purple-accent:hover {
    color: #662d91;
}

/* Sidebar styling */
aside {
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
}

aside .logo {
    height: 64px;
    margin-bottom: 2rem;
}

aside nav a {
    transition: all 0.2s ease;
}

aside nav a:hover {
    background-color: #f3e8ff;
    color: #662d91;
    border-left: 4px solid #662d91;
}

aside nav a i {
    transition: all 0.2s ease;
}

aside nav a:hover i {
    color: #662d91;
}

/* Section styling */
section {
    scroll-margin-top: 80px;
}

section h2 {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #662d91;
    border-radius: 3px;
}

/* Card styling */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Image styling */
img {
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    aside {
        width: 80px;
        overflow-x: hidden;
    }

    aside .logo {
        height: 40px;
        margin-bottom: 1rem;
    }

    aside nav a span {
        display: none;
    }

    aside nav a i {
        margin-right: 0;
        font-size: 1.2rem;
    }

    main {
        margin-left: 80px;
    }

    section {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}