/* Enhanced Professional About Page Styles */

/* Import Google Fonts for modern typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Global Typography Enhancement */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Hero Section Enhancement */
.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #64b5f6 100%);
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
        background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 50px;
}

.hero-section h1 {
    font-weight: 800;
    font-size: 3.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-section .lead {
    font-size: 1.4rem;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    line-height: 1.6;
}

/* Main Content Sections */
.container.my-5 {
    padding: 3rem 2rem 3rem 3rem;
}

.mb-5{
    margin-bottom: 0px !important;
}

.container.my-5 h2 {
    font-weight: 700;
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 2rem;
    position: relative;
    letter-spacing: -0.01em;
}

.container.my-5 h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30;
    width: 60px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

.container.my-5 p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Mission Card Enhancement */
.bg-light {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    border-radius: 20px;
    padding: 2.5rem !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(30, 60, 114, 0.1);
    position: relative;
    overflow: hidden;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298, #64b5f6);
}

.bg-light h4 {
    font-weight: 700;
    font-size: 1.8rem;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    position: relative;
}

.bg-light p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 0;
}

/* Why Choose REVA Section */
.bg-light.py-5 {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
    position: relative;
    overflow: hidden;
    padding-bottom: 20px !important;
}

.bg-light.py-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(30,60,114,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.bg-light.py-5 .container {
    position: relative;
    z-index: 1;
}

.bg-light.py-5 h2 {
    font-weight: 800;
    font-size: 2.8rem;
    color: #1e3c72;
    margin-bottom: 0rem;
    text-align: center;
    position: relative;
}

.bg-light.py-5 h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

/* Feature Cards */
.bg-light .text-center {
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    height: 100%;
}
/* 
.bg-light .text-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e3c72, #2a5298, #64b5f6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.bg-light .text-center:hover::before {
    transform: scaleX(1);
}

.bg-light .text-center:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(30, 60, 114, 0.2);
    background: rgba(255,255,255,0.95);
} */

.bg-light .text-center i {
    font-size: 3.5rem !important;
    background: linear-gradient(135deg, #1e3c72, #64b5f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem !important;
    transition: all 0.3s ease;
}

.bg-light .text-center:hover i {
    transform: scale(1.1);
}

.bg-light .text-center h5 {
    font-weight: 700;
    font-size: 1.4rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.bg-light .text-center p {
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 0;
}

/* Product Categories Section */
.container.my-5:last-of-type h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* Enhanced Product Category Cards */
.card.h-100 {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #ffffff;
    position: relative;
}

.card.h-100::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298, #64b5f6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.card.h-100:hover::before {
    transform: scaleX(1);
}

.card.h-100:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(30, 60, 114, 0.15);
}

.card.h-100 .card-img-top {
    height: 220px;
    object-fit: contain;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 20px;
    transition: all 0.4s ease;
    border-bottom: 1px solid #e2e8f0;
}

.card.h-100:hover .card-img-top {
    transform: scale(1.05);
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
}

.card.h-100 .bg-light {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
    border: none;
}

.card.h-100 .card-body {
    padding: 2rem 1.5rem;
    text-align: center;
    background: #ffffff;
}

.card.h-100 .card-title {
    font-weight: 700;
    font-size: 1.3rem;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.card.h-100 .btn-outline-primary {
    background: transparent;
    border: 2px solid #1e3c72;
    color: #1e3c72;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card.h-100 .btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    transition: left 0.4s ease;
    z-index: -1;
}

.card.h-100 .btn-outline-primary:hover::before {
    left: 0;
}

.card.h-100 .btn-outline-primary:hover {
    color: white;
    border-color: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
}

/* Call to Action Section */
.bg-primary {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #64b5f6 100%) !important;
    position: relative;
    overflow: hidden;
}

.bg-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="100" height="20" patternUnits="userSpaceOnUse"><path d="M0 10 Q25 0 50 10 T100 10 V20 H0 Z" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
}

.bg-primary .container {
    position: relative;
    z-index: 2;
}

.bg-primary h2 {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.bg-primary .lead {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.bg-primary .btn-light {
    background: #ffffff;
    border: none;
    color: #1e3c72;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
    margin-right: 1rem;
}

.bg-primary .btn-light:hover {
    background: #f8fafc;
    color: #1e3c72;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,255,255,0.3);
}

.bg-primary .btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
    padding: 13px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bg-primary .btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: left 0.4s ease;
}

.bg-primary .btn-outline-light:hover::before {
    left: 0;
}

.bg-primary .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,255,255,0.2);
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .container.my-5 {
        padding: 3rem 0;
    }
    
    .container.my-5 h2 {
        font-size: 2rem;
    }
    
    .bg-light.py-5 h2 {
        font-size: 2.2rem;
    }
    
    .bg-light .text-center {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .bg-light .text-center i {
        font-size: 3rem !important;
    }
    
    .bg-primary h2 {
        font-size: 2.2rem;
    }
    
    .bg-primary .lead {
        font-size: 1.1rem;
    }
    
    .bg-primary .btn-light,
    .bg-primary .btn-outline-light {
        font-size: 1rem;
        padding: 12px 24px;
        margin: 0.5rem;
        display: block;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .container.my-5 h2 {
        font-size: 1.8rem;
    }
    
    .bg-light.py-5 h2 {
        font-size: 1.8rem;
    }
    
    .bg-light .text-center h5 {
        font-size: 1.2rem;
    }
    
    .card.h-100 .card-img-top {
        height: 180px;
        padding: 15px;
    }
    
    .card.h-100 .card-body {
        padding: 1.5rem 1rem;
    }
    
    .bg-primary h2 {
        font-size: 1.8rem;
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container.my-5 > .row > div {
    animation: fadeInUp 0.6s ease-out;
}

.container.my-5 > .row > div:nth-child(1) { animation-delay: 0.1s; }
.container.my-5 > .row > div:nth-child(2) { animation-delay: 0.2s; }
.container.my-5 > .row > div:nth-child(3) { animation-delay: 0.3s; }
.container.my-5 > .row > div:nth-child(4) { animation-delay: 0.4s; }

/* Accessibility Enhancements */
.btn:focus,
.card:focus {
    outline: 3px solid #64b5f6;
    outline-offset: 2px;
}

/* High-DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section,
    .bg-light,
    .bg-primary {
        background-attachment: fixed;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.card.h-100 {
    opacity: 0;
    animation: cardLoad 0.8s ease-out forwards;
}

@keyframes cardLoad {
    to {
        opacity: 1;
    }
}

.card.h-100:nth-child(1) { animation-delay: 0.1s; }
.card.h-100:nth-child(2) { animation-delay: 0.2s; }
.card.h-100:nth-child(3) { animation-delay: 0.3s; }
.card.h-100:nth-child(4) { animation-delay: 0.4s; }