/* Main stylesheet for MR GLOBAL GROUP */
/* Base styles */
body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Responsive Typography */
html {
    font-size: 16px;
}
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

/* Mobile First Container */
.container {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}
/* Custom container class */
.container {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* Animation classes */
.transition {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Custom focus styles */
.focus\:ring-primary:focus {
    --tw-ring-opacity: 1;
    --tw-ring-color: rgba(26, 54, 93, var(--tw-ring-opacity));
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.5);
}

/* Custom hover effects */
.hover\:shadow-lg:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Section spacing */
section {
    scroll-margin-top: 100px;
}

/* Feather icon adjustments */
[data-feather] {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}
/* Product category cards */
.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
    .grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .grid-cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    section {
        padding: 2rem 1rem;
    }
    
    .text-4xl {
        font-size: 2rem;
    }
    .text-5xl {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .grid-cols-4 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
}
/* Industries section cards */
.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}
/* Form input styles */
input, textarea {
    border: 1px solid #e2e8f0;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #1a365d;
}
/* Button hover effects */
.hover\:bg-secondary:hover {
    background-color: #2c5282;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #1a365d;
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #2c5282;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
