/* Gujarat Model Plan Section Styles */

.gujarat-model-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    overflow: hidden;
}

.gujarat-model-title {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.gujarat-model-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 2px;
}

.gujarat-highlights {
    margin-top: 2rem;
}

.highlight-card {
    background: white;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.highlight-card:hover {
    transform: translateY(-5px);
    border-color: #28a745;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.15);
}

.highlight-icon {
    font-size: 2.5rem;
    line-height: 1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Slower, gentler float for mobile - very slow and subtle */
@keyframes floatMobile {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.highlight-title {
    font-size: 1.1rem;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.highlight-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile Responsive Styles */
@media (max-width: 767px) {
    .gujarat-model-section {
        border-radius: 10px;
    }
    
    .gujarat-model-section .card-body {
        padding: 1.5rem !important;
    }
    
    .gujarat-model-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem !important;
    }
    
    .gujarat-model-title::after {
        width: 60px;
        height: 3px;
    }
    
    .gujarat-highlights {
        margin-top: 1rem;
    }
    
    .highlight-card {
        padding: 1.25rem !important;
        margin-bottom: 0.5rem;
    }
    
    .highlight-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem !important;
        /* Very slow, gentle float animation for mobile - 8 seconds */
        animation: floatMobile 8s ease-in-out infinite !important;
    }
    
    .highlight-title {
        font-size: 1rem;
        min-height: auto;
        margin-bottom: 0.5rem !important;
    }
    
    .highlight-text {
        font-size: 0.875rem;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991px) {
    .gujarat-model-title {
        font-size: 1.75rem;
    }
    
    .highlight-card {
        padding: 1.5rem !important;
    }
    
    .highlight-icon {
        font-size: 2.25rem;
    }
    
    .highlight-title {
        font-size: 1.05rem;
        min-height: 70px;
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .gujarat-model-section .card-body {
        padding: 3rem 4rem !important;
    }
    
    .gujarat-model-title {
        font-size: 2.25rem;
    }
    
    .highlight-card {
        padding: 1.75rem !important;
    }
    
    .highlight-icon {
        font-size: 3rem;
    }
    
    .highlight-title {
        font-size: 1.15rem;
    }
    
    .highlight-text {
        font-size: 1rem;
    }
}

/* Animation delays for staggered effect */
.highlight-card:nth-child(1) { animation-delay: 0s; }
.highlight-card:nth-child(2) { animation-delay: 0.1s; }
.highlight-card:nth-child(3) { animation-delay: 0.2s; }
.highlight-card:nth-child(4) { animation-delay: 0.3s; }
.highlight-card:nth-child(5) { animation-delay: 0.4s; }
.highlight-card:nth-child(6) { animation-delay: 0.5s; }
.highlight-card:nth-child(7) { animation-delay: 0.6s; }
.highlight-card:nth-child(8) { animation-delay: 0.7s; }
.highlight-card:nth-child(9) { animation-delay: 0.8s; }

/* Fade in animation on page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* Print styles */
@media print {
    .gujarat-model-section {
        box-shadow: none !important;
        border: 1px solid #dee2e6;
    }
    
    .highlight-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
