/* Combined CSS for Arjun K Raghav Investment Portfolio Website */

:root {
    --color-primary: #B71C1C;
    --color-primary-light: rgba(183, 28, 28, 0.1);
    --color-highlight: #F59E0B;
    --color-highlight-light: rgba(245, 158, 11, 0.2);
    --color-dark: #212529;
    --color-body: #495057;
    --color-light-gray: #f8f9fa;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-light-gray);
    color: var(--color-body);
}

.accent-color { color: var(--color-primary); }
.bg-accent-color { background-color: var(--color-primary); }
.border-accent-color { border-color: var(--color-primary); }
.ring-accent-color:focus, .ring-accent-color:focus-within { ring: 2px solid var(--color-primary); }

.highlight-color { color: var(--color-highlight); }

html { scroll-behavior: smooth; }

/* --- Scroll Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hero Section Background --- */
.hero-bg {
    background-color: #ffffff;
    background-image: radial-gradient(#e9ecef 1px, transparent 1px);
    background-size: 2.5rem 2.5rem;
}

/* --- Service Hero Background --- */
.service-hero-bg {
    background: linear-gradient(135deg, var(--color-primary) 0%, #D32F2F 100%);
    position: relative;
    overflow: hidden;
}
.service-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

/* --- About Section Styles --- */
.about-highlight {
    background: linear-gradient(to top, var(--color-highlight-light) 40%, transparent 40%);
    padding: 0 0.25rem;
}

/* --- Video Card Styles --- */
.video-card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgb(0 0 0 / 0.15);
}
.video-card iframe {
    width: 100%;
    height: 200px;
    border: none;
}
.video-card-content {
    padding: 1rem;
}
.video-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}
.video-card-description {
    font-size: 0.8rem;
    color: var(--color-body);
    line-height: 1.4;
}

/* --- Product Card Styles --- */
.product-card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
}
.product-card .illustration {
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.06;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.product-card:hover .illustration {
    opacity: 0.1;
}
.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-dark);
}
.product-card h3 span {
    background: linear-gradient(to top, var(--color-highlight-light) 40%, transparent 40%);
    padding: 0 0.25rem;
}
.product-card.dark h3 span {
    background: linear-gradient(to top, var(--color-primary) 40%, transparent 40%);
}
.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    margin-top: 2rem;
    color: var(--color-dark);
}
.learn-more .arrow-icon {
    background-color: #e9ecef;
    border-radius: 9999px;
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.product-card:hover .learn-more .arrow-icon {
    background-color: var(--color-primary);
    color: white;
}
.product-card.dark {
    background-color: #212529;
    border-color: #343a40;
    color: #f8f9fa;
}
.product-card.dark h3 { color: #f8f9fa; }
.product-card.dark .learn-more { color: #f8f9fa; }
.product-card.dark .learn-more .arrow-icon {
    background-color: #343a40;
}
.product-card.dark:hover .learn-more .arrow-icon {
    background-color: var(--color-primary);
}
.product-card.dark .illustration {
    opacity: 0.1;
}
.product-card.dark:hover .illustration {
    opacity: 0.2;
}

/* --- Educational Card Styles --- */
.edu-card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.edu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgb(0 0 0 / 0.15);
}

/* --- Step Card Styles --- */
.step-card {
    background-color: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    flex: 1;
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

/* --- Video Testimonial Slider Styles (Reels) --- */
/* Currently disabled - uncomment when videos are available 

.video-slider-container {
    position: relative;
    width: 100%;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}
.video-slide {
    position: absolute;
    width: 50%;
    max-width: 280px;
    aspect-ratio: 9 / 16;
    transition: transform 0.5s ease, opacity 0.5s ease, z-index 0.5s;
    cursor: pointer;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 3px solid white;
}
.video-slide video { width: 100%; height: 100%; object-fit: cover; }
.video-slide.active { transform: translateX(0) scale(1); opacity: 1; z-index: 10; }
.video-slide.prev { transform: translateX(-65%) scale(0.85); opacity: 0.5; z-index: 5; }
.video-slide.next { transform: translateX(65%) scale(0.85); opacity: 0.5; z-index: 5; }
.video-slide.hidden-prev { transform: translateX(-130%) scale(0.7); opacity: 0; z-index: 1; }
.video-slide.hidden-next { transform: translateX(130%) scale(0.7); opacity: 0; z-index: 1; }
.slider-nav { position: absolute; top: 50%; width: 100%; max-width: 600px; left: 50%; transform: translate(-50%, -50%); display: flex; justify-content: space-between; z-index: 20; pointer-events: none; }
.slider-nav button { background-color: rgba(255, 255, 255, 0.8); border: none; border-radius: 50%; width: 50px; height: 50px; font-size: 24px; color: #333; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.1); pointer-events: all; }
.slider-nav button:hover { background-color: var(--color-primary); color: white; }

Currently disabled - uncomment when videos are available */


/* --- Calculator Tab Styles --- */
.calculator-tab { cursor: pointer; padding: 0.5rem 1rem; font-size: 0.875rem; sm:padding: 0.75rem 1.5rem; sm:font-size: 1rem; font-weight: 600; border-bottom: 3px solid transparent; color: #6b7280; transition: all 0.3s ease; white-space: nowrap; }
.calculator-tab.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.calculator-tab:hover:not(.active) { color: var(--color-dark); }

/* --- Custom Slider Styles --- */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; background: #e9ecef; border-radius: 5px; outline: none; transition: opacity .2s; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; background: var(--color-primary); border-radius: 50%; cursor: pointer; border: 2px solid white; box-shadow: 0 0 5px rgba(0,0,0,0.2); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; background: var(--color-primary); border-radius: 50%; cursor: pointer; border: 2px solid white; box-shadow: 0 0 5px rgba(0,0,0,0.2); }

.slider-input-group { display: flex; align-items: center; gap: 1rem; }
.value-box { position: relative; }
.value-box .unit { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: #adb5bd; pointer-events: none; }
.value-box input[type="number"] { width: 8rem; text-align: right; padding-left: 2rem; padding-right: 1rem; border: 1px solid #ced4da; }
.value-box input[type="number"]:focus { border-color: var(--color-primary); }

/* --- App Store Button Styles --- */
.app-store-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: #000;
    color: white;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 0.5rem;
    width: 100%;
    justify-content: center;
    max-width: 200px;
}
.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
}
.app-store-btn img {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
}

/* --- Form Styles --- */
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}
.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(183, 28, 28, 0.1);
}
.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- Info Box Styles --- */
.info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--color-primary);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

/* --- Analogy Box --- */
.analogy-box {
    background: linear-gradient(135deg, var(--color-highlight-light) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid var(--color-highlight);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
}

/* --- Disclaimer Box --- */
.disclaimer-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

/* --- Next Steps Section --- */
.next-steps-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

/* --- Accordion Card Styles --- */
.accordion-card {
    background-color: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.accordion-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
}
.accordion-header:hover {
    background: linear-gradient(135deg, rgba(183, 28, 28, 0.05) 0%, rgba(183, 28, 28, 0.1) 100%);
}
.step-number {
    background: linear-gradient(135deg, var(--color-primary) 0%, #D32F2F 100%);
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.accordion-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}
.accordion-toggle {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.accordion-toggle:hover {
    background-color: var(--color-primary);
    color: white;
}
.accordion-content {
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.accordion-content.hidden {
    display: none;
}
.content-wrapper {
    padding: 2rem;
    border-top: 1px solid #dee2e6;
    background-color: #ffffff;
}
.accordion-content:not(.hidden) {
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* --- LinkedIn Notification Pop-up Styles --- */
#linkedin-popup {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    max-width: 320px;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    z-index: 50;
    transform: translateX(calc(100% + 1.5rem));
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}
#linkedin-popup.show {
    transform: translateX(0);
}
#linkedin-popup .close-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: #9ca3af;
    background: transparent;
    border: none;
    padding: 0.25rem;
    line-height: 1;
    cursor: pointer;
}
#linkedin-popup .close-btn:hover {
    color: #111827;
}

/* --- Mobile Responsive for Videos --- */
@media (max-width: 768px) {
    .video-card iframe {
        height: 180px;
    }
    .accordion-header {
        padding: 1rem 1.5rem;
    }
    .step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    .accordion-title {
        font-size: 1.1rem;
    }
    .content-wrapper {
        padding: 1.5rem;
    }
}
/* --- Start Page Hero Background --- */
.start-hero-bg {
    background: linear-gradient(135deg, var(--color-primary) 0%, #D32F2F 100%);
    position: relative;
    overflow: hidden;
}
.start-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}





/* --- Success Popup Styles --- */
.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 2rem 3rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    max-width: 400px;
    width: 90%;
}

.success-popup.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.success-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.success-popup h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.success-popup p {
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
}

.success-popup button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.success-popup button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Loading state for form */
.form-loading {
    opacity: 0.6;
    pointer-events: none;
}

.form-loading button[type="submit"] {
    position: relative;
}

.form-loading button[type="submit"]:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* Consultation Button Styles */
.consultation-btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, #D32F2F 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(183, 28, 28, 0.3);
    display: inline-flex;
    align-items: center;
}

.consultation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(183, 28, 28, 0.4);
    background: linear-gradient(135deg, #A31818 0%, #B71C1C 100%);
}

/* Floating Consultation Button */
.floating-consultation-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    animation: floatPulse 2s infinite ease-in-out;
}

.floating-btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, #D32F2F 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 25px rgba(183, 28, 28, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(183, 28, 28, 0.5);
    background: linear-gradient(135deg, #A31818 0%, #B71C1C 100%);
}

.floating-btn i {
    font-size: 1.1rem;
}

/* Floating button animations */
@keyframes floatPulse {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-consultation-btn {
        bottom: 1rem;
        right: 1rem;
    }
    
    .floating-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .floating-btn-text {
        display: none;
    }
    
    .floating-btn {
        border-radius: 50%;
        width: 3.5rem;
        height: 3.5rem;
        padding: 0;
        justify-content: center;
    }
}


/* Small circular Calendly floating button */
.cal-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60; /* above linkedin popup (z-index 50) */
}

.cal-float-btn {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #D32F2F 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(183, 28, 28, 0.35);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cal-float-btn i {
  font-size: 18px;
  line-height: 1;
}

.cal-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(183, 28, 28, 0.45);
  background: linear-gradient(135deg, #A31818 0%, #B71C1C 100%);
}

/* Smaller footprint on compact screens */
@media (max-width: 640px) {
  .cal-float { right: 12px; bottom: 12px; }
  .cal-float-btn { width: 46px; height: 46px; }
  .cal-float-btn i { font-size: 16px; }
}
