/* Custom CSS for Innovation Culture Website */

/* Navigation Styles */
.nav-link {
    @apply relative font-medium text-navy hover:text-teal transition-colors duration-300;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #008080, #20B2AA);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Navbar scroll effect */
nav.scrolled {
    @apply bg-white/98 shadow-lg;
}

.mobile-nav-link {
    @apply block py-3 px-4 text-navy hover:text-teal hover:bg-teal/5 rounded-lg transition-all duration-300;
}

/* Button Styles */
.btn-primary,
a.btn-primary {
    @apply inline-flex items-center justify-center text-white font-semibold transition-all duration-300;
    padding: 1.25rem 2.5rem !important;
    background: linear-gradient(135deg, #008080, #121D2E) !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.2);
    color: #f1f1f1 !important;
}

.btn-primary:hover,
a.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.3);
}

.btn-secondary,
a.btn-secondary {
    @apply inline-flex items-center justify-center border-2 border-teal text-teal font-semibold transition-all duration-300;
    padding: 1.25rem 2.5rem !important;
    border-radius: 15px !important;
}

.btn-secondary:hover,
a.btn-secondary:hover {
    background: linear-gradient(135deg, #008080, #121D2E) !important;
    color: white !important;
    border-color: #121D2E !important;
}

/* Override for buttons with conflicting Tailwind classes */
a.btn-secondary.bg-white {
    background: white !important;
    color: #1A1A1A !important;
    border: 2px solid #008080 !important;
    padding: 1.25rem 2.5rem !important;
    border-radius: 15px !important;
}

a.btn-secondary.bg-white:hover {
    background: #f5f5f5 !important;
}

/* Approach Card Styles - REMOVED HOVER LINE */
.approach-card {
    @apply bg-white p-8 shadow-lg hover:shadow-2xl transition-all duration-300 border border-gray-100 hover:border-teal/20;
    border-radius: 15px;
    position: relative;
}

/* Principle Card Styles */
.principle-card {
    @apply bg-white border border-gray-100;
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(0, 128, 128, 0.1);
    border-color: rgba(0, 128, 128, 0.2);
}

/* Team Card Styles */
.team-card {
    @apply bg-white border border-gray-100;
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(0, 128, 128, 0.1);
    border-color: rgba(0, 128, 128, 0.2);
}

/* Testimonial Card Styles */
.testimonial-card {
    @apply bg-white border border-gray-100 relative;
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(0, 128, 128, 0.1);
    border-color: rgba(0, 128, 128, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    font-size: 3rem;
    color: #008080;
    font-weight: 700;
    line-height: 1;
    opacity: 0.3;
}

/* Innovation Card Styles (keeping for compatibility) */
.innovation-card {
    @apply bg-white p-8 shadow-lg hover:shadow-2xl transition-all duration-300 border border-gray-100 hover:border-teal/20;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.innovation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #008080, #20B2AA);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

/* Service Preview Styles */
.service-preview {
    @apply bg-white p-6 shadow-md hover:shadow-xl transition-all duration-300 border border-gray-100;
    border-radius: 15px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #008080, #121D2E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    border-radius: 15px;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section Enhancements */
.hero-gradient {
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 50%, #FFFFFF 100%);
}

/* Dark gradient for hero sections */
.hero-dark-gradient {
    background: linear-gradient(135deg, #121D2E 0%, #008080 50%, #121D2E 100%);
}

/* Section Spacing */
.section-spacing {
    @apply py-20;
}

/* Card Hover Effects */
.card-hover {
    @apply transition-all duration-300 hover:transform hover:scale-105;
}

/* Typography Enhancements */
.heading-primary {
    @apply font-space font-bold text-4xl md:text-6xl lg:text-7xl text-navy leading-tight;
}

.heading-secondary {
    @apply font-space font-bold text-3xl md:text-4xl text-navy;
}

.heading-tertiary {
    @apply font-space font-semibold text-xl text-navy;
}

.body-large {
    @apply text-xl md:text-2xl text-slate leading-relaxed;
}

.body-medium {
    @apply text-lg md:text-xl text-slate leading-relaxed;
}

.body-small {
    @apply text-base text-slate leading-relaxed;
}

/* Focus States for Accessibility */
.nav-link:focus,
.btn-primary:focus,
.btn-secondary:focus {
    @apply outline-none ring-2 ring-teal ring-offset-2;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Enhanced form elements with new color */
input, textarea, select {
    border-radius: 15px !important;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #008080;
    box-shadow: 0 0 0 3px rgba(18, 29, 46, 0.1);
}

/* Newsletter signup enhancement */
.newsletter-gradient {
    background: linear-gradient(135deg, #121D2E 0%, #008080 100%);
    border-radius: 15px;
}

/* Responsive Design Helpers */
@media (max-width: 768px) {
    .heading-primary {
        @apply text-3xl md:text-4xl;
    }
    
    .body-large {
        @apply text-lg;
    }
    
    .approach-card {
        @apply p-6;
    }
}

/* Dark Mode Support (if needed) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here if needed */
}

/* Print Styles */
@media print {
    .nav-link::after {
        display: none;
    }

    .btn-primary,
    .btn-secondary {
        @apply border border-gray-400 bg-transparent text-gray-800;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #008080, #121D2E);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #121D2E, #008080);
}

/* Selection Color */
::selection {
    background: #008080;
    color: white;
}
    
::-moz-selection {
    background: #008080;
    color: white;
}

/* Blog Post Content Formatting - Modern Typography Best Practices */
.prose {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    line-height: 1.75;
    color: #1f2937;
    max-width: 65ch;
    margin: 0 auto;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

.prose p { 
    margin: 0 0 1.75em 0; 
    line-height: 1.75;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    word-break: break-word;
}

.prose ul, .prose ol { 
    margin: 0 0 1.75em 0; 
    padding-left: 1.5em;
}

.prose li { 
    margin: 0 0 0.75em 0; 
    line-height: 1.75;
    padding-left: 0.25em;
}

.prose ul li::marker {
    color: #008080;
    font-weight: 600;
}

.prose ol li::marker {
    color: #008080;
    font-weight: 600;
}

.prose h1 { 
    margin: 2.5em 0 1em 0; 
    line-height: 1.2; 
    font-weight: 700; 
    font-size: 2.25em; 
    color: #111827; 
    letter-spacing: -0.025em;
    font-family: 'Space Grotesk', sans-serif;
}

.prose h2 { 
    margin: 2em 0 0.75em 0; 
    line-height: 1.3; 
    font-weight: 700; 
    font-size: 1.875em; 
    color: #111827; 
    letter-spacing: -0.025em;
    font-family: 'Space Grotesk', sans-serif;
}

.prose h3 { 
    margin: 1.75em 0 0.75em 0; 
    line-height: 1.4; 
    font-weight: 600; 
    font-size: 1.5em; 
    color: #111827; 
    letter-spacing: -0.025em;
    font-family: 'Space Grotesk', sans-serif;
}

.prose h4, .prose h5, .prose h6 { 
    margin: 1.5em 0 0.75em 0; 
    line-height: 1.4; 
    font-weight: 600; 
    color: #111827; 
    letter-spacing: -0.025em;
    font-family: 'Space Grotesk', sans-serif;
}

.prose blockquote { 
    margin: 2em 0; 
    padding: 1.5em 2em; 
    border-left: 4px solid #008080; 
    background: linear-gradient(90deg, rgba(0,128,128,0.05) 0%, rgba(0,128,128,0.02) 100%); 
    font-style: italic; 
    font-size: 1.1em; 
    line-height: 1.6; 
    color: #374151; 
    border-radius: 0 8px 8px 0;
}

.prose blockquote p {
    margin: 0;
}

.prose strong, .prose b { 
    font-weight: 700; 
    color: #111827;
}

.prose em, .prose i { 
    font-style: italic; 
    color: #374151;
}

.prose a {
    color: #008080;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.prose a:hover {
    color: #006666;
    text-decoration-thickness: 3px;
}

.prose code {
    background: #f3f4f6;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.875em;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

.prose pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.5em;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

/* First paragraph styling */
.prose p:first-of-type {
    font-size: 1.125em;
    line-height: 1.8;
    color: #374151;
}

/* Responsive typography */
@media (max-width: 768px) {
    .prose {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .prose h1 { font-size: 1.875em; }
    .prose h2 { font-size: 1.5em; }
    .prose h3 { font-size: 1.25em; }
} 