/* Professional Corporate Design Enhancements */

:root {
    --primary-color: #dc4405;
    --secondary-color: #1a1a1a;
    --accent-color: #ff6b35;
    --light-bg: #f8f9fa;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-color: #e0e0e0;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Professional Section Styling */
section {
    position: relative;
}

section header {
    margin-bottom: 3rem;
    text-align: center;
}

section header h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

section header h2.has-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

section header p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(220, 68, 5, 0.15);
}

.card img {
    object-fit: cover;
    height: 250px;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .card img {
        height: 200px;
    }
    
    section header h2 {
        font-size: 1.5rem;
    }
    
    section header p {
        font-size: 0.95rem;
    }
}

/* Button Styling */
.btn {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(220, 68, 5, 0.3);
}

/* Responsive Text */
h1 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 4vw, 1.8rem); font-weight: 600; }
h4 { font-size: clamp(1rem, 3vw, 1.4rem); font-weight: 600; }

p { font-size: clamp(0.9rem, 2.5vw, 1.05rem); line-height: 1.7; }

/* Container Padding */
.container-xl, .grid-container {
    padding-left: max(1rem, 5vw);
    padding-right: max(1rem, 5vw);
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(26, 26, 26, 0.98);
        padding: 1.5rem 0;
        border-radius: 0 0 12px 12px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1.5rem !important;
    }
    
    .navbar-partners-inline {
        display: none !important;
    }
}

/* Image Container Styling */
.image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* Responsive Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Section Backgrounds */
.section-light {
    background-color: var(--light-bg);
    padding: 3rem 0;
}

.section-dark {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 3rem 0;
}

.section-accent {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    padding: 3rem 0;
}

/* Padding Responsive */
.py-responsive {
    padding-top: clamp(1.5rem, 5vw, 3rem);
    padding-bottom: clamp(1.5rem, 5vw, 3rem);
}

.px-responsive {
    padding-left: clamp(1rem, 5vw, 2rem);
    padding-right: clamp(1rem, 5vw, 2rem);
}

/* Typography Enhancement */
.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.text-muted-light {
    color: #999;
    font-size: 0.95rem;
}

/* Flexbox Utilities */
.flex-responsive {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .flex-responsive {
        flex-direction: row;
        gap: 2rem;
    }
}

.flex-responsive > * {
    flex: 1;
}

/* Aligning Elements */
.align-items-center {
    display: flex;
    align-items: center;
}

.justify-content-center {
    display: flex;
    justify-content: center;
}

/* Max Width Utilities */
.max-width-sm {
    max-width: 500px;
}

.max-width-md {
    max-width: 800px;
}

.max-width-lg {
    max-width: 1000px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Spacing Utilities */
.gap-sm { gap: 1rem; }
.gap-md { gap: 1.5rem; }
.gap-lg { gap: 2rem; }

/* Professional Dividers */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 2rem 0;
}

/* Content Box Styling */
.content-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.content-box:hover {
    box-shadow: 0 6px 20px rgba(220, 68, 5, 0.1);
    transform: translateY(-4px);
}

/* Responsive Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    background: white;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(220, 68, 5, 0.05), rgba(255, 107, 53, 0.05));
    box-shadow: 0 6px 20px rgba(220, 68, 5, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Print Styles */
@media print {
    .navbar, footer, .floaters {
        display: none;
    }
}
