/* Custom Styles for IBT ISP Landing Page */

:root {
    --primary-blue: #3B82F6;
    --primary-purple: #8B5CF6;
    --accent-cyan: #06B6D4;
    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Header Styles */
#header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Gradient Button */
.btn-gradient {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Hero Gradient Background */
.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDelay {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-delay {
    animation: fadeInDelay 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
}

/* Portal Cards */
.portal-card {
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.95);
}

.portal-card.visible {
    opacity: 1;
    transform: scale(1);
}

.portal-card:hover {
    transform: scale(1.05);
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

/* Integration Cards */
.integration-card {
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
}

.integration-card.visible {
    opacity: 1;
    transform: scale(1);
}

.integration-card:hover {
    transform: scale(1.1);
}

/* FAQ Accordion */
.faq-item {
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-30px);
}

.faq-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 0;
    padding-bottom: 1.25rem;
}

.faq-answer.hidden {
    display: block;
}

/* Scroll to Top Button */
#scroll-to-top {
    transition: all 0.3s ease;
}

#scroll-to-top.show {
    opacity: 1;
    pointer-events: all;
}

#scroll-to-top:hover {
    transform: translateY(-5px);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
}

/* Form Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

input.error,
textarea.error {
    border-color: #EF4444;
}

.form-error {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

#form-message.success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #34D399;
}

#form-message.error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #F87171;
}

/* Navigation Active State */
.nav-link.active {
    color: #3B82F6;
    font-weight: 600;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hero-gradient {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.875rem;
    }

    .feature-card,
    .portal-card,
    .pricing-card {
        transform: none !important;
    }

    .feature-card:hover,
    .portal-card:hover,
    .pricing-card:hover {
        transform: none !important;
    }
}

/* Loading Animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Morphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Shine Effect */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.shine {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    animation: shine 3s infinite;
}

/* Section Dividers */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #3B82F6, transparent);
    margin: 4rem auto;
    max-width: 200px;
}

/* Card Hover Effects */
.card-hover-effect {
    position: relative;
    overflow: hidden;
}

.card-hover-effect::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 ease;
}

.card-hover-effect:hover::before {
    left: 100%;
}

/* Intersection Observer Classes */
.observe {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.observe.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Print Styles */
@media print {

    header,
    #scroll-to-top,
    #mobile-menu-btn {
        display: none;
    }
}