/* =====================================================
   VALUEFIN ADVISORS - MATERIAL DESIGN STYLESHEET
   ===================================================== */

:root {
    --primary-color: #1976D2;
    --primary-dark: #1565C0;
    --primary-light: #42A5F5;
    --secondary-color: #00BCD4;
    --accent-color: #FF6F00;
    --success-color: #4CAF50;
    --danger-color: #F44336;
    --warning-color: #FFC107;
    --info-color: #2196F3;
    
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-disabled: #BDBDBD;
    
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.15);
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-standard: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   GLOBAL STYLES
   ===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.lead {
    font-size: 1.125rem;
    font-weight: 300;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    transition: all var(--transition-standard);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

/* =====================================================
   NAVIGATION
   ===================================================== */

.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    transition: all var(--transition-standard);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    transition: color var(--transition-fast);
}

.navbar-brand:hover {
    color: var(--primary-dark) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary) !important;
    margin-left: 1.5rem;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

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

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero-section {
    background: linear-gradient(135deg, #1976D2 0%, #42A5F5 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-graphic {
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

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

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

/* =====================================================
   CARDS
   ===================================================== */

.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-standard);
    background-color: var(--bg-white);
    overflow: hidden;
}

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

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    transition: all var(--transition-fast);
}

.card-hover:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* =====================================================
   SERVICE CARDS
   ===================================================== */

.service-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-standard);
    border: 2px solid transparent;
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    transform: translateY(-8px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all var(--transition-standard);
}

.service-card:hover .service-icon {
    color: var(--primary-dark);
    transform: scale(1.2);
}

.service-card h4 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.service-list li:hover {
    color: var(--primary-color);
}

/* =====================================================
   MISSION SECTION
   ===================================================== */

.mission-section {
    background: linear-gradient(135deg, #1565C0 0%, #1976D2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.mission-graphic {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* =====================================================
   INDUSTRY CARDS
   ===================================================== */

.industry-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-standard);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.industry-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-top-color: var(--primary-dark);
}

.industry-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all var(--transition-standard);
}

.industry-card:hover .industry-icon {
    color: var(--primary-dark);
    transform: scale(1.2) rotate(-10deg);
}

.industry-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.industry-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =====================================================
   TIMELINE
   ===================================================== */

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 3rem;
    display: flex;
    gap: 2rem;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    flex: 1;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-standard);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.timeline-content h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.timeline-duration {
    display: inline-block;
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.contact-section {
    background: linear-gradient(135deg, #1976D2 0%, #42A5F5 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: white;
    transition: all var(--transition-standard);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.contact-icon {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.contact-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.contact-card a {
    color: white;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.contact-form .form-label {
    color: white;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.contact-form .form-control {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 6px;
    padding: 0.875rem 1rem;
    transition: all var(--transition-fast);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    color: white;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background-color: #1a1a1a;
    color: var(--text-secondary);
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer h6 {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.footer ul li a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer ul li a:hover {
    color: var(--primary-color);
}

.footer a {
    color: var(--text-secondary);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: scale(1.1) rotate(10deg);
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.opacity-10 {
    opacity: 0.1;
}

.opacity-25 {
    opacity: 0.25;
}

.gap-3 {
    gap: 1rem !important;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .nav-link {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        flex-direction: column !important;
        gap: 1rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: column !important;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }

    .d-flex.gap-3 {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
    }

    .section-title::after {
        width: 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .contact-card {
        margin-bottom: 1rem;
    }

    .hero-section {
        text-align: center;
    }
}

/* =====================================================
   ANIMATIONS & TRANSITIONS
   ===================================================== */

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

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

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

/* =====================================================
   SCROLLBAR STYLING
   ===================================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
