/* Landing page styling extracted from index.php (2025-10-15) */

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.display-4 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.lead {
    font-weight: 400;
    font-size: 1.125rem;
    color: var(--text-light);
}

.navbar {
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navbar-brand {
    font-weight: 800;
    color: var(--dark-bg);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.75rem 1.25rem;
    margin: 0 0.5rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: linear-gradient(to right, rgba(30, 58, 138, 0.1), rgba(79, 70, 229, 0.1));
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--info-color) 100%);
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.08)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>') no-repeat;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    pointer-events: none;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.95);
    max-width: 650px;
    font-size: 1.25rem;
}

.feature-card {
    border: none;
    border-radius: var(--border-radius-xl);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 4px solid var(--primary-color);
    overflow: hidden;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--info-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.75rem;
    color: var(--primary-color);
    margin-bottom: 1.75rem;
    background: linear-gradient(to bottom, rgba(30, 58, 138, 0.1), rgba(79, 70, 229, 0.1));
    width: 90px;
    height: 90px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.btn {
    font-weight: 600;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.btn-outline-light {
    border-width: 2px;
    color: white;
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.section {
    padding: 5rem 0;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 60px;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-radius: 3px;
}

#about {
    background: linear-gradient(to bottom, var(--light-bg), #ffffff);
    position: relative;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
}

.about-list li:hover {
    transform: translateX(5px);
}

.about-list i {
    color: var(--success-color);
    margin-right: 1rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.contact-card {
    border: none;
    border-radius: var(--border-radius-xl);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--success-color) 0%, var(--success-dark) 100%);
}

.contact-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.footer {
    background: linear-gradient(to top, var(--dark-bg), #1f2937);
    color: white;
    padding: 5rem 0 2rem;
}

.footer h5 {
    color: white;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
}

.footer h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer a:hover {
    color: white;
    transform: translateX(8px);
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    margin-right: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.footer .social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer .social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.footer .social-links a:hover::before {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
    margin-top: 4rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

[aria-hidden="true"] {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 992px) {
    .hero-section {
        padding: 5rem 0;
    }

    .display-4 {
        font-size: 2.75rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .hero-section {
        text-align: center;
    }

    .hero-section .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .nav-link {
        margin: 0.25rem 0;
    }
}
