/* Modern Additions for Altaroc Website */

/* Enhanced Hero Section */
.hero {
    background: linear-gradient(135deg, #0a4d68 0%, #1a5f7a 100%);
    position: relative;
    overflow: hidden;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 0 2.5rem;
}

.hero::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 1000 1000"><polygon fill="rgba(255,255,255,0.03)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #e1f5fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Interactive Cards */
.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: white;
}

/* Video Section Styles */
.video-section {
    background: #f8fafc;
    padding: 6rem 0;
}

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

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    cursor: pointer;
}

.video-thumbnail::after {
    content: '▶';
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.video-info {
    padding: 1.5rem;
}

.video-duration {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Enhanced Stats */
.stats {
    background: linear-gradient(135deg, #0a4d68 0%, #1a5f7a 100%);
    color: white;
    padding: 2.5rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #e1f5fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-meta {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Filter Buttons */
.portfolio-filter {
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Founder Cards Enhancement */
.founder-card {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.founder-card:hover {
    transform: translateY(-5px);
}

.founder-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 2rem;
}

/* Enhanced Awards */
.award-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px);
}

.award-card:hover::before {
    opacity: 1;
}

.award-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700, #ffc107);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #333;
}

/* Enhanced Contact Section */
.contact {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 6rem 0;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-control:focus {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(10, 77, 104, 0.1);
}

/* Interactive Elements */
.interactive-demo {
    background: #f8fafc;
    padding: 4rem 0;
}

.demo-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Education Section */
.pe-education {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
}

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

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

/* Desktop Login Button Override - Fix for masaüstü */
@media (min-width: 769px) {
    .btn-mobile-login {
        display: none !important;
    }
    
    .hero-buttons .btn-mobile-login {
        display: none !important;
    }
    
    .hero-buttons a:nth-child(3) {
        display: none !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 35vh;
        padding: 2.5rem 0 2rem;
    }
    
    .hero-content {
        padding-top: 1rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .founder-card,
    .contact-form {
        padding: 2rem;
    }
}

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

.fade-in.visible {
    animation: fadeInUp 0.6s ease forwards;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90%;
    overflow: hidden;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.3s ease;
}

.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.video-player {
    padding: 2rem;
    text-align: center;
}

.video-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 15px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.video-placeholder h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.video-info-content {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

/* Enhanced Form Styles */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group.focused label {
    transform: translateY(-25px) scale(0.85);
    color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
    color: #666;
}

.form-control {
    width: 100%;
    padding-top: 1.5rem;
}

.form-control.error {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.form-control.success {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}

.field-feedback {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 0.8rem;
    font-weight: 500;
}

.field-feedback.error {
    color: #dc3545;
}

.field-feedback.success {
    color: #28a745;
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

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

.pulse {
    animation: pulse 2s infinite;
}

/* Service Card Enhancements */
.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Enhanced Portfolio Stats */
.portfolio-stats strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Interactive Demo Card Hover Effects */
.demo-card {
    cursor: pointer;
    user-select: none;
}

.demo-card .benefit-icon {
    transition: all 0.3s ease;
}

.demo-card:hover .benefit-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .video-placeholder {
        padding: 2rem 1rem;
        min-height: 250px;
    }
    
    .video-placeholder h3 {
        font-size: 1.4rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
}

/* Achievement Badges */
.achievement-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.badge:hover::before {
    left: 100%;
}

.badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.badge i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 0.5rem;
    display: block;
}

.badge span {
    font-weight: 600;
    color: #333;
}

/* Market Insights Section */
.market-insights-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

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

.insight-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.insight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.insight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.insight-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.trend {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.trend.positive {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.trend.negative {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.trend.neutral {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.chart-container {
    width: 100%;
    height: 150px;
    margin: 1rem 0;
    background: linear-gradient(45deg, #007bff, #28a745);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.sector-performance {
    space-y: 1rem;
}

.sector-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sector-name {
    min-width: 80px;
    font-size: 0.9rem;
    color: #666;
}

.performance-bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.performance-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #28a745);
    border-radius: 4px;
    transition: width 1s ease;
}

.performance-value {
    font-weight: 600;
    color: #28a745;
    font-size: 0.9rem;
}

.deal-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(40, 167, 69, 0.1));
    border-radius: 10px;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.8rem;
    color: #666;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #007bff 0%, #28a745 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-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"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.testimonials-slider {
    position: relative;
    min-height: 200px;
    overflow: hidden;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.author-info span {
    opacity: 0.8;
    font-size: 0.9rem;
}

.rating {
    display: flex;
    gap: 0.2rem;
}

.rating i {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-btn.active,
.testimonial-btn:hover {
    background: white;
    border-color: white;
}

/* Enhanced Animations */
@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.insight-card:hover .chart-container {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .achievement-badges {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .deal-metrics {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content p {
        font-size: 1.1rem;
    }
}

/* Chart Animation Styles */
.chart-animation {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.chart-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.chart-placeholder {
    width: 80%;
    height: 60px;
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 5px;
}

.chart-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

.chart-dots {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
}

.chart-dots span {
    width: 8px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px 4px 0 0;
    animation: chartPulse 2s infinite;
}

.chart-dots span:nth-child(1) {
    height: 30px;
    animation-delay: 0s;
}

.chart-dots span:nth-child(2) {
    height: 45px;
    animation-delay: 0.2s;
}

.chart-dots span:nth-child(3) {
    height: 35px;
    animation-delay: 0.4s;
}

.chart-dots span:nth-child(4) {
    height: 50px;
    animation-delay: 0.6s;
}

.chart-dots span:nth-child(5) {
    height: 40px;
    animation-delay: 0.8s;
}

@keyframes chartPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.1);
    }
}

/* Enhanced hover effects for stat cards */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

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

/* Counter animation enhancement */
.stat-number {
    position: relative;
    display: block;
}

.stat-number.counting {
    animation: counterGlow 0.1s ease;
}

@keyframes counterGlow {
    0% { color: #007bff; }
    100% { color: #333; }
}

/* Improved mobile responsiveness for new sections */
@media (max-width: 992px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .deal-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .chart-container {
        height: 120px;
    }
    
    .sector-item {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .performance-bar {
        width: 100%;
    }
}

/* Parallax effect for testimonials background */
@media (prefers-reduced-motion: no-preference) {
    .testimonials-section::before {
        animation: parallaxFloat 30s infinite linear;
    }
}

@keyframes parallaxFloat {
    0% { 
        transform: translateY(0) translateX(0); 
    }
    25% { 
        transform: translateY(-20px) translateX(10px); 
    }
    50% { 
        transform: translateY(-40px) translateX(0); 
    }
    75% { 
        transform: translateY(-20px) translateX(-10px); 
    }
    100% { 
        transform: translateY(0) translateX(0); 
    }
}

/* Loading animation for market data updates */
.metric-value.updating {
    animation: dataUpdate 0.5s ease;
}

@keyframes dataUpdate {
    0% { 
        transform: scale(1);
        background: transparent;
    }
    50% { 
        transform: scale(1.05);
        background: rgba(0, 123, 255, 0.1);
        border-radius: 4px;
    }
    100% { 
        transform: scale(1);
        background: transparent;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .chart-dots span,
    .badge::before,
    .testimonials-section::before,
    .insight-card,
    .badge {
        animation: none !important;
        transition: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .insight-card {
        border: 2px solid #000;
    }
    
    .badge {
        border: 2px solid #000;
        background: #fff;
    }
    
    .trend {
        border: 1px solid;
    }
}

/* Print styles */
@media print {
    .testimonials-section,
    .market-insights-section {
        background: white !important;
        color: black !important;
    }
    
    .chart-container {
        border: 1px solid #000;
    }
    
    .badge,
    .insight-card {
        border: 1px solid #000;
        break-inside: avoid;
    }
}

/* Investment Calculator Section */
.investment-calculator {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.calculator-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    appearance: none;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.value-display {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 0.5rem;
    color: #fff;
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.result-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.result-item h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.result-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.result-value.profit {
    color: #28a745;
}

.calculator-note {
    text-align: center;
    opacity: 0.7;
    font-size: 0.8rem;
}

.calculator-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

#investmentChart {
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
}

/* ESG Section */
.esg-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.esg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.esg-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.esg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: all 0.3s ease;
}

.esg-card.environmental::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.esg-card.social::before {
    background: linear-gradient(90deg, #007bff, #6610f2);
}

.esg-card.governance::before {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.esg-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.esg-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.environmental .esg-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.social .esg-icon {
    background: linear-gradient(135deg, #007bff, #6610f2);
}

.governance .esg-icon {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.esg-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.esg-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.esg-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.esg-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.esg-progress {
    margin-top: 1rem;
}

.esg-progress span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #28a745);
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s ease;
}

/* Product Comparison Table */
.comparison-section {
    padding: 4rem 0;
    background: white;
}

.comparison-table-container {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    background: #f8f9fa;
}

.product-column {
    background: white;
    position: relative;
}

.product-column.featured {
    background: linear-gradient(135deg, #007bff 0%, #28a745 100%);
    color: white;
    transform: scale(1.05);
    z-index: 2;
}

.product-header {
    padding: 1rem;
    position: relative;
}

.product-header i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.product-header h4 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.product-header p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.badge-popular {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ffc107;
    color: #333;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
}

.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    color: white;
    padding: 4rem 0;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.newsletter-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.newsletter-benefits li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-benefits i {
    color: #28a745;
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 1.5rem;
    white-space: nowrap;
}

.newsletter-privacy {
    text-align: center;
    opacity: 0.7;
}

/* Responsive Design for New Sections */
@media (max-width: 992px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .esg-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .product-column.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .calculator-results {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .newsletter-text h2 {
        font-size: 2rem;
    }
}

/* Minimal Page Loading (Faster Experience) */
.quick-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(13, 124, 131, 0.2);
    z-index: 9999;
    overflow: hidden;
}

.quick-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0d7c83, #1a9ca5);
    animation: quickLoad 0.8s ease-in-out;
}

@keyframes quickLoad {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Product Comparison Enhancement */
.comparison-table .product-column.selected {
    background: linear-gradient(135deg, #007bff 0%, #28a745 100%) !important;
    color: white !important;
}

.comparison-table .product-column.selected .product-header {
    transform: scale(1.05);
}

/* Interactive hover effects for ESG cards */
.esg-card:hover .esg-icon {
    transform: scale(1.1) rotate(5deg);
}

.esg-card:hover .progress-fill {
    animation: pulse 1s infinite;
}

/* Newsletter success state */
.newsletter-form button.success {
    background: #28a745 !important;
    animation: successPulse 0.5s ease;
}

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

/* Calculator slider enhancements */
.form-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border: none;
}

.form-group input[type="range"]:focus {
    outline: none;
}

.form-group input[type="range"]:focus::-webkit-slider-thumb {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* Advanced scroll indicators */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(13, 124, 131, 0.2);
    z-index: 999;
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(90deg, #0d7c83, #1a9ca5);
    width: 0%;
    transition: width 0.1s ease;
}

/* Floating action buttons */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #007bff, #28a745);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Dark mode toggle */
.dark-mode-toggle {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Smooth transitions for all interactive elements */
* {
    transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease;
}

/* Complaints Page Styles */
.complaints-section .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(13, 124, 131, 0.1);
    transition: all 0.3s ease;
}

.complaints-section .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.process-steps .step {
    transition: all 0.3s ease;
}

.process-steps .step:hover {
    transform: translateX(5px);
}

.process-steps .step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    box-shadow: 0 4px 15px rgba(13, 124, 131, 0.3);
    transition: all 0.3s ease;
}

.process-steps .step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(13, 124, 131, 0.4);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 124, 131, 0.1);
    outline: none;
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 124, 131, 0.3);
}

.checkbox-label {
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    color: var(--primary-color);
}

.form-message {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-message.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.form-message.error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
} 