/* Custom CSS for Gobid Group Landing Page */

/* CSS Variables */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-yellow: #fbbf24;
    --dark-blue: #1e293b;
    --light-blue: #dbeafe;
    --text-dark: #374151;
    --border-radius: 0.75rem;
}
.font-family-spartan{
    font-family: 'Spartan';
}


/* Global Styles */
body {
    font-family: 'Nunito Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: white;
}

/* Custom Bootstrap Colors */
.text-primary {
    color: var(--primary-blue) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

.bg-warning {
    background-color: var(--accent-yellow) !important;
}

/* Header Styles */
.logo-header {
    height: 85px;
    width: auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), 
                url('public/lovable-uploads/a254b623-7c75-4a31-8e2e-2163f98126c0.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 70vh;
}

.books-image {
    max-width: 100%;
    height: auto;
    max-height: 900px;
    object-fit: contain;
    position: absolute;
    top: -239px;
    z-index: 3;
    right: 0;
}

/* Banner Section */
.banner-section {
    z-index: 1;
    margin-top: -50px;
    overflow: hidden;
}

.banner-yellow {
    background-color: var(--accent-yellow);
    transform: skew(-2deg);
    margin: 0 -50px;
    padding: 0 50px;
    z-index: 1;
}

.banner-yellow .container {
    transform: skew(2deg);
}

.banner-text {
    font-size: 2.1rem;
    text-align: left;
}

/* Form Section */
.form-section {
    background-color: white;
}

.form-title {
    font-size: 2.8rem;
    line-height: 1.3;
}

.form-container {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.input-group-text {
    background-color: white;
    border-color: #d1d5db;
    color: var(--primary-blue);
}

.form-control {
    border-color: #d1d5db;
    font-size: 16px;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.privacy-checkbox {
    width: 1.2rem !important;
    height: 1.2rem !important;
    margin-top: 0.25rem;
}

.btn-light {
    background-color: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

/* Benefits Section */
.benefits-section {
    background-color: white;
}

.benefit-item {
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.benefit-icon {
    width: 85px;
    height: 85px;
    object-fit: contain;
}

/* Footer */
.footer-section {
    margin-top: 1rem;
}

.footer-img {
    background: url('images/footer-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 1.5rem 0;
}

/* Animation Classes */
.benefit-item, .form-container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.benefit-item.animate-in, .form-container.animate-in {
    opacity: 1;
    transform: translateY(0);
}
.invalid-feedback{
    font-weight: 500;
}
.form-control.is-invalid{
    border-width: medium;
}
.btn-light {
    background-color: white;
    border: 2px solid var(--bs-black);
}
.btn-light:hover {
    background-color: var(--bs-black);
    color: white!important;
}
/* Responsive Design */
@media (max-width: 1100px) {
    .logo-header {
        height: 60px;
    }
    .display-4 {
        font-size: 2.5rem;
    }
    
    .banner-text {
        font-size: 1.4rem;
    }
    
    .form-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .banner-yellow {
        margin: 0 -20px;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem !important;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .form-container {
        margin: 0 1rem;
        padding: 2rem 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .banner-text {
        font-size: 1.1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .benefit-item,
    .btn-light {
        transition: none;
    }
    
    .benefit-item:hover,
    .btn-light:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .hero-section,
    .form-section {
        background: white !important;
    }
    
    .banner-yellow {
        background: #f3f4f6 !important;
    }
}
