/* Base Styles - Enhanced */
:root {
    --primary-color: #0055c4;
    --secondary-color: #0078ff;
    --primary-gradient: linear-gradient(135deg, #002250, #0078ff);
    --secondary-gradient: linear-gradient(135deg, #0078ff, #00a1ff);
    --admin-color: #e30a0a;
    --admin-hover: #b91c1c;
    --admin-gradient: linear-gradient(135deg, #e30a0a, #ff4d4d);
    --accent-color: #f59e0b;
    --dark-color: #1a202c;
    --light-color: #f8fafc;
    --text-color: #4b5563;
    --text-light: #6b7280;
    --border-color: #e2e8f0;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 6px 15px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 30px rgba(0, 85, 196, 0.15);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-btn: 0 10px 20px rgba(0, 85, 196, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Accounts for fixed navbar */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-hide {
    opacity: 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 85, 196, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 150px 0;
    position: relative;
}

h1, h2, h3, h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    padding-top: 30px;
    padding-bottom: 20px;
    font-weight: 700;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-top: -40px;
    margin-bottom: 50px;
    color: var(--text-light);
}

/* Enhanced Button Styles */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: var(--shadow-btn);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover:before {
    left: 0;
}

.btn:hover {
    background: var(--secondary-gradient);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.btn-admin {
    background: var(--admin-gradient);
    box-shadow: 0 10px 20px rgba(227, 10, 10, 0.15);
}

.btn-admin:hover {
    background: linear-gradient(135deg, #b91c1c, #e64545);
}

/* Enhanced Navigation */
.navbar {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.97);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.navbar-scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar-hidden {
    transform: translateY(-100%);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: var(--transition);
}

.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links ul li {
    margin-left: 35px;
}

.nav-links ul li a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 2px;
}

.nav-links ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

.nav-links ul li a:hover {
    color: var(--primary-color);
}

.nav-links ul li a:hover::after {
    width: 100%;
}

.navbar .fa-bars, .navbar .fa-times {
    color: var(--dark-color);
    font-size: 24px;
    cursor: pointer;
    display: none;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Enhanced Hero Section */
.hero {
    padding: 130px 0 120px;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100%" height="100%" fill="white"/><path d="M0 0L100 100" stroke="%230055c4" stroke-width="0.5" stroke-opacity="0.05"/><path d="M100 0L0 100" stroke="%230055c4" stroke-width="0.5" stroke-opacity="0.05"/></svg>');
    background-size: 30px 30px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 85, 196, 0.05), rgba(0, 120, 255, 0.08));
    top: -200px;
    left: -200px;
    z-index: 0;
    animation: float-slow 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 85, 196, 0.03), rgba(0, 120, 255, 0.05));
    bottom: -200px;
    right: -200px;
    z-index: 0;
    animation: float-slow 20s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.hero .container {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 580px;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark-color); /* Fallback color */
    line-height: 1.2;
    letter-spacing: -0.5px;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-light);
    line-height: 1.8;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.1));
    transition: var(--transition-slow);
}

.hero-image:hover img {
    transform: translateY(-10px) scale(1.02);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Enhanced Login Cards */
.login {
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.login::before,
.login::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 85, 196, 0.03), rgba(0, 120, 255, 0.05));
    z-index: 0;
}

.login::before {
    height: 500px;
    width: 500px;
    top: -250px;
    left: -250px;
    animation: float-slow 15s ease-in-out infinite alternate;
}

.login::after {
    height: 400px;
    width: 400px;
    bottom: -200px;
    right: -200px;
    animation: float-slow 20s ease-in-out infinite alternate-reverse;
}

.login-cards {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.card {
    max-width: 400px;
    background: white;
    border-radius: 16px;
    padding: 50px 35px;
    width: 360px;
    max-width: 100%;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--border-color);
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.card.admin-card::before {
    background: var(--admin-gradient);
}

.card:hover {
    transform: translateY(-20px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.student-icon {
    background: var(--primary-gradient);
}

.admin-icon {
    background: var(--admin-gradient);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 35px rgba(0, 85, 196, 0.2);
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-light);
    margin-bottom: 30px;
    min-height: 50px;
    font-size: 1.1rem;
}

.card .btn {
    width: 100%;
    margin-bottom: 25px;
}

.card-footer {
    font-size: 0.95rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 10px;
}

.card-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.card-footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.process {
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 85, 196, 0.03) 0%, transparent 70%),
        radial-gradient(circle at 80% 20%, rgba(0, 120, 255, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.step {
    background-color: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow-card);
    text-align: center;
    position: relative;
    transition: var(--transition);
    z-index: 1;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(0deg, rgba(0, 85, 196, 0.03), transparent);
    transition: var(--transition-slow);
    z-index: -1;
}

.step:hover {
    transform: translateY(-20px);
    box-shadow: var(--shadow-hover);
}

.step:hover::after {
    height: 100%;
}

.step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--primary-gradient);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 85, 196, 0.2);
    transition: var(--transition);
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 85, 196, 0.25);
}

.step-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background-color: rgba(0, 85, 196, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(0, 85, 196, 0.1);
}

.step:hover .step-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(360deg);
    box-shadow: 0 10px 25px rgba(0, 85, 196, 0.2);
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.step p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Enhanced Features Section */
.features {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230055c4' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

.feature {
    padding: 25px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.feature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-gradient);
    transition: var(--transition);
    z-index: -1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 85, 196, 0.08);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 85, 196, 0.1);
}

.feature-content {
    text-align: center;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    transition: var(--transition);
    font-weight: 600;
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Preserve hover animations */
.feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature:hover::before {
    width: 100%;
    opacity: 0.05;
}

.feature:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(360deg);
    box-shadow: 0 6px 15px rgba(0, 85, 196, 0.2);
    border-radius: 50%;
}

/* Updated mobile responsiveness */
@media screen and (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .feature {
        padding: 20px 15px;
    }

    /* Soften feature-item appearance on mobile */
    .feature-item {
        border-radius: 30px;
        background: rgba(0, 85, 196, 0.04);
        padding: 10px 12px;
        box-shadow: 0 2px 8px rgba(0,85,196,0.04);
    }
}

/* Simulate hover on mobile when .mobile-hover is present */
@media (max-width: 768px) {
    .feature.mobile-hover,
    .step.mobile-hover,
    .feature-item.mobile-hover,
    .card.mobile-hover {
        /* Apply the same styles as :hover */
        /* Feature */
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }
    .feature.mobile-hover::before {
        width: 100%;
        opacity: 0.05;
    }
    .feature.mobile-hover .feature-icon {
        background-color: var(--primary-color);
        color: white;
        transform: rotateY(360deg);
        box-shadow: 0 6px 15px rgba(0, 85, 196, 0.2);
        border-radius: 50%;
    }
    /* Step */
    .step.mobile-hover {
        transform: translateY(-20px);
        box-shadow: var(--shadow-hover);
    }
    .step.mobile-hover::after {
        height: 100%;
    }
    .step.mobile-hover .step-number {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(0, 85, 196, 0.25);
    }
    .step.mobile-hover .step-icon {
        background-color: var(--primary-color);
        color: white;
        transform: rotateY(360deg);
        box-shadow: 0 10px 25px rgba(0, 85, 196, 0.2);
    }
    /* Feature item */
    .feature-item.mobile-hover {
        transform: translateX(5px);
    }
    .feature-item.mobile-hover i {
        background-color: var(--primary-color);
        color: white;
        transform: scale(1.1);
    }
    /* Card */
    .card.mobile-hover {
        transform: translateY(-20px);
        box-shadow: var(--shadow-hover);
    }
    .card.mobile-hover .card-icon {
        transform: scale(1.1) rotate(10deg);
        box-shadow: 0 15px 35px rgba(0, 85, 196, 0.2);
    }
}

/* Updated About System Section */
.about-system {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

/* Remove these pseudo-elements that create the circles */
/* .about-system::before,
.about-system::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 85, 196, 0.03), rgba(0, 120, 255, 0.05));
    z-index: 0;
}

.about-system::before {
    height: 500px;
    width: 500px;
    top: -250px;
    right: -250px;
}

.about-system::after {
    height: 400px;
    width: 400px;
    bottom: -200px;
    left: -200px;
} */

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.dashboard-illustration {
    max-width: 100%;
    height: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: var(--transition);
}

.about-image:hover .dashboard-illustration {
    animation: float-hover 2s ease-in-out infinite;
    box-shadow: 0 25px 50px rgba(0, 85, 196, 0.15);
}

@keyframes float-hover {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    padding: 5px;
    white-space: nowrap;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0; /* Prevents icon from shrinking */
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-item:hover i {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.feature-item span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Enhanced Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='white' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    flex: 1;
    min-width: 280px;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: #e2e8f0;
    font-size: 1.1rem;
}

.footer-tagline {
    display: flex;
    flex-direction: column;
}

/* Add this new style for wider screens */
@media screen and (min-width: 768px) {
    .footer-logo p {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .footer-logo p span {
        display: block;
    }
}

.footer-links, .footer-contact {
    flex: 1;
    min-width: 280px;
}

.footer h3 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 8px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #e2e8f0;
}

.footer-contact p i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 18px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    /* Add new animation properties */
    transform: scale(1);
    animation: none;
}

/* Add hover animation for icons */
.footer-contact p:hover i {
    animation: iconPulse 0.5s ease-in-out;
    background-color: var(--primary-color);
    color: white;
}

/* Add keyframes for icon animation */
@keyframes iconPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.email, .maplink, .phone-number, .hours {
    text-decoration: none; 
    color: #e2e8f0;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.email:hover span, 
.maplink:hover span, 
.phone-number:hover span {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.95rem;
    color: #e2e8f0;
    position: relative;
    z-index: 1;
}

/* Enhanced Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
    z-index: 99;
    box-shadow: 0 5px 20px rgba(0, 85, 196, 0.25);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 85, 196, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 85, 196, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 85, 196, 0);
    }
}

#backToTop:hover {
    background: var(--secondary-gradient);
    transform: translateY(-8px);
    animation: none;
    box-shadow: 0 10px 25px rgba(0, 85, 196, 0.3);
}

.phone-number {
    margin-left: 0px;
    transition: var(--transition);
}

.email, .maplink, .phone-number {
    text-decoration: none; 
    color: #e2e8f0;
    transition: var(--transition);
}

/* Enhanced Mobile Responsive Styles */
@media screen and (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.3rem;
    }
    
    section {
        padding: 90px 0;
    }
}

@media screen and (max-width: 992px) {
    .hero {
        padding: 160px 0 90px;
    }
    
    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 60px;
        max-width: 700px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
    
    .about-content {
        gap: 40px;
    }
    
    section {
        padding: 80px 0;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 140px 0 70px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .navbar .fa-bars {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        padding-top: 70px;
        transition: var(--transition);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        padding: 0 40px;
    }

    .nav-links ul li {
        margin: 0;
        margin-bottom: 25px;
    }

    .nav-links .fa-times {
        position: absolute;
        top: 25px;
        right: 25px;
        display: block;
        font-size: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .feature-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image, .about-text {
        flex: 1 0 100%;
    }
    
    .dashboard-illustration {
        max-width: 90%;
        margin-bottom: 30px;
        z-index: 1;
    }
    
    .features-list {
        justify-content: center;
        margin: 0 auto;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .feature-item {
        justify-content: flex-start;
        text-align: left;
    }
    
    section {
        padding: 70px 0;
    }
}

@media screen and (max-width: 576px) {
    .hero {
        padding: 130px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .card {
        width: 100%;
        padding: 40px 25px;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .feature, .step {
        padding: 30px 20px;
    }
    
    .feature-icon, .step-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        line-height: 45px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
}

/* Admin Link Styles */
.admin-link {
    color: var(--admin-color) !important;
    font-weight: 600 !important;
}

.admin-link:hover {
    color: var(--admin-hover) !important;
}

.admin-link::after {
    background-color: var(--admin-color) !important;
}
