/* Main styles for DRAG'S INSIGHTS LTD */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    padding-top: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.navbar-brand img {
    object-fit: contain;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.min-vh-100 {
    min-height: 100vh;
}

.card {
    border-radius: 16px;
    transition: all 0.3s ease;
}

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

.rounded-4 {
    border-radius: 1rem !important;
}

.btn {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.section {
    padding: 100px 0;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff !important;
}

.platform-logo {
    transition: all 0.3s ease;
}

.platform-logo:hover {
    transform: scale(1.05);
}

.service-card {
    border-radius: 20px;
}

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

.contact-icon, .feature-icon {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #4f46e5;
    border-radius: 5px;
}

/* ========== RESPONSIVE STYLES ========== */

/* Tablet (992px and below) */
@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.25rem;
    }
    
    /* Navbar */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 15px;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-item {
        margin-bottom: 5px;
    }
    
    /* Cards */
    .card {
        margin-bottom: 20px;
    }
    
    /* Buttons */
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Forms */
    .form-control, .form-select {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer-section {
        padding: 40px 0 0;
    }
    
    .footer-title {
        margin-top: 20px;
    }
}

/* Small Mobile (576px and below) */
@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .display-6 {
        font-size: 1.1rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer-section {
        padding: 30px 0 0;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
}

/* Very Small Mobile (400px and below) */
@media (max-width: 400px) {
    .section {
        padding: 30px 0;
    }
    
    .display-4 {
        font-size: 1.5rem;
    }
    
    .display-5 {
        font-size: 1.25rem;
    }
    
    .navbar-brand .brand-text {
        font-size: 0.9rem;
    }
}

/* Platforms Section */
.platforms-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.platforms-badge {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.platforms-title {
    background: linear-gradient(135deg, #1e293b 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(79,70,229,0.15);
}

.platform-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.platform-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.platform-tag {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-card {
        padding: 20px 15px;
    }
    
    .platform-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-card {
        padding: 15px;
    }
}
