/* Custom CSS Variables */
:root {
    --primary-blue: #00264d;
    --cement-gray: #cccccc;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --font-family: 'Montserrat', sans-serif;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: #333;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Navbar */
.custom-navbar {
    background-color: var(--primary-blue) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 38, 77, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--cement-gray) !important;
}

.cta-button {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 38, 77, 0.6), rgba(0, 38, 77, 0.7)),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 38, 77, 0.4) 0%, rgba(0, 38, 77, 0.6) 100%);
    z-index: -1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    z-index: 10;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0.98;
}

.hero-cta {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-cta:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.hero-cta:active {
    transform: translateY(-2px) scale(1.02);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

/* Ensure all content sections are above hero */
section:not(.hero-section) {
    position: relative;
    z-index: 5;
    background-color: var(--white);
}

section.bg-light {
    background-color: #f8f9fa !important;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
}

/* Feature Cards */
.feature-card {
    padding: 2rem 1.5rem;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 38, 77, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
}

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

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-icon:hover {
    color: #001a3a;
    transform: scale(1.1) rotate(5deg);
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 38, 77, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border-left: 4px solid var(--primary-blue);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 38, 77, 0.05), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 38, 77, 0.2);
    border-left-width: 6px;
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-icon:hover {
    color: #001a3a;
    transform: scale(1.15) rotate(-5deg);
}

.service-card h4 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Differential Cards */
.differential-card {
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 38, 77, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 38, 77, 0.05);
    height: 100%;
}

.differential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), #0056b3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.differential-card:hover::before {
    transform: scaleX(1);
}

.differential-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 38, 77, 0.03), transparent);
    transition: left 0.7s ease;
}

.differential-card:hover::after {
    left: 100%;
}

.differential-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 38, 77, 0.2);
    background: linear-gradient(135deg, var(--white) 0%, rgba(0, 38, 77, 0.02) 100%);
}

.differential-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.differential-icon {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    display: inline-block;
}

.differential-card:hover .differential-icon {
    color: #0056b3;
    transform: scale(1.2) rotate(5deg);
}

.differential-card h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.differential-card:hover h4 {
    color: #0056b3;
}

.differential-card p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 38, 77, 0.1);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 38, 77, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 38, 77, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--white);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 38, 77, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 10px rgba(0, 38, 77, 0.1);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 38, 77, 0.3);
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    width: 90%;
    max-width: 600px;
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
}

.footer-brand h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--cement-gray);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--cement-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 2px solid var(--cement-gray);
    border-radius: 50%;
    color: var(--cement-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card, .feature-card, .differential-card {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .feature-icon, .service-icon, .differential-icon {
        font-size: 2.5rem;
    }
}

/* Loading Animation */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Page Transition Effects */
body {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.loaded {
    opacity: 1;
}

/* Introduction content styling */
.intro-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 38, 77, 0.1);
    position: relative;
    z-index: 10;
}

/* Logo specific styles */
.navbar-brand img, .footer-brand img {
    max-height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-brand img {
    max-height: 30px;
}

/* Fallback for logo display issues */
.navbar-brand {
    min-width: 120px;
    display: flex;
    align-items: center;
}

.navbar-brand .logo-fallback {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--white);
    background: var(--white);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 8px;
    letter-spacing: 2px;
}

/* Smooth scrolling improvements */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form enhancements */
.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 38, 77, 0.15);
    transform: scale(1.01);
}

/* Floating effect for CTA buttons */
.hero-cta, .cta-button {
    position: relative;
}

.hero-cta::after, .cta-button::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.hero-cta:hover::after, .cta-button:hover::after {
    width: 80%;
}

/* Contact form buttons */
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    text-decoration: none;
}

.whatsapp-float:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Content card for policy pages */
.content-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 38, 77, 0.08);
    line-height: 1.7;
}

.content-card h3 {
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--cement-gray);
    padding-bottom: 0.5rem;
}

.content-card h3:first-of-type {
    margin-top: 1rem;
}

.content-card ul {
    margin-bottom: 1.5rem;
}

.content-card ul li {
    margin-bottom: 0.5rem;
}

/* Service images */
.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

/* Testimonial photos */
.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
    margin: 0 auto;
}

/* Video container styles */
.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.video-container video {
    border-radius: 15px;
    transition: all 0.3s ease;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-in-top {
    animation: slideInFromTop 0.8s ease forwards;
}

.bounce-animation {
    animation: bounce 2s infinite;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Background Patterns */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-blue) !important;
}

.border-primary {
    border-color: var(--primary-blue) !important;
}

/* Active navigation link */
.navbar-nav .nav-link.active {
    color: var(--cement-gray) !important;
    font-weight: 600;
}

/* Statistics Cards */
.stat-card {
    padding: 2rem 1rem;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 3px 15px rgba(0, 38, 77, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 38, 77, 0.15);
}

.stat-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-card h3 {
    transition: all 0.3s ease;
}

.stat-card:hover h3 {
    transform: scale(1.1);
}

/* Testimonial Cards */
.testimonial-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 38, 77, 0.08);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
    border-left: 3px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 38, 77, 0.15);
    border-left-color: var(--primary-blue);
}

.testimonial-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Info */
.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 38, 77, 0.08);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item h5 {
    margin-bottom: 5px;
    color: var(--primary-blue);
    font-weight: 600;
}

.contact-item p {
    margin-bottom: 0;
    color: var(--dark-gray);
}

/* Page Headers */
.bg-primary {
    background-color: var(--primary-blue) !important;
}

/* Accordion Customization */
.accordion-button {
    background-color: var(--white);
    color: var(--primary-blue);
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-blue);
    color: var(--white);
}

.accordion-button:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 38, 77, 0.25);
}

/* Client Logos Section */
.clients-section {
    background: linear-gradient(135deg, #f8f9fa 0%, var(--white) 100%);
    padding: 5rem 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 38, 77, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(20px);
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), #0056b3);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.client-card:hover::before {
    transform: scaleX(1);
}

.client-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.client-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 38, 77, 0.15);
    border-color: var(--primary-blue);
}

.client-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.client-card:hover .client-name {
    color: #0056b3;
    transform: scale(1.05);
}

.client-icon {
    font-size: 2.5rem;
    color: var(--cement-gray);
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.client-card:hover .client-icon {
    color: var(--primary-blue);
    transform: scale(1.15) rotate(-5deg);
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.5rem;
    }
    
    .client-card {
        padding: 1.5rem 1rem;
    }
    
    .client-icon {
        font-size: 2rem;
    }
    
    .client-name {
        font-size: 0.85rem;
    }
}

/* ====================================
   ENHANCED DIFFERENTIALS PAGE STYLES
   ==================================== */

/* Differentials Hero Section with Gradient */
.differentials-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00264d 0%, #003d7a 50%, #0056b3 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 0 5rem;
    margin-top: 56px;
}

.differentials-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: heroGradientMove 15s ease-in-out infinite;
}

@keyframes heroGradientMove {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 38, 77, 0.3) 0%, rgba(0, 86, 179, 0.2) 100%);
}

.hero-title-animated {
    animation: fadeInDown 1s ease-out;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-animated {
    animation: fadeInUp 1s ease-out 0.3s backwards;
    font-size: 1.25rem;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Differentials Main Section */
.differentials-main-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 5rem 0;
    position: relative;
}

.differentials-main-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(0, 86, 179, 0.05) 0%, transparent 100%);
}

/* Enhanced Differential Cards */
.differential-card-enhanced {
    padding: 3rem 2rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    box-shadow: 
        0 10px 40px rgba(0, 38, 77, 0.08),
        0 2px 8px rgba(0, 38, 77, 0.04);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.differential-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #00264d, #0056b3, #00a8ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.differential-card-enhanced:hover::before {
    transform: scaleX(1);
}

.differential-card-enhanced::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 86, 179, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.differential-card-enhanced:hover::after {
    width: 500px;
    height: 500px;
}

.differential-card-enhanced:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 25px 60px rgba(0, 38, 77, 0.15),
        0 10px 20px rgba(0, 38, 77, 0.08);
    border-color: rgba(0, 86, 179, 0.3);
    background: linear-gradient(145deg, #ffffff 0%, rgba(0, 86, 179, 0.02) 100%);
}

/* Icon Wrapper with Beautiful Background */
.icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 38, 77, 0.1) 0%, rgba(0, 86, 179, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 38, 77, 0.1);
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #00264d, #0056b3);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.differential-card-enhanced:hover .icon-wrapper {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 30px rgba(0, 38, 77, 0.2);
}

.differential-card-enhanced:hover .icon-wrapper::before {
    opacity: 0.1;
}

.differential-icon-enhanced {
    font-size: 3rem;
    color: var(--primary-blue);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.differential-card-enhanced:hover .differential-icon-enhanced {
    color: #0056b3;
    transform: scale(1.1);
    filter: drop-shadow(0 5px 10px rgba(0, 86, 179, 0.3));
}

/* Card Corner Decoration */
.card-corner-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 86, 179, 0.05) 100%);
    border-radius: 25px 0 25px 0;
    transition: all 0.5s ease;
}

.differential-card-enhanced:hover .card-corner-decoration {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 86, 179, 0.1) 100%);
}

.differential-card-enhanced h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.differential-card-enhanced:hover h4 {
    color: #0056b3;
    transform: scale(1.05);
}

.differential-card-enhanced p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Enhanced Clients Section */
.clients-section-enhanced {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.clients-section-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 86, 179, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 86, 179, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-title-enhanced {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00264d, #0056b3, #00a8ff);
    margin: 0 auto 1rem;
    border-radius: 2px;
    animation: expandWidth 1s ease-out;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 80px; }
}

.section-subtitle-enhanced {
    font-size: 1.2rem;
    color: var(--dark-gray);
    font-weight: 400;
}

/* Enhanced Clients Grid */
.clients-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-card-enhanced {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 25px rgba(0, 38, 77, 0.08),
        0 2px 6px rgba(0, 38, 77, 0.04);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.client-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 86, 179, 0.05), transparent);
    transition: left 0.7s ease;
}

.client-card-enhanced:hover::before {
    left: 100%;
}

.client-card-enhanced:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 20px 50px rgba(0, 38, 77, 0.15),
        0 8px 16px rgba(0, 38, 77, 0.08);
    border-color: rgba(0, 86, 179, 0.3);
}

.client-icon-bg {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 38, 77, 0.1) 0%, rgba(0, 86, 179, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.client-icon-bg::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    opacity: 0;
    transform: scale(1.2);
    transition: all 0.5s ease;
}

.client-card-enhanced:hover .client-icon-bg {
    transform: scale(1.15) rotate(15deg);
    background: linear-gradient(135deg, rgba(0, 38, 77, 0.15) 0%, rgba(0, 86, 179, 0.25) 100%);
}

.client-card-enhanced:hover .client-icon-bg::after {
    opacity: 0.3;
    transform: scale(1.3);
}

.client-icon-bg i {
    font-size: 2rem;
    color: var(--primary-blue);
    transition: all 0.5s ease;
}

.client-card-enhanced:hover .client-icon-bg i {
    color: #0056b3;
    transform: scale(1.1);
}

.client-card-enhanced .client-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.client-card-enhanced:hover .client-name {
    color: #0056b3;
    transform: scale(1.05);
}

/* Responsive Design for Enhanced Pages */
@media (max-width: 991.98px) {
    .differentials-hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title-animated {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-animated {
        font-size: 1.1rem;
    }
    
    .differential-card-enhanced {
        padding: 2.5rem 1.5rem;
    }
    
    .section-title-enhanced {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .differentials-hero {
        padding: 5rem 0 3rem;
        min-height: 40vh;
    }
    
    .hero-title-animated {
        font-size: 2rem;
    }
    
    .hero-subtitle-animated {
        font-size: 1rem;
    }
    
    .differential-card-enhanced {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .differential-icon-enhanced {
        font-size: 2.5rem;
    }
    
    .clients-grid-enhanced {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .client-card-enhanced {
        padding: 2rem 1rem;
    }
    
    .client-icon-bg {
        width: 60px;
        height: 60px;
    }
    
    .client-icon-bg i {
        font-size: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .differentials-hero {
        padding: 4rem 0 2.5rem;
    }
    
    .hero-title-animated {
        font-size: 1.75rem;
    }
    
    .differential-card-enhanced h4 {
        font-size: 1.2rem;
    }
    
    .section-title-enhanced {
        font-size: 1.75rem;
    }
}
