/* Base Styles */

*{
    margin: 0;
    padding: 0;

}



/* Main Container */
.con {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header Section */
.header {
    text-align: center;
    margin-bottom: 3rem;
}

.title {
    font-size: 3rem;
    font-weight: bold;
    color: #000075;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.ai-btn {
    background: #000075;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 117, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 3rem;
}

.ai-btn:hover {
    background: white;
    color: #000075;
    border: 2px solid #000075;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 117, 0.4);
}

/* Section Subtitle */
.section-subtitle {
    font-size: 2rem;
    color: #000075;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
}

/* AI Categories */
.ai-categories {
    margin-bottom: 4rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-card1 {
    background: white;
    border: 2px solid #000075;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card1:hover {
    background: #000075;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 117, 0.3);
}

.category-card1.active {
    background: #000075;
    color: white;
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000075;
}

.category-card1:hover .category-icon,
.category-card1.active .category-icon {
    color: white;
}

.category-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.category-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Tools Section */
.tools-section {
    margin-bottom: 4rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.tool-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.tool-card:hover::before {
    transform: translateX(100%);
}

.tool-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #000075;
}

.tool-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000075;
    margin-bottom: 1rem;
    text-align: center;
}

.card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-item i {
    color: #000075;
}

.tool-description {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    line-height: 1.4;
}

/* AI Icons */
.ai-icon-1 { color: #00A67E; } /* ChatGPT */
.ai-icon-2 { color: #FF6B6B; } /* DALL-E */
.ai-icon-3 { color: #4ECDC4; } /* Sora */
.ai-icon-4 { color: #45B7D1; } /* GitHub */
.ai-icon-5 { color: #96CEB4; } /* Claude */
.ai-icon-6 { color: #FFEAA7; } /* ElevenLabs */

/* Prompts Section */
.prompts-section {
    margin-bottom: 4rem;
}

.prompts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.prompt-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.prompt-card:hover {
    border-color: #000075;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 117, 0.1);
}

.prompt-icon {
    font-size: 1.5rem;
    color: #000075;
    margin-bottom: 1rem;
}

.prompt-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #000075;
    margin-bottom: 0.5rem;
}

.prompt-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
}

/* Videos Section */
.videos-section {
    margin-bottom: 4rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #000075 0%, #4285f4 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000075;
    transition: all 0.3s ease;
}

.video-card:hover .video-icon {
    background: white;
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    background: rgba(0,0,0,0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.video-info {
    padding: 1rem;
}

.video-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #000075;
    margin-bottom: 0.5rem;
}

.video-duration {
    font-size: 0.9rem;
    color: #666;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 3rem 0;
}

.page-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-dot.active {
    background: #000075;
    transform: scale(1.3);
}

.page-dot:hover {
    background: #4285f4;
    transform: scale(1.1);
}

/* Loading Animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .tool-image {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .con {
        padding: 1.5rem;
    }
    
    nav ul {
        padding-left: 200px;
    }
    
    .footer .left {
        padding-left: 50px;
    }
    
    .footer .center {
        padding-right: 50px;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    .category-grid,
    .tools-grid,
    .prompts-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        flex-direction: column;
        padding-left: 20px;
    }
    
    nav img {
        padding-left: 20px;
    }
    
    .search-box {
        margin-left: 20px;
        width: 200px;
    }
    
    .footer {
        flex-direction: column;
        text-align: center;
    }
    
    .footer .left {
        width: 100%;
        flex-direction: column;
        padding-left: 0;
    }
    
    .footer .center {
        width: 100%;
        padding-right: 0;
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .ai-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .tool-card,
    .prompt-card,
    .video-card {
        padding: 1rem;
    }
    
    .category-card {
        padding: 1rem;
    }
    
    .category-icon {
        font-size: 2rem;
    }
}

/* Smooth Transitions */
* {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card,
.prompt-card,
.video-card,
.category-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Hover Effects */
.tool-card:hover .tool-image,
.category-card:hover .category-icon {
    transform: scale(1.1);
}

.prompt-card:hover .prompt-icon {
    transform: rotate(15deg);
}

/* Focus States */
.ai-btn:focus,
.tool-card:focus,
.prompt-card:focus,
.video-card:focus,
.category-card:focus {
    outline: 3px solid rgba(0, 0, 117, 0.3);
    outline-offset: 2px;
}

/* Text Selection */
::selection {
    background-color: rgba(0, 0, 117, 0.2);
    color: #000075;
}