/* Google Fonts - Optional: For a more modern look, consider adding a nice font */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700;800&display=swap');

/* --- General Styles --- */
body {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    background-color: #ffffff;
    line-height: 1.8;
}

:root {
    --primary-color: #0d6efd; /* Bootstrap's default blue */
    --primary-hover: #0b5ed7;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
}

/* --- Header / Navbar --- */
.navbar-brand img {
    transition: transform 0.3s ease;
}
.navbar-brand:hover img {
    transform: scale(1.05);
}
.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.2s;
}
.nav-link:hover {
    color: var(--primary-color);
}
.navbar .btn-primary {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}
.navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

/* --- Hero Section --- */
main {
    min-height: 70vh;
    display: flex;
    align-items: center;
}
.hero-card-image {
    animation: floatAnimation 4s ease-in-out infinite;
    max-width: 100%;
    height: auto;
}

/* Floating animation for the card */
@keyframes floatAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.display-4 {
    color: var(--text-dark);
}

/* --- Buttons in Hero --- */
.hero-section .btn {
    font-weight: 700;
    border-width: 2px;
}
.hero-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}
.hero-section .btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-3px);
}
.hero-section .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}
.hero-section .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* --- Partners Section --- */
.partner-logo {
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}
.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* --- Footer --- */
footer {
    border-top: 1px solid #e9ecef;
}
footer p {
    color: var(--text-muted);
}
