/* Custom CSS for Topmax College Website */

/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Header Styles */
header {
    transition: all 0.3s ease;
}

/* Animation for dropdown menus */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

#mobile-menu {
    animation: fadeIn 0.3s ease-in-out;
}

/* Button hover effects */
.btn-hover-effect {
    transition: all 0.3s ease;
}

.btn-hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 255, 0.2);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
}

/* Image hover effects */
.img-hover {
    transition: all 0.5s ease;
}

.img-hover:hover {
    transform: scale(1.05);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0000FF;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #000080;
}

/* Form input focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #0000FF;
    box-shadow: 0 0 0 3px rgba(0, 0, 255, 0.2);
}

/* Custom list styles */
.custom-list {
    list-style: none;
    padding-left: 1.5rem;
}

.custom-list li {
    position: relative;
    margin-bottom: 0.5rem;
}

.custom-list li::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #0000FF;
}

/* Accessibility focus styles */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #0000FF;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    header, footer, .no-print {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    table, figure {
        page-break-inside: avoid;
    }
    
    @page {
        margin: 2cm;
    }
}