@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');
/* General Styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
/* General Navbar Styles */
.navbar {
background-color: rgba(244, 244, 244, 0.9); /* Semi-transparent light gray */
border-bottom: 1px solid #e3e3e3;
color: #34495e;
box-shadow: 0px 0px 14px rgba(0, 0, 0, 0.15); /* Softer shadow */
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
backdrop-filter: blur(8px); /* Subtle blur for frosted effect */
transition: background-color 0.3s ease;
padding: 0.75em 1.5em;
opacity: 80%;
}
.navbar:hover {
background-color: rgba(244, 244, 244, 1); /* Solid on hover */
}
/* Navbar Brand Styles */
.navbar-brand {
font-size: 1.8rem;
color: #34495e !important;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
transition: color 0.3s ease;
}
.navbar-brand:hover {
color: #2c3e50;
}
/* Navbar Toggler */
.navbar-toggler {
border: none;
}
.navbar-toggler-icon {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%231F2937' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 6h16M4 12h16M4 18h16' /%3E%3C/svg%3E");
}
/* Navbar Links */
.navbar-nav .nav-link {
color: #34495e;
padding: 0.75em 1em;
font-size: 1rem;
transition: color 0.3s ease, background-color 0.3s ease;
border-radius: 4px;
}
.navbar-nav .nav-link:hover {
color: #007bff;
background-color: #e9ecef;
}
/* Dropdown Menu */
.dropdown-menu {
background-color: #f4f4f4;
border-radius: 8px;
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
margin-top: 0.5rem;
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
position: absolute;
left: 0;
top: 100%;
min-width: 160px;
z-index: 1000;
}
/* Show dropdown on hover */
.nav-item:hover .dropdown-menu {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
display: block;
}
/* Ensure dropdown is hidden by default */
.dropdown-menu {
display: none;
}
/* Dropdown Item */
.dropdown-item {
color: #34495e;
padding: 0.6em 1.2em;
font-size: 0.95rem;
transition: background-color 0.3s ease, color 0.3s ease;
}
.dropdown-item:hover {
background-color: #e9ecef;
color: #007bff;
}
/* Auth Buttons (Login, Signup) */
.navbar-nav .btn {
font-size: 0.9rem;
padding: 0.5em 1em;
transition: transform 0.3s ease;
margin-left: 0.5rem;
}
.navbar-nav .btn:hover {
transform: scale(1.05);
}
.navbar-nav .btn-primary {
background-color: #007bff;
border-color: #007bff;
color: #fff;
}
.navbar-nav .btn-outline-primary {
color: #007bff;
border-color: #007bff;
}
.main-content {
padding: 2rem;
background-color: #f9f9f9;
min-height: 100vh;
color: #333;
border-left: 1px solid #ddd;
position: relative;
}
@media (max-width: 768px) {
.main-content {
padding: 1rem;
}
}
/* Footer Container */
.footer {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border-top: 1px solid #ddd;
padding: 20px 0;
color: #333;
text-align: center;
width: 100%;
position: relative;
}
.footer .container-fluid {
max-width: 1200px; /* Limits width for alignment on large screens */
padding: 0 15px;
margin: 0 auto;
}
/* Section Headings */
.footer h5 {
margin-bottom: 1rem;
font-size: 1.5rem;
color: #333;
text-transform: uppercase;
font-weight: bold;
}
/* Contact Links Styling */
.footer .contact-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px; /* Spacing between contact items */
list-style: none;
padding: 0;
}
.footer .contact-links li {
display: flex;
align-items: center;
font-size: 14px;
font-weight: 500;
}
/* Link Styling */
.footer .contact-links a {
color: #007bff;
text-decoration: none;
margin-left: 8px;
transition: color 0.3s ease, transform 0.3s ease;
}
.footer .contact-links a:hover {
color: #0056b3;
text-decoration: underline;
transform: scale(1.05); /* Slight zoom effect on hover */
}
/* Icon Styling */
.footer .contact-links i {
font-size: 20px;
margin-right: 8px;
color: #007bff;
transition: color 0.3s ease;
}
.footer .contact-links i:hover {
color: #0056b3;
}
/* Special Contact Button */
.footer .contact-link {
color: #fff;
background-color: #007bff;
padding: 10px 15px;
border-radius: 5px;
font-weight: bold;
text-decoration: none;
transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.footer .contact-link:hover {
background-color: #0056b3;
color: #fff;
transform: scale(1.05);
}
/* About Text Styling */
.footer .about-text {
color: #666;
font-size: 0.9rem;
line-height: 1.5;
}
/* Copyright Section */
.footer .text-center {
padding: 15px 0;
font-size: 16px;
background-color: #343a40;
color: #f8f9fa;
}
.footer .text-center strong {
color: #00bcd4; /* Accent color for footer branding */
}
/* Auth Form Styles */
.auth-form {
max-width: 400px;
width: 100%;
border-radius: 8px;
animation: fadeIn 0.8s ease;
}
/* Animation for form appearance */
@keyframes fadeIn {
0% {
opacity: 0;
transform: translateY(-20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
/* Card title styling */
.auth-form .card-title {
font-size: 1.75rem;
color: #333;
}
/* Error message styling */
.auth-form .form-errors {
margin-top: 1rem;
font-size: 14px;
}
/* Button styling */
.auth-form .btn-primary {
background-color: #007bff;
border-color: #007bff;
}
.auth-form .btn-primary:hover {
background-color: #0056b3;
border-color: #0056b3;
}
/* Container padding */
.container {
padding: 0 15px; /* Add padding to container for consistency */
}
/* Input field styling */
.auth-form input.form-control {
border-radius: 5px;
box-shadow: none;
border: 1px solid #ced4da;
}
/* Input field focus state */
.auth-form input.form-control:focus {
border-color: #007bff;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
/* Centered link styling */
.text-center a {
color: #007bff;
text-decoration: none;
}
.text-center a:hover {
color: #0056b3;
text-decoration: underline;
}
/* Invalid feedback styling */
.invalid-feedback {
display: block;
color: #dc3545;
}
/* Remember Me checkbox label spacing */
.form-check-label {
margin-left: 5px;
}
/* Social login button styling */
.auth-form .btn-outline-secondary {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
#ethanic-chat-widget {
position: fixed;
bottom: 20px;
right: 20px;
width: 300px;
z-index: 9999;
}
#ethanic-chat-box {
background-color: white;
border: 1px solid #ccc;
border-radius: 8px;
padding: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
#chat-messages {
max-height: 200px;
overflow-y: auto;
font-size: 0.9rem;
}
#ethanic-chat-form input[type="text"] {
width: 75%;
padding: 5px;
}
#ethanic-chat-form button {
padding: 5px;
background: #0077cc;
color: white;
border: none;
}
/* Responsive Adjustments */
@media (max-width: 992px) {
.card-container .card {
max-width: 90%;
padding: 20px;
margin: 0 auto; /* Center cards on smaller screens */
border-radius: 8px; /* Add border radius for modern look */
}
.header {
padding: 2rem 1rem; /* Adjust padding for smaller screens */
text-align: center; /* Center text in header */
}
.card-container {
min-height: 350px;
display: flex; /* Maintain flex layout */
justify-content: center; /* Center items horizontally */
flex-wrap: wrap; /* Allow wrapping of cards */
}
.btn-nav {
width: 50px; /* Slightly larger for easier access */
height: 50px;
font-size: 2rem; /* Make button text larger */
margin: 0 5px; /* Spacing between buttons */
}
}
@media (max-width: 768px) {
.header {
padding: 1.5rem 0;
font-size: 1.2rem;
margin-top: 0;
text-align: center; /* Center header text */
}
.card-container {
flex-direction: column; /* Stack cards vertically */
min-height: 300px;
gap: 20px; /* Increased gap for better spacing */
}
.card-container .card {
width: 95%;
padding: 18px;
border: 1px solid #e3e3e3; /* Add subtle border to cards */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
border-radius: 10px; /* More rounded corners */
}
.btn-nav {
width: 45px;
height: 45px;
font-size: 1.8rem;
margin: 0 5px; /* Ensure buttons don't crowd */
}
}
/* Mobile-first adjustments for very small screens */
@media (max-width: 576px) {
.header {
font-size: 1.1rem; /* Smaller font size for small screens */
}
.card-container .card {
padding: 15px; /* Reduce padding for smaller cards */
}
.btn-nav {
width: 40px; /* Smaller buttons for tight spaces */
height: 40px;
font-size: 1.5rem; /* Smaller icon size */
}
}