/* Custom CSS for TrigoSec Website */

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

/* Improved focus states for accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Mobile optimizations */
@media (max-width: 576px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .social-links,
    .btn {
        display: none !important;
    }

    .hero-section {
        background: white !important;
        color: black !important;
        min-height: auto !important;
    }

    .section-padding {
        padding: 40px 0 !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid white;
    }

    .text-primary {
        font-weight: 700;
    }
}

/* Custom utility classes */
.text-gradient {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(
            135deg,
            var(--primary-color),
            var(--secondary-color)
        )
        1;
}

.shadow-primary {
    box-shadow: 0 10px 30px rgba(0, 46, 191, 0.2) !important;
}

.shadow-secondary {
    box-shadow: 0 10px 30px rgba(223, 170, 0, 0.2) !important;
}

/* Typography improvements */
.lead {
    font-weight: 400;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.02em;
}

/* Button improvements */
.btn-lg {
    font-size: 1.1rem;
    padding: 15px 35px;
    letter-spacing: 0.5px;
    border-radius: 50px;
}

/* Ensure all buttons have consistent oval shape */
.btn {
    border-radius: 50px;
}

.btn-sm {
    border-radius: 50px;
}

/* Logo improvements */
.logo-img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
