/* Enhanced Main CSS - Professional & Modern */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --border-radius: 1rem;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

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

/* Enhanced Navigation */
.navbar-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.navbar-custom.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 25px rgba(102, 126, 234, 0.4);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition);
}

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

.navbar-brand .logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: var(--transition);
}

.navbar-brand:hover .logo {
    transform: rotate(360deg);
}

.nav-link {
    position: relative;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Enhanced Buttons */
.btn {
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary-gradient);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.menu-btn {
    border-radius: 50px !important;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
}

/* Enhanced Cards & Sections */
.welcome-section,
.vision-mission-section,
.invest-section,
.services-section {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.welcome-section::before,
.vision-mission-section::before,
.invest-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5%, 5%) rotate(90deg); }
    50% { transform: translate(0, 10%) rotate(180deg); }
    75% { transform: translate(-5%, 5%) rotate(270deg); }
}

.welcome-section:hover,
.vision-mission-section:hover,
.invest-section:hover {
    box-shadow: var(--shadow-xl) !important;
    transform: translateY(-5px);
}

/* Enhanced Typography */
.highlight-invi {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.display-3,
.display-4 {
    font-weight: 800;
    line-height: 1.2;
}

/* Enhanced Preloader */
#preloader {
    transition: opacity 0.5s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

#preloader .highlight-invi {
    -webkit-text-fill-color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Enhanced Progress Bar */
.progress {
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
}

.progress-bar {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%) !important;
    transition: width 0.3s ease;
}

/* Enhanced Tables */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.table thead {
    background: var(--primary-gradient);
    color: white;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.01);
    box-shadow: var(--shadow-sm);
}

/* Enhanced Footer */
.footer-container {
    background: var(--dark-color);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.footer-container a {
    transition: var(--transition);
}

.footer-container a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

#scrollTopBtn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

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

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out;
}

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

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .welcome-section h1 {
        font-size: 2rem !important;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .services-section {
        margin-top: 0 !important;
    }
}

/* Loading Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Alert Enhancements */
.alert {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-sm);
}

.alert-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.alert-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

/* Image Enhancements */
img {
    max-width: 100%;
    height: auto;
    transition: var(--transition);
}

img:hover {
    transform: scale(1.05);
}

/* Transparent Container Enhancement */
.transparent-container {
    position: relative;
    z-index: 1;
}

/* Services Section Background */
.services-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    border-radius: 1.5rem;
}

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

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}
