/* Global Styles - Enhanced Color System */
:root {
    /* Primary Brand Colors - Modern Gold & Blue */
    --primary-color: #FFD700;
    --primary-dark: #FFB800;
    --primary-light: #FFE55C;
    --primary-gradient: linear-gradient(135deg, #FFD700, #FFB800);
    
    /* Secondary Colors - Professional Blue */
    --secondary-color: #1E3A8A;
    --secondary-dark: #1E40AF;
    --secondary-light: #3B82F6;
    --secondary-gradient: linear-gradient(135deg, #1E3A8A, #3B82F6);
    
    /* Accent Colors - Success & Warning */
    --accent-success: #10B981;
    --accent-warning: #F59E0B;
    --accent-error: #EF4444;
    --accent-info: #06B6D4;
    
    /* Neutral Colors - Modern Grays */
    --text-dark: #1F2937;
    --text-light: #FFFFFF;
    --text-gray: #6B7280;
    --text-muted: #9CA3AF;
    
    /* Background Colors */
    --bg-dark: #0F172A;
    --bg-light: #FFFFFF;
    --bg-gray: #F9FAFB;
    --bg-gray-dark: #F3F4F6;
    
    /* Border Colors */
    --border-color: #E5E7EB;
    --border-light: #F3F4F6;
    --border-dark: #D1D5DB;
    
    /* Shadow System */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    
    /* Gradient System */
    --gradient-primary: linear-gradient(135deg, #FFD700, #FFB800);
    --gradient-secondary: linear-gradient(135deg, #1E3A8A, #3B82F6);
    --gradient-accent: linear-gradient(135deg, #10B981, #059669);
    --gradient-warm: linear-gradient(135deg, #FFD700, #F59E0B);
    --gradient-cool: linear-gradient(135deg, #3B82F6, #1E40AF);
    --gradient-dark: linear-gradient(135deg, #1F2937, #374151);
    
    /* Transition System */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    overflow-x: hidden;
}

/* Enhanced Header Styles with New Color Scheme */
.header {
    background: var(--gradient-primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    background: transparent !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
    position: relative;
    flex-shrink: 0;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-light);
    transition: width 0.3s ease;
}

.navbar-brand:hover::after {
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

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

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

.company-name {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: nowrap;
    flex: 1;
    justify-content: flex-end;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.2rem;
    transition: var(--transition);
    position: relative;
    padding: 0.4rem 0.8rem;
    border-radius: 25px;
    white-space: nowrap;
    text-align: center;
    min-width: fit-content;
    flex-shrink: 0;
    font-size: 0.95rem;
}



.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-dark) !important;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Enhanced Hero Section with New Colors */
.hero-section {
    background: var(--gradient-dark);
    color: var(--text-light);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
}

.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>');
    z-index: 2;
}

.video-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.video-bg-wrap.no-bg {
    background: rgba(0, 0, 0, 0.5);
}

.youtube-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250%;
    height: 250%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    border: none;
    outline: none;
    filter: brightness(0.4) contrast(1.2) saturate(0.8);
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
    z-index: 3;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 3;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 1px 2px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(255, 255, 255, 0.2);
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
    position: relative;
    z-index: 3;
    font-weight: 500;
}

/* Enhanced Button Styles with New Colors */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 
        var(--shadow),
        0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

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

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Enhanced Section Styles with New Colors */
.strategies-section,
.professor-section,
.philosophy-section,
.strategy-analysis-section,
.portfolio-optimization-section,
.system-features-section,
.sentiment-section,
.education-section,
.insights-section,
.contact-section,
.outlook-section,
.cross-border-section,
.blueprint-section {
    padding: 6rem 0;
    position: relative;
    background: var(--bg-light);
}

.strategies-section::before,
.professor-section::before,
.philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(249, 250, 251, 0.8) 0%, transparent 100%);
    z-index: 1;
}

.strategies-section .container,
.professor-section .container,
.philosophy-section .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Card Styles with New Colors */
.strategy-item {
    background: var(--bg-light);
    border-radius: 25px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.strategy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.strategy-item:hover::before {
    transform: scaleX(1);
}

.strategy-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.strategy-image,
.professor-image,
.philosophy-image,
.feature-image,
.sentiment-image,
.education-image,
.insight-image,
.cross-border-image {
    height: 350px;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.strategy-image::before,
.professor-image::before,
.philosophy-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.2), rgba(255, 184, 0, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.strategy-item:hover .strategy-image::before,
.professor-card:hover .professor-image::before,
.philosophy-card:hover .philosophy-image::before {
    opacity: 1;
}

.strategy-image img,
.professor-image img,
.philosophy-image img,
.feature-image img,
.sentiment-image img,
.education-image img,
.insight-image img,
.cross-border-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.strategy-item:hover .strategy-image img,
.professor-card:hover .professor-image img,
.philosophy-card:hover .philosophy-image img {
    transform: scale(1.1) rotate(1deg);
}

.strategy-content,
.professor-content,
.philosophy-content {
    padding: 2rem 0;
    text-align: center;
}

.strategy-content h3,
.professor-content h3,
.philosophy-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.3;
    letter-spacing: -0.5px;
    position: relative;
}

.strategy-content h3::after,
.professor-content h3::after,
.philosophy-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.strategy-content p,
.professor-content p,
.philosophy-content p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0;
}

/* Enhanced Footer with New Colors */
.footer {
    background: var(--gradient-secondary);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Enhanced Social Media Links with New Colors */
.social-media-links {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.social-media-links a {
    display: inline-block;
    transition: var(--transition);
    margin: 0 0.8rem;
    position: relative;
}

.social-media-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
}

.social-media-links a:hover::before {
    width: 50px;
    height: 50px;
}

.social-media-links a:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-media-links img {
    transition: var(--transition);
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Enhanced Back to Top Button with New Colors */
.back-to-top-btn {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 9999;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
}

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

.back-to-top-btn:hover::before {
    left: 100%;
}

.back-to-top-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.back-to-top-btn i {
    font-size: 20px;
    line-height: 1;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

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

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

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

/* Enhanced Section Titles with New Colors */
section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    color: var(--text-dark);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

section p {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-dark);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    section h2 {
        font-size: 2.2rem;
    }
    
    .strategy-item {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .strategy-image,
    .professor-image,
    .philosophy-image {
        height: 250px;
    }
    
    .back-to-top-btn {
        width: 50px;
        height: 50px;
        bottom: 100px;
        right: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .back-to-top-btn i {
        font-size: 16px;
        color: var(--text-light);
        position: relative;
        z-index: 1;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
        margin: 0 0.3rem;
    }
    
    .company-name {
        max-width: 120px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .strategy-item {
        padding: 1.5rem;
    }
    
    .strategy-image,
    .professor-image,
    .philosophy-image {
        height: 200px;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        margin: 0 0.2rem;
    }
    
    .company-name {
        max-width: 100px;
        font-size: 0.8rem;
    }
}

/* Enhanced Focus Styles */
.btn:focus,
.nav-link:focus,
.form-control:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.2);
}

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

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



/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-consent,
    .back-to-top-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
} 

/* Enhanced Page Hero with New Colors */
.page-hero {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-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 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

.page-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Enhanced Card Styles for Other Pages */
.feature-card,
.sentiment-card,
.education-card,
.insight-card,
.cross-border-card {
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card::before,
.sentiment-card::before,
.education-card::before,
.insight-card::before,
.cross-border-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before,
.sentiment-card:hover::before,
.education-card:hover::before,
.insight-card:hover::before,
.cross-border-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover,
.sentiment-card:hover,
.education-card:hover,
.insight-card:hover,
.cross-border-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-image,
.sentiment-image,
.education-image,
.insight-image,
.cross-border-image {
    height: 250px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.feature-image::before,
.sentiment-image::before,
.education-image::before,
.insight-image::before,
.cross-border-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(240, 191, 76, 0.2), rgba(255, 140, 66, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.feature-card:hover .feature-image::before,
.sentiment-card:hover .sentiment-image::before,
.education-card:hover .education-image::before,
.insight-card:hover .insight-image::before,
.cross-border-card:hover .cross-border-image::before {
    opacity: 1;
}

.feature-image img,
.sentiment-image img,
.education-image img,
.insight-image img,
.cross-border-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-image img,
.sentiment-card:hover .sentiment-image img,
.education-card:hover .education-image img,
.insight-card:hover .insight-image img,
.cross-border-card:hover .cross-border-image img {
    transform: scale(1.1) rotate(1deg);
}

.feature-content,
.sentiment-content,
.education-content,
.insight-content,
.cross-border-content {
    padding: 2rem;
    text-align: center;
}

.feature-content h3,
.sentiment-content h3,
.education-content h3,
.insight-content h3,
.cross-border-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    line-height: 1.3;
    letter-spacing: -0.5px;
    position: relative;
}

.feature-content h3::after,
.sentiment-content h3::after,
.education-content h3::after,
.insight-content h3::after,
.cross-border-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.feature-content p,
.sentiment-content p,
.education-content p,
.insight-content p,
.cross-border-content p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.85;
    margin-bottom: 0;
}

/* Enhanced Portfolio and Blueprint Items */
.portfolio-item,
.blueprint-item {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.portfolio-item::before,
.blueprint-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.portfolio-item:hover::before,
.blueprint-item:hover::before {
    transform: scaleX(1);
}

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

.portfolio-image,
.blueprint-image {
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.portfolio-image::before,
.blueprint-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(240, 191, 76, 0.2), rgba(255, 140, 66, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.portfolio-item:hover .portfolio-image::before,
.blueprint-item:hover .blueprint-image::before {
    opacity: 1;
}

.portfolio-image img,
.blueprint-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-image img,
.blueprint-item:hover .blueprint-image img {
    transform: scale(1.1) rotate(1deg);
}

.portfolio-content h3,
.blueprint-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    text-align: center;
    position: relative;
}

.portfolio-content h3::after,
.blueprint-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.portfolio-content p,
.blueprint-content p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.blueprint-actions {
    text-align: center;
    margin-top: 1.5rem;
}

.blueprint-actions .btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

/* Enhanced Contact Form */
.contact-form,
.contact-info {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-form::before,
.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.map-container {
    margin-top: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Enhanced Form Controls */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.2);
    background: white;
    transform: translateY(-2px);
}

/* Enhanced Date Styling with New Colors */
.date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Enhanced Navbar Toggler */
.navbar-toggler {
    border: none;
    color: var(--text-light);
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

/* Enhanced Dropdown Menu */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
}

.dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
}

/* Enhanced Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 400px;
    z-index: 1000;
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.cookie-content p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Enhanced Button Variants */
.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline-primary:hover::before {
    left: 0;
}

.btn-outline-primary:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 191, 76, 0.3);
}

/* Enhanced Responsive Design for New Elements */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .feature-card,
    .sentiment-card,
    .education-card,
    .insight-card,
    .outlook-card,
    .cross-border-card {
        margin-bottom: 2rem;
    }
    
    .feature-image,
    .sentiment-image,
    .education-image,
    .insight-image,
    .cross-border-image {
        height: 200px;
    }
    
    .portfolio-image,
    .blueprint-image {
        height: 300px;
    }
    
    .contact-form,
    .contact-info {
        padding: 2rem;
    }
    
    .cookie-consent {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .feature-image,
    .sentiment-image,
    .education-image,
    .insight-image,
    .cross-border-image {
        height: 180px;
    }
    
    .portfolio-image,
    .blueprint-image {
        height: 250px;
    }
    
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }
}

/* Enhanced Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}



/* Enhanced Scroll Progress with New Colors */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1001;
    transition: width 0.1s ease;
    animation: progress-glow 2s ease-in-out infinite alternate;
}

@keyframes progress-glow {
    from { box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    to { box-shadow: 0 0 15px rgba(255, 215, 0, 0.8); }
}

/* Enhanced Text Selection with New Colors */
::selection {
    background: var(--primary-color);
    color: var(--text-dark);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--text-dark);
}

/* Enhanced Focus Indicators with New Colors */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Enhanced Print Styles */
@media print {
    .header,
    .footer,
    .cookie-consent,
    .back-to-top-btn,
    .scroll-progress {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-section,
    .page-hero {
        background: white !important;
        color: black !important;
    }
    
    .strategy-item,
    .feature-card,
    .professor-card,
    .philosophy-card,
    .education-card,
    .insight-card,
    .outlook-card,
    .cross-border-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
    }
    
    .strategy-image,
    .feature-image,
    .professor-image,
    .philosophy-image,
    .education-image,
    .insight-image,
    .cross-border-image {
        height: 200px !important;
    }
    
    section {
        page-break-before: auto;
        page-break-after: auto;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
} 

/* Enhanced Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Button Loading States */
.btn-loading {
    position: relative;
    overflow: hidden;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Card Hover Effects */
.card-hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.image-hover {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1.1) contrast(1.1);
}



/* Enhanced Field Focus Effects */
.field-focused .form-control {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(240, 191, 76, 0.2);
    transform: translateY(-2px);
}

/* Enhanced Counter Completion */
.counter-complete {
    color: var(--primary-color);
    font-weight: 700;
    animation: counter-pulse 0.5s ease;
}

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

/* Enhanced Mobile Menu Toggle */
.navbar-toggler.active .navbar-toggler-icon {
    transform: rotate(45deg);
}

.navbar-toggler-icon {
    transition: transform 0.3s ease;
}

/* Enhanced Scroll Progress Animation */
.scroll-progress {
    animation: progress-glow 2s ease-in-out infinite alternate;
}

@keyframes progress-glow {
    from { box-shadow: 0 0 5px rgba(240, 191, 76, 0.5); }
    to { box-shadow: 0 0 15px rgba(240, 191, 76, 0.8); }
}



/* Enhanced Alert Animations */
.alert {
    animation: slideInDown 0.5s ease;
}

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

/* Enhanced Modal Animations */
.modal-content {
    animation: modalSlideIn 0.3s ease;
}

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

/* Enhanced Tooltip Animations */
.tooltip {
    animation: tooltipFadeIn 0.3s ease;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Dropdown Animations */
.dropdown-menu {
    animation: dropdownSlideIn 0.3s ease;
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced Form Validation Styles */
.form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.2);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.2);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Enhanced Success Button Animation */
.btn-success {
    animation: successPulse 0.5s ease;
}

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

/* Enhanced Image Loading Animation */
img[data-src] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img[data-src].loaded {
    opacity: 1;
}

/* Enhanced Chart Fill Animation */
.chart-fill {
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Portfolio Filter Animation */
.portfolio-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item.filtered-out {
    opacity: 0;
    transform: scale(0.8);
}

.portfolio-item.filtered-in {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced Testimonial Slider */
.testimonial-slider .slick-slide {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.testimonial-slider .slick-slide.slick-active {
    opacity: 1;
}

/* Enhanced Newsletter Success Animation */
.newsletter-success {
    animation: newsletterSuccess 0.5s ease;
}

@keyframes newsletterSuccess {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced Search Loading Animation */
.search-loading {
    animation: searchPulse 1s ease-in-out infinite;
}

@keyframes searchPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Enhanced Video Background Effects */
.video-bg-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    z-index: 2;
}

/* Enhanced Section Divider */
.section-divider {
    height: 4px;
    background: var(--gradient-primary);
    margin: 4rem 0;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: divider-shimmer 3s infinite;
}

@keyframes divider-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Floating Elements */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Enhanced Glow Effects */
.glow {
    box-shadow: 0 0 20px rgba(240, 191, 76, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow:hover {
    box-shadow: 0 0 30px rgba(240, 191, 76, 0.5);
}

/* Enhanced Text Gradient */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Border Gradient */
.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--gradient-primary) border-box;
}

/* Enhanced Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced Hover Transform */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Enhanced Focus Ring */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(240, 191, 76, 0.3);
}



/* Enhanced Scroll Snap */
.scroll-snap {
    scroll-snap-type: y mandatory;
}

.scroll-snap > * {
    scroll-snap-align: start;
}

/* Enhanced Print Optimizations */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-break {
        page-break-before: always;
    }
    
    .print-break-inside {
        page-break-inside: avoid;
    }
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enhanced High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-dark: #000000;
        --text-light: #ffffff;
        --bg-light: #ffffff;
    }
    
    .btn-primary {
        background: #000000;
        color: #ffffff;
        border: 2px solid #000000;
    }
}

/* Enhanced Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-light: #1a1a1a;
        --text-dark: #ffffff;
        --text-gray: #cccccc;
    }
    
    body {
        background: #000000;
        color: #ffffff;
    }
    
    .strategy-item,
    .feature-card,
    .professor-card,
    .philosophy-card {
        background: #2a2a2a;
        border-color: #333333;
    }
}

/* Enhanced Performance Optimizations */
.will-change {
    will-change: transform, opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Enhanced Mobile Optimizations */
@media (max-width: 768px) {
    .mobile-optimized {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .touch-friendly {
        min-height: 44px; /* Apple's recommended touch target size */
        min-width: 44px;
    }
}

/* Enhanced Animation Performance */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Loading States */
.loading-state {
    position: relative;
    overflow: hidden;
}

.loading-state::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading-shimmer 1.5s infinite;
}

/* Enhanced Success States */
.success-state {
    animation: success-bounce 0.6s ease;
}

@keyframes success-bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-10px);
    }
    70% {
        transform: translateY(-5px);
    }
    90% {
        transform: translateY(-2px);
    }
} 

/* Enhanced Layout System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-fluid {
    width: 100%;
    padding: 0 2rem;
}

/* Enhanced Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.col {
    flex: 1;
    padding: 0 1rem;
}

/* Enhanced Spacing System */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mb-6 { margin-bottom: 4rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mt-6 { margin-top: 4rem !important; }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-2 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-3 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-4 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }

.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-2 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-3 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-4 { padding-left: 2rem !important; padding-right: 2rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

/* Enhanced Section Layouts */
.strategies-section,
.professor-section,
.philosophy-section,
.strategy-analysis-section,
.portfolio-optimization-section,
.system-features-section,
.sentiment-section,
.education-section,
.insights-section,
.contact-section,
.outlook-section,
.cross-border-section,
.blueprint-section {
    padding: 8rem 0;
    position: relative;
    background: var(--bg-light);
}

/* Enhanced Hero Section Layout */
.hero-section {
    background: var(--gradient-dark);
    color: var(--text-light);
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section .container {
    position: relative;
    z-index: 3;
    max-width: 1000px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.6rem;
    margin-bottom: 4rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Page Hero Layout */
.page-hero {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

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

.page-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

.page-hero p {
    font-size: 1.4rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Card Layouts */
.strategy-item {
    background: var(--bg-light);
    border-radius: 30px;
    padding: 4rem;
    margin-bottom: 4rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
}

.strategy-item .row {
    align-items: center;
    height: 100%;
}

.strategy-image {
    height: 400px;
    overflow: hidden;
    border-radius: 25px;
    position: relative;
    margin-bottom: 2rem;
}

.strategy-content {
    padding: 2rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.strategy-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.3;
    letter-spacing: -0.5px;
    position: relative;
}

.strategy-content p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Enhanced Feature Cards Layout */
.feature-card,
.sentiment-card,
.education-card,
.insight-card,
.cross-border-card {
    background: var(--bg-light);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.feature-image,
.sentiment-image,
.education-image,
.insight-image,
.cross-border-image {
    height: 280px;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
    position: relative;
    flex-shrink: 0;
}

.feature-content,
.sentiment-content,
.education-content,
.insight-content,
.cross-border-content {
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.feature-content h3,
.sentiment-content h3,
.education-content h3,
.insight-content h3,
.cross-border-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.3;
    letter-spacing: -0.5px;
    position: relative;
}

.feature-content p,
.sentiment-content p,
.education-content p,
.insight-content p,
.cross-border-content p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Enhanced Professor Cards Layout */
.professor-card,
.philosophy-card {
    background: var(--bg-light);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.professor-image,
.philosophy-image {
    height: 300px;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
    position: relative;
    flex-shrink: 0;
}

.professor-content,
.philosophy-content {
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.professor-content h3,
.philosophy-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.3;
    letter-spacing: -0.5px;
    position: relative;
}

.professor-content p,
.philosophy-content p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Enhanced Section Titles Layout */
section h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    color: var(--text-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

section p {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Page-Specific Styles for Better Differentiation */

/* ===== INDEX PAGE (Home) - Gold & Dark Theme ===== */
.index-page {
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-gray-dark) 100%);
}

.index-page .hero-section {
    background: var(--gradient-dark);
    position: relative;
}

.index-page .hero-content {
    /* 外框已移除 */
}

.index-page .hero-content h1 {
    text-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.7),
        0 3px 6px rgba(0, 0, 0, 0.9),
        0 0 25px rgba(255, 255, 255, 0.4);
}

.index-page .hero-content p {
    text-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 1),
        0 0 20px rgba(255, 255, 255, 0.3);
}

.index-page .hero-section::after {
    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>');
    z-index: 2;
}

.index-page .strategy-item {
    background: var(--bg-light);
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.index-page .strategy-item:hover {
    border-left-color: var(--primary-dark);
    transform: translateY(-10px);
}

.index-page section h2::after {
    background: var(--gradient-primary);
    width: 100px;
    height: 5px;
}

/* ===== INVESTMENT SERVICES PAGE - Blue & Professional Theme ===== */
.investment-services-page {
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
}

.investment-services-page .page-hero {
    background: var(--gradient-secondary);
    position: relative;
}

.investment-services-page .page-hero::after {
    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(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

.investment-services-page .strategy-card {
    background: var(--bg-light);
    border-top: 5px solid var(--secondary-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    padding: 0;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.investment-services-page .strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.investment-services-page .strategy-card:hover::before {
    transform: scaleX(1);
}

.investment-services-page .strategy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.investment-services-page .strategy-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 15px 15px 0 0;
}

.investment-services-page .strategy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.investment-services-page .strategy-card:hover .strategy-image img {
    transform: scale(1.1);
}

.investment-services-page .strategy-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.investment-services-page .strategy-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.investment-services-page .strategy-content .date {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.investment-services-page section h2::after {
    background: var(--gradient-secondary);
    width: 80px;
    height: 4px;
}

.investment-services-page .portfolio-item {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    margin-bottom: 2rem;
}

.investment-services-page .portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.investment-services-page .portfolio-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.investment-services-page .portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.investment-services-page .portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.investment-services-page .portfolio-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.investment-services-page .portfolio-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.investment-services-page .portfolio-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== SMART SYSTEM PAGE - Green & Tech Theme ===== */
.smart-system-page {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
}

.smart-system-page .page-hero {
    background: var(--gradient-accent);
    position: relative;
}

.smart-system-page .page-hero::after {
    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="tech" width="15" height="15" patternUnits="userSpaceOnUse"><path d="M 0 0 L 15 15 M 15 0 L 0 15" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23tech)"/></svg>');
    z-index: 1;
}

.smart-system-page .feature-card {
    background: var(--bg-light);
    border-right: 5px solid var(--accent-success);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.smart-system-page .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.smart-system-page .feature-card:hover::before {
    transform: scaleX(1);
}

.smart-system-page .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.smart-system-page section h2::after {
    background: var(--gradient-accent);
    width: 90px;
    height: 4px;
}

/* ===== EDUCATION PAGE - Purple & Learning Theme ===== */
.education-page {
    background: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%);
}

.education-page .page-hero {
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    position: relative;
}

.education-page .page-hero::after {
    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="learning" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23learning)"/></svg>');
    z-index: 1;
}

.education-page .education-card {
    background: var(--bg-light);
    border-bottom: 5px solid #7C3AED;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.education-page .education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.education-page .education-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.education-page section h2::after {
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    width: 85px;
    height: 4px;
}

/* ===== PROSPECTS PAGE - Orange & Future Theme ===== */
.prospects-page {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
}

.prospects-page .page-hero {
    background: var(--gradient-warm);
    position: relative;
}

.prospects-page .page-hero::after {
    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="future" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M 0 15 L 30 15 M 15 0 L 15 30" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23future)"/></svg>');
    z-index: 1;
}

.prospects-page section h2::after {
    background: var(--gradient-warm);
    width: 95px;
    height: 4px;
}

/* ===== PROSPECTS PAGE - Outlook Section Layout (REVISED FOR UNIFORMITY) ===== */
.prospects-page .outlook-card {
    background: var(--bg-light);
    border-radius: 25px;
    border-top: 5px solid var(--accent-warning);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden; /* Important for border-radius */
    padding: 0;
    display: block;
    min-height: auto;
    text-align: left;
    transition: var(--transition);
}

.prospects-page .outlook-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.prospects-page .outlook-card .row {
    align-items: stretch; /* Make columns equal height */
    height: 100%;
}

.prospects-page .outlook-image {
    height: 300px; /* Set a fixed height for all images on desktop */
    overflow: hidden;
}

.prospects-page .outlook-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is crucial */
    transition: var(--transition);
}

.prospects-page .outlook-card:hover .outlook-image img {
    transform: scale(1.05);
}

.prospects-page .outlook-content {
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%; /* Make it fill the column height */
}

.prospects-page .outlook-content h3 {
    text-align: left;
    margin-bottom: 1rem;
    position: relative;
}

.prospects-page .outlook-content h3::after {
   display: none; /* Hide the centered line under h3 */
}

.prospects-page .outlook-content p {
    text-align: left;
    margin-bottom: 0;
}


/* ===== Page-Specific Animations ===== */
.index-page .strategy-item { animation: slideInFromLeft 0.8s ease-out; }
.index-page .strategy-item:nth-child(even) { animation: slideInFromRight 0.8s ease-out; }
.investment-services-page .strategy-card { animation: fadeInUp 0.8s ease-out; }
.investment-services-page .strategy-card:nth-child(2) { animation-delay: 0.2s; }
.investment-services-page .strategy-card:nth-child(3) { animation-delay: 0.4s; }
.smart-system-page .feature-card { animation: scaleIn 0.8s ease-out; }
.smart-system-page .feature-card:nth-child(2) { animation-delay: 0.2s; }
.smart-system-page .feature-card:nth-child(3) { animation-delay: 0.4s; }
.education-page .education-card { animation: slideInFromBottom 0.8s ease-out; }
.education-page .education-card:nth-child(2) { animation-delay: 0.2s; }
.education-page .education-card:nth-child(3) { animation-delay: 0.4s; }
.prospects-page .outlook-card,
.prospects-page .cross-border-card,
.prospects-page .blueprint-item { animation: rotateIn 0.8s ease-out; }
.prospects-page .cross-border-card:nth-child(2), .prospects-page .blueprint-item:nth-child(2) { animation-delay: 0.2s; }
.prospects-page .cross-border-card:nth-child(3), .prospects-page .blueprint-item:nth-child(3) { animation-delay: 0.4s; }


/* ===== Page-Specific Button Styles ===== */
.index-page .btn-primary { background: var(--gradient-primary); border: none; box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3); }
.index-page .btn-primary:hover { box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4); }
.investment-services-page .btn-primary { background: var(--gradient-secondary); border: none; box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3); }
.investment-services-page .btn-primary:hover { box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4); }
.smart-system-page .btn-primary { background: var(--gradient-accent); border: none; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); }
.smart-system-page .btn-primary:hover { box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); }
.education-page .btn-primary { background: linear-gradient(135deg, #7C3AED, #A855F7); border: none; box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3); }
.education-page .btn-primary:hover { box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4); }
.prospects-page .btn-primary { background: var(--gradient-warm); border: none; box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3); }
.prospects-page .btn-primary:hover { box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4); }

/* ===== Page-Specific Section Backgrounds ===== */
.index-page .strategies-section, .index-page .philosophy-section { background: linear-gradient(135deg, var(--bg-light) 0%, #FEFBF3 100%); }
.index-page .professor-section { background: linear-gradient(135deg, #FEFBF3 0%, var(--bg-light) 100%); }
.investment-services-page .strategy-analysis-section { background: linear-gradient(135deg, var(--bg-light) 0%, #F1F5F9 100%); }
.investment-services-page .portfolio-optimization-section { background: linear-gradient(135deg, #F1F5F9 0%, var(--bg-light) 100%); }
.smart-system-page .system-features-section { background: linear-gradient(135deg, var(--bg-light) 0%, #F0FDF4 100%); }
.smart-system-page .sentiment-section { background: linear-gradient(135deg, #F0FDF4 0%, var(--bg-light) 100%); }
.education-page .education-section { background: linear-gradient(135deg, var(--bg-light) 0%, #FAF5FF 100%); }
.education-page .insights-section { background: linear-gradient(135deg, #FAF5FF 0%, var(--bg-light) 100%); }
.prospects-page .outlook-section { background: linear-gradient(135deg, var(--bg-light) 0%, #FFF7ED 100%); }
.prospects-page .cross-border-section { background: linear-gradient(135deg, #FFF7ED 0%, var(--bg-light) 100%); }

/* ===== Additional Animation Keyframes ===== */
@keyframes slideInFromLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInFromRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInFromBottom { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rotateIn { from { opacity: 0; transform: rotate(-10deg) scale(0.8); } to { opacity: 1; transform: rotate(0deg) scale(1); } } 

/* ===== Responsive Fixes and Overrides ===== */

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 0;
        margin: 0;
    }

    .navbar-nav .nav-item {
        margin: 0.2rem 0;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
        width: 100%;
        text-align: center;
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .prospects-page .outlook-image {
        height: 250px; /* Adjust for tablets */
    }
}

/* Responsive Fixes for Mobile Grid Layout */
@media (max-width: 767.98px) {
    /* Reset all Bootstrap grid classes to be full-width on mobile */
    .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
    .col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
    .col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
    .col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
    .col-xl, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* General responsive fixes for mobile */
    .hero-content h1, .page-hero h1 { font-size: 2.2rem; line-height: 1.2; margin-bottom: 1.5rem; }
    .hero-content p, .page-hero p { font-size: 1.1rem; line-height: 1.5; margin-bottom: 2rem; }
    section h2 { font-size: 2rem; line-height: 1.3; margin-bottom: 1.5rem; }
    section p { font-size: 1rem; line-height: 1.6; margin-bottom: 2.5rem; }
    
    .strategies-section, .professor-section, .philosophy-section,
    .strategy-analysis-section, .portfolio-optimization-section,
    .system-features-section, .sentiment-section, .education-section,
    .insights-section, .contact-section, .outlook-section,
    .cross-border-section, .blueprint-section {
        padding: 4rem 0;
    }

    .hero-section { padding: 6rem 0; min-height: 80vh; }
    .page-hero { padding: 5rem 0; }

    /* Card fixes */
    .strategy-item, .portfolio-item, .blueprint-item, .contact-form, .contact-info {
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-radius: 20px;
    }

    .feature-card, .sentiment-card, .education-card, .insight-card,
    .cross-border-card, .professor-card, .philosophy-card {
        margin-bottom: 2rem;
        border-radius: 20px;
        min-height: auto;
    }
    
    .feature-content, .sentiment-content, .education-content, .insight-content,
    .cross-border-content, .professor-content, .philosophy-content {
        padding: 1.5rem;
    }

    .feature-content h3, .sentiment-content h3, .education-content h3,
    .insight-content h3, .cross-border-content h3, .professor-content h3,
    .philosophy-content h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .feature-image, .sentiment-image, .education-image, .insight-image,
    .cross-border-image, .professor-image, .philosophy-image, .strategy-image,
    .portfolio-image, .blueprint-image {
        height: 180px;
        border-radius: 20px 20px 0 0;
    }

    /* Specific fixes for prospects page on mobile */
    .prospects-page .outlook-image {
        height: 220px; /* A good height for mobile */
        border-radius: 25px 25px 0 0; /* Add back radius for top image */
    }

    .prospects-page .outlook-content {
        padding: 1.5rem;
        text-align: center;
    }

    .prospects-page .outlook-content h3,
    .prospects-page .outlook-content p {
        text-align: center; /* Center text on mobile stack */
    }
}

/* Tablet fixes - Restore 2-column layout for some cards */
@media (min-width: 768px) and (max-width: 991px) {
    .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Final cleanup for spacing */
.container {
    padding: 0 1rem;
}
.row {
    margin: 0 -0.5rem;
}
.row > * {
    padding: 0 0.5rem;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}

@media (max-width: 768px) {
    .container { padding: 0 0.75rem; }
    .row { margin: 0 -0.25rem; }
    .row > * { padding: 0 0.25rem; }
    .mb-4 { margin-bottom: 1rem !important; }
}