/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Financial Theme Colors - Inspired by Mutual Funds Sahi Hai */
:root {
    --primary-color: #28a745;          /* Vibrant Green like MF Sahi Hai */
    --secondary-color: #2563eb;        /* Blue */
    --accent-color: #059669;           /* Dark Green */
    --success-color: #10b981;          /* Light Green */
    --warning-color: #f59e0b;          /* Orange */
    --danger-color: #ef4444;           /* Red */
    --dark-color: #1f2937;             /* Dark Gray */
    --light-color: #f8fafc;            /* Light Gray Background */
    --text-primary: #1f2937;           /* Dark Text */
    --text-secondary: #6b7280;         /* Secondary Text */
    --border-color: #e5e7eb;           /* Border Color */
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    --gradient-secondary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-success: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #28a745;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.nav-logo a:hover {
    color: #20c997;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #28a745;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #28a745;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section with Slider */
.hero {
    min-height: 100vh;
    position: relative;
    color: white;
    padding-top: 80px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

/* Video background for first slide */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Background images for other slides */
.slide:nth-child(2) {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url('../images/image2.jpg');
}

.slide:nth-child(3) {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url('../images/image3.jpg');
}

.slide:nth-child(4) {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url('../images/AIF.jpg');
}

.slide:nth-child(5) {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url('../images/Insurance.jpg');
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    text-align: center;
    z-index: 3;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #20c997;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #28a745;
    transform: translateY(-2px);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-placeholder {
    width: 400px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.about, .services, .contact {
    padding: 5rem 0;
}

       /* Gift City Section */
       .gift-city-section {
           padding: 4rem 0;
           background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
           position: relative;
           overflow: hidden;
           color: white;
       }

.gift-city-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="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

.gift-city-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.gift-city-text {
    animation: slideInLeft 1s ease-out;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.gift-city-section .section-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.gift-city-section .section-subtitle {
    color: #cbd5e1;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.gift-city-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

       .gift-city-features {
           display: grid;
           gap: 1.5rem;
           margin-bottom: 2rem;
       }

       .feature-item {
           display: flex;
           align-items: flex-start;
           gap: 1.5rem;
           padding: 1.25rem;
           background: rgba(255, 255, 255, 0.05);
           border-radius: 12px;
           backdrop-filter: blur(10px);
           border: 1px solid rgba(255, 255, 255, 0.1);
           transition: all 0.3s ease;
           animation: fadeInUp 0.6s ease-out;
       }

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-content h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.gift-city-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.gift-city-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gift-city-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.gift-city-btn:hover::before {
    left: 100%;
}

.gift-city-btn.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
}

.gift-city-btn.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.gift-city-btn.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #10b981;
}

.gift-city-visual {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.gift-city-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gift-city-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gift-city-image:hover .gift-city-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
}

.stats-overlay {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.stat-overlay-item {
    text-align: center;
}

.stat-overlay-item .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.25rem;
}

.stat-overlay-item .stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card-2 {
    top: 30%;
    right: -10%;
    animation-delay: 1.5s;
}

.floating-card-3 {
    bottom: 30%;
    left: -10%;
    animation-delay: 3s;
}

.floating-card-4 {
    bottom: 10%;
    right: -10%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(0deg); }
    75% { transform: translateY(-30px) rotate(-5deg); }
}

@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);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Company Profile Section */
.company-profile {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.company-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/mapsvg.svg');
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    animation: worldMapFloat 40s ease-in-out infinite;
}

/* Dark Theme Company Profile Section */
.company-profile-dark {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

/* White text color for title, subtitle, and paragraphs in dark theme */
.company-profile-dark .section-title {
    color: white;
}

.company-profile-dark .company-subtitle {
    color: white;
}

.company-profile-dark .description-text {
    color: white;
}

/* White text color for specific stat cards in dark theme */
.company-profile-dark .stat-number:not(.stat-number-dark) {
    color: white !important;
    -webkit-text-fill-color: white !important;
    background: none !important;
    background-clip: unset !important;
}

.company-profile-dark .stat-label:not(.stat-label-dark) {
    color: white !important;
}

    .company-profile-dark::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('../images/mapsvg.svg');
        background-size: 60% auto;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.4;
        filter: brightness(1.2) contrast(1.1);
    }

@keyframes dotFloat {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(-5px) translateX(-5px); }
    75% { transform: translateY(10px) translateX(3px); }
}

.company-profile-content {
    position: relative;
    z-index: 2;
}

.company-profile-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.company-profile .section-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #28a745 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.section-title-dark {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.company-subtitle {
    font-size: 1.2rem;
    color: #000000;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.company-subtitle-dark {
    font-size: 1.2rem;
    color: #e2e8f0;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.company-profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

.company-profile-grid-dark {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.company-stats-section {
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    animation: slideInLeft 0.8s ease-out 0.6s both;
}

.stats-grid-dark {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    animation: slideInLeft 0.8s ease-out 0.6s both;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-card-dark {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card-dark:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-card-dark:hover {
    transform: translateY(-8px);
    background: rgba(51, 65, 85, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(148, 163, 184, 0.6);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.stat-icon-dark {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-icon-dark::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5);
}

.stat-card-dark:hover .stat-icon-dark {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.6);
}

.stat-card:hover .stat-icon::before {
    opacity: 1;
}

.stat-card-dark:hover .stat-icon-dark::before {
    opacity: 1;
}

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: block;
    background: linear-gradient(135deg, #28a745 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 3s ease-in-out infinite;
}

.stat-number-dark {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: block;
    animation: pulse 3s ease-in-out infinite;
}

.stat-label {
    font-size: 0.9rem;
    color: #000000;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-label-dark {
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-note {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.company-description-section {
    position: relative;
}

.description-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: slideInRight 0.8s ease-out 0.6s both;
}

.description-content-dark {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: slideInRight 0.8s ease-out 0.6s both;
}

.description-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.description-card-dark {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.description-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6 0%, #10b981 100%);
    transition: width 0.4s ease;
}

.description-card-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #06b6d4 0%, #10b981 100%);
    transition: width 0.4s ease;
}

.description-card:hover::before {
    width: 8px;
}

.description-card-dark:hover::before {
    width: 8px;
}

.description-card:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.description-card-dark:hover {
    transform: translateX(8px);
    background: rgba(51, 65, 85, 0.9);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(148, 163, 184, 0.6);
}

.description-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    position: relative;
}

.description-title-dark {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
}

.description-text {
    font-size: 1rem;
    color: #000000;
    line-height: 1.7;
    font-weight: 500;
}

.description-text-dark {
    font-size: 1rem;
    color: #e2e8f0;
    line-height: 1.7;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .company-profile-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .company-profile-grid-dark {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid-dark {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .company-profile {
        padding: 4rem 0;
    }
    
    .company-profile-dark {
        padding: 4rem 0;
    }
    
    .company-profile .section-title {
        font-size: 2.5rem;
    }
    
    .section-title-dark {
        font-size: 2.5rem;
    }
    
    .company-subtitle {
        font-size: 1.1rem;
    }
    
    .company-subtitle-dark {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stats-grid-dark {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-card-dark {
        padding: 1.5rem 1rem;
    }
    
    .description-card {
        padding: 1.5rem;
    }
    
    .description-card-dark {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .company-profile .section-title {
        font-size: 2rem;
    }
    
    .section-title-dark {
        font-size: 2rem;
    }
    
    .company-subtitle {
        font-size: 1rem;
    }
    
    .company-subtitle-dark {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stats-grid-dark {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-number-dark {
        font-size: 2rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-icon-dark {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

.company-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 1.5rem;
}



.about {
    background: #f8fafc;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #4b5563;
}

.about-stats {
    display: grid;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6b7280;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.services-text {
    max-width: 500px;
}

.services-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 2px;
}

.services-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.services-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.services-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-image {
    width: 100%;
    max-width: 700px;
    height: 100%;
    max-height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.services-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.services-image:hover .services-img {
    transform: scale(1.05);
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

/* Desktop-Specific Services Layout */
@media (min-width: 769px) {
    #services.services-desktop .services-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 4rem;
        align-items: center;
    }

    #services.services-desktop .services-text {
        max-width: 500px;
    }

    #services.services-desktop .services-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem;
        margin-top: 2rem;
    }

    #services.services-desktop .services-image {
        height: 600px !important;
    }

    #services.services-desktop .services-img {
        height: 600px !important;
        object-fit: cover;
    }
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
    border-color: var(--primary-color);
}

.service-item .service-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.service-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.service-item:hover span {
    color: var(--primary-color);
}

/* Professional Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.contact-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="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(40,167,69,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes worldMapFloat {
    0% {
        transform: translateX(0px) translateY(0px) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateX(-10px) translateY(-5px) scale(1.02);
        opacity: 0.5;
    }
    50% {
        transform: translateX(5px) translateY(-10px) scale(1.01);
        opacity: 0.45;
    }
    75% {
        transform: translateX(-5px) translateY(-3px) scale(1.03);
        opacity: 0.5;
    }
    100% {
        transform: translateX(0px) translateY(0px) scale(1);
        opacity: 0.4;
    }
}

@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);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.contact-header .section-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: slideInUp 0.8s ease-out;
}

.contact-header .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

/* Contact Info Panel */
.contact-info-panel {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.8s ease-out;
}

.contact-info-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
}

.info-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.info-header p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-methods {
    margin-bottom: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(40, 167, 69, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-method:hover::before {
    left: 100%;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.15);
}

.method-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-method:hover .method-icon {
    transform: scale(1.1) rotate(5deg);
}

.method-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.method-details p {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.method-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    text-align: center;
}

.trust-item {
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.1);
}

.trust-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.trust-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Contact Form Panel */
.contact-form-panel {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideInRight 0.8s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

.contact-form-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
}

.form-header {
    text-align: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.form-header p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.professional-contact-form {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    align-items: start;
}

.form-group {
    position: relative;
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    font-family: inherit;
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #28a745;
    background: white;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.1);
    transform: translateY(-2px);
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .input-focus-border,
.form-group select:focus ~ .input-focus-border,
.form-group textarea:focus ~ .input-focus-border {
    width: 100%;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.checkbox-group {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    margin-right: 0.75rem;
    margin-top: 0;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: top;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
    background: #28a745;
    border-color: #28a745;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: auto;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(40, 167, 69, 0.3);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Animations */
@keyframes slideInUp {
    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);
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::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.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

/* Footer Logo Section */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* Footer Contact Info */
.footer-contact-info {
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    color: #10b981;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.contact-item span {
    color: #d1d5db;
    font-size: 0.9rem;
}

/* Footer Section Headers */
.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #f9fafb;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 1px;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Footer Links */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    position: relative;
}

.footer-section ul li a::before {
    content: '→';
    color: #10b981;
    font-weight: bold;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #10b981;
    transform: translateX(5px);
}

.footer-section ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.social-link {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.social-link:hover {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.social-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Newsletter Section */
.footer-newsletter {
    margin-top: 2rem;
}

.footer-newsletter h5 {
    color: #f9fafb;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-newsletter p {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.25rem;
    overflow: hidden;
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #d1d5db;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: #9ca3af;
}

.newsletter-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-legal p {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #10b981;
}

.separator {
    color: #6b7280;
    font-size: 0.8rem;
}

.footer-certifications {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.certification-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.certification-item i {
    color: #10b981;
    font-size: 1rem;
}

/* Footer Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo {
        justify-content: center;
        text-align: center;
    }
    
    .footer-contact-info {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        text-align: center;
    }
    
    .footer-section h3::after,
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .footer-certifications {
        justify-content: center;
    }
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Enhanced Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Tablet Responsive Design */
@media (max-width: 768px) and (min-width: 601px) {
    .services-content {
        gap: 2rem;
    }
    
    .services-title {
        font-size: 2.5rem;
    }
    
    .services-tagline {
        font-size: 1.3rem;
    }
}

/* Mobile Responsive Design */
@media (max-width: 600px) {
    .hamburger {
        display: flex;
        z-index: 1000;
        position: relative;
    }

    .nav-menu {
        position: fixed;
        left: -60%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        width: 60%;
        height: 100vh;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
        padding: 40px 0 0.5rem;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0.1rem 0;
        opacity: 0;
        transform: translateX(-30px);
        animation: slideInFromLeft 0.5s ease forwards;
    }

    .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .nav-item:nth-child(2) { animation-delay: 0.2s; }
    .nav-item:nth-child(3) { animation-delay: 0.3s; }
    .nav-item:nth-child(4) { animation-delay: 0.4s; }
    .nav-item:nth-child(5) { animation-delay: 0.5s; }
    .nav-item:nth-child(6) { animation-delay: 0.6s; }

    .nav-link {
        display: block;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-primary);
        text-decoration: none;
        border-radius: 6px;
        margin: 0 0.25rem;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--gradient-primary);
        transition: left 0.3s ease;
        z-index: -1;
    }

    .nav-link:hover::before {
        left: 0;
    }

    .nav-link:hover {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    }

    .nav-link.active {
        background: var(--gradient-primary);
        color: white;
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }
}

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-video {
        object-position: center;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-header {
        margin-bottom: 2.5rem;
    }
    
    .contact-header .section-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .contact-header .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 1rem;
    }
    
    .contact-info-panel,
    .contact-form-panel {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        border-radius: 16px;
    }
    
    .form-header h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .form-header p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        align-items: start;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    .info-header h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .info-header p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-methods {
        gap: 1rem;
    }
    
    .contact-method {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .method-details h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .method-details p {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .method-note {
        font-size: 0.8rem;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    #services .services-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        min-height: auto;
    }
    
    .services-visual {
        order: 1;
        flex: none;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .services-image {
        width: 100%;
        max-width: 500px;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: var(--shadow-medium);
    }
    
    .services-img {
        width: 100%;
        height: auto;
        max-height: 600px;
        object-fit: cover;
        border-radius: 12px;
    }
    
    .services-text {
        order: 2;
        flex: none;
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0 1rem;
    }
    
    .services-title {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }
    
    .services-tagline {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .services-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    #services .services-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .service-item {
        padding: 0.75rem 1rem;
        text-align: left;
        justify-content: flex-start;
    }
    
    .service-item .service-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .service-item span {
        font-size: 0.9rem;
    }



    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .client-segments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .client-segment-card {
        height: 220px;
    }
    
    .segment-overlay h3 {
        font-size: 0.8rem;
    }

    .compliance-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Section - Small Mobile Improvements */
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-header {
        margin-bottom: 2rem;
    }
    
    .contact-header .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .contact-header .section-subtitle {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .contact-info-panel,
    .contact-form-panel {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .form-header h3 {
        font-size: 1.2rem;
    }
    
    .form-header p {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .info-header h3 {
        font-size: 1.2rem;
    }
    
    .info-header p {
        font-size: 0.85rem;
    }
    
    .contact-method {
        padding: 0.8rem;
    }
    
    .method-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .method-details h4 {
        font-size: 0.9rem;
    }
    
    .method-details p {
        font-size: 0.85rem;
    }
    
    .method-note {
        font-size: 0.75rem;
    }

    /* About Me Section - Small Mobile Improvements */
    .about-me-section {
        padding: 2rem 0 1.5rem 0;
    }
    
    .about-me-container {
        padding: 0 1rem;
    }
    
    .about-me-content {
        gap: 1rem;
    }
    
    .about-me-title {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .about-me-title2 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .about-me-bio {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }
    
    .about-me-bio-second {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .about-me-portrait {
        width: 180px;
        height: 180px;
        border-width: 3px;
    }

    /* Mission & Vision Section - Small Mobile */
    .mission-vision {
        padding: 2.5rem 0;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .mission-vision-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .card-header {
        padding: 1.25rem 1rem 0.75rem;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .card-header h3 {
        font-size: 1.1rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .card-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Knowledge Center - Small Mobile */
    .knowledge-hero {
        padding: 2.5rem 0 1.5rem;
        padding-top: calc(2.5rem + 80px); /* Add navbar height for small mobile */
        min-height: 45vh;
    }
    
    .knowledge-hero .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .knowledge-hero .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .knowledge-hero .hero-stats {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .knowledge-hero .stat-item {
        padding: 0.75rem;
    }
    
    .knowledge-hero .stat-number {
        font-size: 1.8rem;
    }
    
    .knowledge-hero .stat-label {
        font-size: 0.8rem;
    }
    
    .knowledge-tabs {
        padding: 0.75rem 0;
    }
    
    .knowledge-tabs .tab-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .knowledge-section {
        padding: 2.5rem 0;
    }
    
    .knowledge-card {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .knowledge-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .knowledge-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

         .modal-content {
         width: 95%;
         margin: 10% auto;
         padding: 1.5rem;
     }

     .knowledge-hero {
         min-height: 50vh;
         padding: 3rem 0 2rem;
     }

     .knowledge-hero .hero-title {
         font-size: 2.5rem;
     }

     .knowledge-hero .hero-subtitle {
         font-size: 1.1rem;
     }

     .knowledge-hero .hero-stats {
         flex-direction: column;
         gap: 1.5rem;
         margin-top: 2rem;
     }

     .knowledge-hero .stat-item {
         padding: 1rem;
     }

     .knowledge-hero .stat-number {
         font-size: 2rem;
     }
 

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .hero-container {
        padding: 0 15px;
    }

    #services .services-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .services-title {
        font-size: 1.8rem;
    }
    
    .services-tagline {
        font-size: 1.1rem;
    }
    
    .services-description {
        font-size: 0.9rem;
    }
    
    .service-item {
        padding: 0.75rem 1rem;
        text-align: left;
        justify-content: flex-start;
    }
    
    .service-item .service-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .service-item span {
        font-size: 0.85rem;
    }
}



/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 80px;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Who We Serve Section */
.who-we-serve {
    padding: 5rem 0;
    background: white;
}

.who-we-serve .section-title {
    position: relative;
    margin-bottom: 1rem;
}

.who-we-serve .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 2px;
}

.who-we-serve .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.client-segments-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.client-segment-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 280px;
}

.client-segment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.segment-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.segment-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}

.segment-image .image-placeholder::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.segment-img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.client-segment-card:hover .segment-img {
    transform: scale(1.05);
}

.segment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.segment-overlay h3 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin: 0;
    text-align: center;
}

/* Education Section */
.education {
    padding: 5rem 0;
    background: white;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.education-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.education-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.education-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.education-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.education-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.education-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.education-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: var(--secondary-color);
}

/* Compliance Section */
.compliance {
    padding: 5rem 0;
    background: var(--light-color);
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.compliance-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.compliance-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.compliance-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.compliance-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.compliance-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.compliance-number {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* Blogs Section */
.blogs {
    padding: 5rem 0;
    background: var(--light-color);
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.blog-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Why Choose Us Section */
.why-us {
    padding: 5rem 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.why-us-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.why-us-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.why-us-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-us-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.why-us-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Calculator Section */
.calculator {
    padding: 5rem 0;
    background: var(--light-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
.calculator-form-section, .calculator-results {
    height: 100%;
    width: 100%;
}

.calculator-form-section {
    padding: 2rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.calculator-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: rgba(240, 253, 244, 0.8);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.tab-btn:hover:not(.active) {
    background: rgba(240, 253, 244, 0.95);
    transform: translateY(-1px);
}

.calculator-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.calculator-form .form-group {
    margin-bottom: 1.5rem;
}

.calculator-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.calculator-form input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #bbf7d0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f0fdf4;
}

.calculator-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.1);
}

.calculator-form select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #bbf7d0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f0fdf4;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.calculator-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.calculator-results {
    padding: 1rem 0.7rem !important;
    min-height: unset !important;
}

.calculator-results h3 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-item {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #bbf7d0;
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.investment-chart {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

.chart-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.chart-visual {
    margin-bottom: 1rem;
}

.investment-bar, .returns-bar {
    height: 8px;
    background: #bbf7d0;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.investment-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.returns-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.investment {
    background: var(--primary-color);
}

.legend-color.returns {
    background: var(--accent-color);
}



/* Financial Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@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);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    padding: 8rem 0 4rem;
    padding-top: calc(8rem + 80px); /* Add navbar height */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::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.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

/* Header Stats */
.header-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.header-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 150px;
}

.header-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.header-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.header-stat .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

/* About Page Styles */
.about-story {
    padding: 4rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.story-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-logo {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.1rem;
    border: 2px dashed #cbd5e1;
}

/* Mission & Vision Section */
.mission-vision {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 5rem 0;
    position: relative;
}

.mission-vision::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="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.mission-vision .container {
    position: relative;
    z-index: 1;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.mission-vision-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 280px;
    margin: 0 auto;
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: white;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mission-vision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.mission-vision-card:hover::before {
    transform: scaleX(1);
}

.card-header {
    padding: 1.5rem 1.25rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
    transition: all 0.3s ease;
}

.mission-vision-card:hover .card-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.3px;
}

.card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    align-items: center;
}

.card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
}

.team {
    padding: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    margin-bottom: 1.5rem;
}

.member-image .image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
    font-size: 0.9rem;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.member-role {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: #64748b;
    line-height: 1.6;
}

.stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.stats .section-title {
    color: white;
}

/* Services Page Styles */
.services-overview {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.service-price {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #28a745;
}

.process {
    background: #f8fafc;
    padding: 4rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.process-step p {
    color: #64748b;
    line-height: 1.6;
}

/* Process Image Styles */
.process-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.process-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.process-image:hover {
    transform: scale(1.02);
}

/* Responsive adjustments for process image */
@media (max-width: 768px) {
    .process-image-container {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .process-image {
        border-radius: 8px;
    }
}

.technologies {
    padding: 4rem 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-item {
    background: #f1f5f9;
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.cta-section {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Company Information Section */
.company-info-section {
    padding: 5rem 0;
    background: white;
}

.company-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.company-info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.company-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
}

.company-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #28a745;
    transition: all 0.3s ease;
}

.company-info-card:hover .info-icon {
    transform: scale(1.1);
}

.company-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
    font-weight: 600;
}

.company-info-card p {
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* Contact Page Styles */
.contact-info-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.contact-card p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.contact-form-section {
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    margin-right: 0.75rem;
    margin-top: 0;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: top;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
    background: #28a745;
    border-color: #28a745;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.office-info,
.social-links-sidebar {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.office-info h3,
.social-links-sidebar h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.office-details p {
    margin-bottom: 1rem;
    color: #64748b;
    line-height: 1.6;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-btn {
    display: block;
    padding: 0.75rem 1rem;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-btn:hover {
    background: #28a745;
    color: white;
}

.faq-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
}

.map-section {
    padding: 4rem 0;
}

.map-container {
    margin-top: 2rem;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border: 2px dashed #cbd5e1;
}

.map-placeholder span {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Privacy Policy Page Styles */
.privacy-content {
    padding: 4rem 0;
}

.privacy-sections {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 3rem;
}

.privacy-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.privacy-section h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    color: #374151;
}

.privacy-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

.privacy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #4b5563;
}

.contact-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Active Navigation Link */
.nav-link.active {
    color: #28a745;
}

.nav-link.active::after {
    width: 100%;
}

       /* Knowledge Center Hero Section */
       .knowledge-hero {
           background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
           color: white;
           padding: 4rem 0 3rem;
           padding-top: calc(4rem + 80px); /* Add navbar height */
           position: relative;
           overflow: hidden;
           display: flex;
           align-items: center;
           min-height: 60vh;
       }

.knowledge-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="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.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.knowledge-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.knowledge-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: slideInUp 0.8s ease-out;
}

.knowledge-hero .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: slideInUp 0.8s ease-out 0.2s both;
}



/* Knowledge Center Styles */
.knowledge-nav {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
    z-index: 100;
    margin-bottom: 2rem;
}

.knowledge-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 1.5rem 0;
    overflow-x: auto;
}

.knowledge-tabs .tab-btn {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

.knowledge-tabs .tab-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.knowledge-tabs .tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.knowledge-section {
    display: none;
    padding: 6rem 0;
}

.knowledge-section.active {
    display: block;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.knowledge-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.knowledge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.knowledge-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.knowledge-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Calculator Grid */
.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.calculator-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.calculator-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.calculator-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.calculator-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.calculator-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Education Categories */
.education-categories {
    margin-top: 2rem;
}

.category-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.category-btn {
    flex: 1;
    min-width: 150px;
    padding: 0.75rem 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

.category-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.category-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.category-content {
    display: none;
}

.category-content.active {
    display: block;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.education-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.education-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.education-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.education-item p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Tools Grid */
/* Tools Overview Section */
/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.resource-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.resource-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: var(--text-primary);
}

.calculator-result {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Team Section */
.team {
    padding: 5rem 0;
    background: var(--light-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

        .member-image {
            width: 150px;
            height: 150px;
            overflow: hidden;
            background: var(--gradient-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            border-radius: 50%;
            margin-bottom: 1rem;
            margin-left: auto;
            margin-right: auto;
        }

        .member-photo {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
            border-radius: 50%;
        }

.team-member:hover .member-photo {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    font-weight: 600;
}

.member-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.member-description {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social .social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-social .social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .header-stats {
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .header-stat {
        padding: 1rem;
        min-width: 120px;
    }
    
    .header-stat .stat-number {
        font-size: 2rem;
    }
    
    .header-stat .stat-label {
        font-size: 0.8rem;
    }
    
    .company-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .company-info-card {
        padding: 2rem;
    }
    
    .company-profile {
        padding: 4rem 0;
    }
    
    .company-profile .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .company-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .company-stats .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .company-stats .stat-number {
        font-size: 2rem;
    }
    
    .company-description {
        margin-bottom: 2rem;
    }
    
    .company-description p {
        font-size: 1rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    /* Mission & Vision Section Responsive */
    .mission-vision {
        padding: 3rem 0;
    }
    
    .mission-vision-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .mission-vision-card {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .card-header {
        padding: 1.5rem 1.25rem 1rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .card-header h3 {
        font-size: 1.3rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .card-content p {
        font-size: 1rem;
    }
}

/* Additional Responsive Styles */
@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .knowledge-tabs {
        padding: 0.5rem 0;
    }

    .knowledge-tabs .tab-btn {
        min-width: 100px;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    .category-tabs {
        margin-bottom: 1.5rem;
    }

    .category-btn {
        min-width: 120px;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    .knowledge-grid,
    .calculator-grid,
    .tools-grid,
    .resources-grid,
    .education-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Knowledge Center Mobile Improvements */
    .knowledge-hero {
        padding: 3rem 0 2rem;
        padding-top: calc(3rem + 80px); /* Add navbar height for mobile */
        min-height: 50vh;
    }
    
    .knowledge-hero .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .knowledge-hero .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .knowledge-hero .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .knowledge-hero .stat-item {
        padding: 1rem;
        text-align: center;
    }
    
    .knowledge-hero .stat-number {
        font-size: 2rem;
    }
    
    .knowledge-hero .stat-label {
        font-size: 0.9rem;
    }
    
    .knowledge-nav {
        position: relative;
        top: 0;
        margin-bottom: 1rem;
    }
    
    .knowledge-tabs {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0;
    }
    
    .knowledge-tabs .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        text-align: center;
        border-radius: 8px;
    }
    
    .knowledge-section {
        padding: 3rem 0;
    }
    
    .knowledge-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .knowledge-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .knowledge-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .modal-content {
        width: 95%;
    }
    
    /* Gift City Section Responsive */
    .gift-city-section {
        padding: 4rem 0;
    }
    
    .gift-city-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .gift-city-section .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .gift-city-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .gift-city-features {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .feature-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .feature-content h3 {
        font-size: 1.125rem;
    }
    
    .gift-city-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gift-city-btn {
        width: 100%;
        justify-content: center;
    }
    
    .gift-city-img {
        height: 300px;
    }
    
    .stats-overlay {
        flex-direction: column;
        gap: 1rem;
    }
    
    .floating-card {
        display: none;
    }
}

/* Team Section Responsive */
@media (max-width: 768px) {
    .team {
        padding: 3rem 0;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .team-member {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .member-image {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .member-info {
        padding: 1.5rem;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
    }
    
    .member-position {
        font-size: 1rem;
    }
}

/* Extra small screens - stack team members vertically */
@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-member {
        max-width: 100%;
    }
    
    .member-image {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Market Correlation Analysis Section */
.market-correlation-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.correlation-header {
    text-align: center;
    margin-bottom: 3rem;
}

.correlation-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.correlation-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.correlation-content {
    display: grid;
    gap: 3rem;
}

/* Chart Container */
.chart-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.chart-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.chart-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0.5rem 0 0 0;
}

.chart-controls {
    display: flex;
    gap: 0.5rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.chart-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.chart-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.chart-area {
    position: relative;
    margin-bottom: 1rem;
}

.chart-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.correlation-chart-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.correlation-chart-image:hover {
    transform: scale(1.02);
}

#correlationChart {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.sp500 {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.legend-color.bse500 {
    background: linear-gradient(135deg, #ffe643 0%, #e6cc25 100%);
}

/* Funds Info */
.funds-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.fund-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fund-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.fund-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.fund-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.fund-card:nth-child(1) .fund-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.fund-card:nth-child(2) .fund-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.fund-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.fund-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.fund-stats {
    display: grid;
    gap: 0.8rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Compact Fund Info Box */
.fund-info-box {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    width: 100%;
    margin: 0;
}

.fund-info-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.fund-info-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fund-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.fund-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    min-width: 150px;
    flex-shrink: 0;
}

.fund-name i {
    color: var(--primary-color);
    font-size: 1rem;
}

.fund-stats-mini {
    display: flex;
    gap: 1rem;
    margin-left: auto;
    flex-shrink: 0;
}

.stat-mini {
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.fund-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.detail-item {
    font-size: 0.7rem;
    color: var(--text-secondary);
    background: var(--light-color);
    padding: 0.15rem 0.4rem;
    border-radius: 0.2rem;
    border-left: 2px solid var(--primary-color);
}

.fund-info-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.fund-info-note p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.fund-info-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Correlation Insights */
.correlation-insights {
    margin-top: 2rem;
}

.correlation-insights h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.insight-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.insight-item:hover {
    transform: translateY(-3px);
}

.insight-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.insight-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.insight-item p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .market-correlation-section {
        padding: 3rem 0;
    }
    
    .correlation-header .section-title {
        font-size: 2rem;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .chart-controls {
        width: 100%;
        justify-content: center;
    }
    
    .funds-info {
        grid-template-columns: 1fr;
    }
    
    .fund-card {
        padding: 1.5rem;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-legend {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .chart-container {
        padding: 1.5rem;
    }
    
    .fund-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .stat-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .chart-controls {
        flex-wrap: wrap;
    }
    
    .chart-btn {
        flex: 1;
        min-width: 60px;
    }
}



/* Investment Calculator Styles */
.calculator-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
    border-radius: 20px 20px 0 0;
}

.calculator-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.calculator-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.calculator-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 400;
}

.calculator-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    align-items: stretch;
    height: 100%;
}
.calculator-inputs, .calculator-results {
    height: 100%;
}

.calculator-inputs {
    min-width: 0;
    max-width: 100%;
}
.calculator-results {
    min-width: 0;
    max-width: 100%;
}

/* About Me Section */
.about-me-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 4rem 0 3rem 0;
    position: relative;
    overflow: hidden;
}
.about-me-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.about-me-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.about-me-content.about-me-reverse {
    flex-direction: row-reverse;
}
.about-me-text {
    flex: 1;
    max-width: none;
    animation: fadeInLeft 1s ease;
    padding-right: 0;
}
.about-me-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color, #28a745);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.note-after {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--primary-color, #28a745);
    margin-top: 1.5rem;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.note-after.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.about-me-title2 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color, #28a745);
    margin-bottom: 1.5rem;
    letter-spacing: -0.3px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-me-bio {
    font-size: 1rem;
    color: #334155;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 0;
    text-align: justify;
}

.about-me-bio-second {
    margin-top: 1rem;
    width: 100%;
    clear: both;
    padding-left: 0;
    margin-left: 0;
}
        .about-me-image {
            flex: 0 0 280px;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: fadeInRight 1s ease;
            margin-top: 0.5rem;
            margin-left: 2rem;
        }
.about-me-portrait {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12), 0 2px 8px rgba(16, 185, 129, 0.08);
    background: #fff;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
    display: block;
}
.about-me-portrait:hover {
    transform: scale(1.02) rotate(-1deg);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.18), 0 4px 16px rgba(16, 185, 129, 0.12);
}
@media (max-width: 900px) {
    .about-me-portrait {
        width: 200px;
        height: 200px;
        border-width: 4px;
    }
}
@media (max-width: 600px) {
    .about-me-portrait {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }
}

@media (max-width: 900px) {
    .about-me-content {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }
    .about-me-content.about-me-reverse {
        flex-direction: column;
    }
    .about-me-text {
        padding-right: 0;
        text-align: left;
        width: 100%;
    }
    .about-me-image {
        justify-content: center;
        margin-top: 0;
        width: 100%;
    }
    .about-me-bio {
        text-align: left;
    }
    .about-me-bio-second {
        text-align: left;
    }
}
@media (max-width: 600px) {
    .about-me-section {
        padding: 2.5rem 0 2rem 0;
    }
    .about-me-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    .about-me-content.about-me-reverse {
        flex-direction: column;
    }
    .about-me-title {
        font-size: 1.8rem;
        text-align: left;
        margin-bottom: 0.75rem;
    }
    .about-me-title2 {
        font-size: 1.1rem;
        text-align: left;
        margin-bottom: 1rem;
    }
    .about-me-bio {
        font-size: 0.95rem;
        text-align: left;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    .about-me-bio-second {
        font-size: 0.95rem;
        text-align: left;
        line-height: 1.6;
    }
    .about-me-text {
        width: 100%;
        max-width: 100%;
        text-align: left;
        padding: 0;
    }
    .about-me-image {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
    }
    .about-me-portrait {
        width: 200px;
        height: 200px;
        border-width: 4px;
    }

    /* Mission & Vision Section - Mobile */
    .mission-vision {
        padding: 3rem 0;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 2rem;
    }
    
    .mission-vision-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .card-header {
        padding: 1.5rem 1.25rem 1rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .card-header h3 {
        font-size: 1.2rem;
    }
    
    .card-content {
        padding: 1.25rem;
    }
    
    .card-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.about-me-image, .about-me-text {
    opacity: 1;
    transition: opacity 0.7s, transform 0.7s;
}
.about-me-image {
    transform: translateX(0);
}
.about-me-text {
    transform: translateX(0);
}
.about-me-image.animated {
    animation: aboutMeFloat 4s ease-in-out 0.7s infinite alternate;
}
.about-me-text.animated {
    transform: translateX(0);
}
@keyframes aboutMeFloat {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(0) translateY(-10px); }
    100% { transform: translateX(0) translateY(0); }
}


@media (max-width: 1200px) {
    .client-segments-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    .client-segment-card {
        height: 250px;
    }
}

@media (max-width: 900px) {
    .client-segments-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .client-segment-card {
        height: 220px;
    }
}
@media (max-width: 600px) {
    .client-segments-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        justify-items: center;
    }
    .client-segment-card {
        height: 320px;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
    .segment-image {
        height: 320px;
    }
    .segment-img {
        width: 100%;
        height: 100%;
        max-height: 500px;
        object-fit: cover;
        object-position: top;
    }
}

/* --- TOOLS PAGE CALCULATOR MOBILE RESPONSIVE --- */
.calculator-results {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 2rem 1.5rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.results-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.results-grid .result-item:nth-child(3) {
  grid-column: 1 / -1;
  max-width: 50%;
  margin: 0 auto;
}

.result-item {
  background: #f8fafc;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 1.2rem 1rem;
  text-align: center;
}

.result-label {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.result-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2563eb;
}

.calculator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

.calculator-form-section {
  width: 100%;
}

.calculator-results {
  width: 100%;
  max-width: 600px;
  margin: 0;
}

/* Mobile Responsive Rules */
@media (max-width: 900px) {
  .calculator-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }
  
  .calculator-results {
    max-width: 100%;
    margin: 0;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .results-grid .result-item:nth-child(3) {
    grid-column: 1;
    max-width: 100%;
    margin: 0;
  }
  
  .result-item {
    padding: 1.25rem 1rem;
  }
  
  .result-value {
    font-size: 1.3rem;
  }
}

@media (max-width: 600px) {
  .calculator-container {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .calculator-form-section {
    padding: 1.5rem;
  }
  
  .calculator-form {
    padding: 1.5rem;
  }
  
  .calculator-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .calculator-form .form-group {
    margin-bottom: 1rem;
  }
  
  .calculator-form input,
  .calculator-form select {
    padding: 0.7rem;
    font-size: 0.95rem;
  }
  
  .calculator-results {
    padding: 1.5rem;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .results-grid .result-item:nth-child(3) {
    grid-column: 1;
    max-width: 100%;
    margin: 0;
  }
  
  .result-item {
    padding: 1rem;
  }
  
  .result-label {
    font-size: 0.85rem;
  }
  
  .result-value {
    font-size: 1.2rem;
  }
  
  .investment-chart {
    margin-top: 1.5rem;
  }
  
  .chart-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .chart-legend {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .calculator-container {
    padding: 1rem;
    border-radius: 16px;
  }
  
  .calculator-form-section {
    padding: 1rem;
  }
  
  .calculator-form {
    padding: 1rem;
  }
  
  .calculator-tabs {
    margin-bottom: 1.5rem;
  }
  
  .tab-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .calculator-form label {
    font-size: 0.85rem;
  }
  
  .calculator-form input,
  .calculator-form select {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
  
  .calculator-results {
    padding: 1rem;
  }
  
  .calculator-results h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .result-item {
    padding: 0.8rem;
  }
  
  .result-label {
    font-size: 0.8rem;
  }
  
  .result-value {
    font-size: 1.1rem;
  }
  
  /* Page Header Mobile */
  .page-header {
    padding: 6rem 0 3rem;
    padding-top: calc(6rem + 80px); /* Add navbar height for mobile */
  }
  
  .page-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .page-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  /* CTA Section Mobile */
  .cta-section {
    padding: 3rem 0;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .cta-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* Additional mobile breakpoint for very small screens */
@media (max-width: 480px) {
  .page-header {
    padding-top: calc(5rem + 80px); /* Adjust for very small screens */
  }
}

/* --- S&P 500 vs S&P BSE 500 CALCULATOR - COMPACT PROFESSIONAL DESIGN --- */
.sp500-calculator-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.08);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.sp500-calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b, #8b5cf6);
    border-radius: 24px 24px 0 0;
}

.sp500-calculator-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.sp500-calculator-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.sp500-calculator-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
    width: 100%;
    max-width: 100%;
    line-height: 1.4;
}

.sp500-calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
    align-items: stretch;
    width: 100%;
    height: auto;
    min-height: unset;
}

.sp500-calculator-inputs {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.sp500-calculator-inputs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 20px 20px 0 0;
}

.sp500-input-section {
    position: relative;
    z-index: 1;
}

.sp500-input-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sp500-input-section h4 i {
    color: #3b82f6;
    font-size: 1rem;
}

.sp500-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.sp500-input-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sp500-input-group label i {
    color: #3b82f6;
    font-size: 0.8rem;
}

.sp500-input-amount-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.sp500-input-amount-wrapper input[type="text"] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 0.75rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sp500-input-amount-wrapper input[type="text"]:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.sp500-input-amount-wrapper input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 8px 25px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.sp500-usd-suffix {
    position: absolute;
    right: 0.75rem;
    color: #64748b;
    font-weight: 600;
    pointer-events: none;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.sp500-input-group select {
    padding: 0.75rem 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.9rem;
    padding-right: 2.5rem;
}

.sp500-input-group select:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.sp500-input-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 8px 25px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.sp500-calculate-btn {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
    width: 100%;
    margin-top: 0.75rem;
}

.sp500-calculate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.sp500-calculate-btn:hover::before {
    left: 100%;
}

.sp500-calculate-btn:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

.sp500-calculate-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.sp500-calculate-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.sp500-calculate-btn:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Inception Note Styling */
.sp500-inception-note {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #1e40af;
    font-weight: 500;
    animation: fadeInUp 0.4s ease-out;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.sp500-inception-note i {
    color: #3b82f6;
    font-size: 1rem;
    flex-shrink: 0;
}

.sp500-inception-note span {
    line-height: 1.4;
}

.sp500-calculator-results {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    display: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    min-height: 300px;
}

.sp500-calculator-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #f59e0b);
}

.sp500-calculator-results.show {
    display: block;
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sp500-results-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.sp500-results-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sp500-results-header h4 i {
    color: #3b82f6;
    font-size: 1.1rem;
}

.sp500-results-header p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

.sp500-results-placeholder {
    text-align: center;
    padding: 2rem 1.5rem;
    color: var(--text-secondary);
}

.sp500-placeholder-icon {
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.sp500-placeholder-icon i {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sp500-results-placeholder h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.sp500-results-placeholder p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.sp500-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sp500-result-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    min-width: 0;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
}

.sp500-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sp500-result-card:hover::before {
    transform: scaleX(1);
}

.sp500-result-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.sp500-sp500-result {
    border-color: #3b82f6;
}

.sp500-sp500-result::before {
    background: linear-gradient(90deg, #3b82f6, #1e40af);
}

.sp500-bse500-result {
    border-color: #10b981;
}

.sp500-bse500-result::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.sp500-result-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.sp500-sp500-result .sp500-result-header i {
    color: #3b82f6;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sp500-bse500-result .sp500-result-header i {
    color: #10b981;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sp500-result-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.sp500-result-return {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    display: inline-block;
}

.sp500-sp500-result .sp500-result-return {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(30, 64, 175, 0.1));
    color: #3b82f6;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.sp500-bse500-result .sp500-result-return {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    color: #10b981;
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.sp500-result-profit {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.4rem 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 0.4rem;
    word-break: break-word;
}

.sp500-results-comparison {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    padding: 1rem;
    border: 2px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.sp500-results-comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
}

.sp500-comparison-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    position: relative;
}

.sp500-comparison-item:first-child {
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.sp500-comparison-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sp500-comparison-label i {
    color: #3b82f6;
    font-size: 0.8rem;
}

.sp500-comparison-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    word-break: break-word;
    text-align: right;
    min-width: 70px;
}

/* Responsive Design for S&P 500 Calculator */
@media (max-width: 900px) {
    .sp500-calculator-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sp500-calculator-container {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .sp500-calculator-header h3 {
        font-size: 1.6rem;
    }
    
    .sp500-calculator-inputs {
        padding: 1.5rem;
    }
    
    .sp500-calculator-results {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .sp500-results-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 600px) {
    .sp500-calculator-container {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .sp500-calculator-header h3 {
        font-size: 1.4rem;
    }
    
    .sp500-calculator-header p {
        font-size: 0.9rem;
    }
    
    .sp500-calculator-inputs {
        padding: 1rem;
    }
    
    .sp500-calculator-results {
        padding: 1rem;
    }
    
    .sp500-input-group input[type="text"],
    .sp500-input-group select {
        padding: 0.75rem 0.75rem;
        font-size: 0.95rem;
    }
    
    .sp500-calculate-btn {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .sp500-result-amount {
        font-size: 1.2rem;
    }
    
    .sp500-result-return {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
    
    .sp500-results-header h4 {
        font-size: 1.1rem;
    }
}

/* Articles Page Styles */
.main-article-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.aif-article {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.article-header {
    padding: 60px 50px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-align: center;
}

.article-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.article-meta-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.article-meta-info i {
    font-size: 1rem;
    color: #ffd700;
}

.article-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.article-content {
    padding: 50px;
}

.article-intro {
    margin-bottom: 50px;
}

.lead-paragraph {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #2c3e50;
    font-weight: 400;
    border-left: 4px solid #667eea;
    padding-left: 25px;
    margin: 0;
}

.article-section {
    margin-bottom: 50px;
}

.article-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.article-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

.article-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #34495e;
    margin: 30px 0 15px;
}

.article-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.article-section ul {
    margin: 20px 0;
    padding-left: 25px;
}

.article-section li {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 12px;
}

.article-section strong {
    color: #2c3e50;
    font-weight: 600;
}

.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.article-tags {
    margin-bottom: 30px;
}

.tag-label {
    font-weight: 600;
    color: #2c3e50;
    margin-right: 15px;
}

.tag {
    display: inline-block;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin: 5px;
    transition: transform 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.share-label {
    font-weight: 600;
    color: #2c3e50;
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.facebook {
    background: #4267b2;
}

.share-btn.email {
    background: #ea4335;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Article Page */
@media (max-width: 1024px) {
    .article-main-title {
        font-size: 2.4rem;
    }
    
    .article-content {
        padding: 40px 35px;
    }
    
    .article-header {
        padding: 50px 40px 35px;
    }
}

@media (max-width: 768px) {
    .main-article-section {
        padding: 60px 0;
    }
    
    .article-main-title {
        font-size: 2rem;
    }
    
    .article-meta-info {
        gap: 20px;
    }
    
    .article-content {
        padding: 30px 25px;
    }
    
    .article-header {
        padding: 40px 30px 30px;
    }
    
    .lead-paragraph {
        font-size: 1.15rem;
        padding-left: 20px;
    }
    
    .article-section h2 {
        font-size: 1.7rem;
    }
    
    .article-section h3 {
        font-size: 1.25rem;
    }
    
    .article-section p {
        font-size: 1rem;
    }
    
    .article-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .article-main-title {
        font-size: 1.7rem;
    }
    
    .article-meta-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-content {
        padding: 25px 20px;
    }
    
    .article-header {
        padding: 35px 25px 25px;
    }
    
    .lead-paragraph {
        font-size: 1.1rem;
        padding-left: 15px;
    }
    
    .article-section h2 {
        font-size: 1.5rem;
    }
    
    .article-section h3 {
        font-size: 1.2rem;
    }
    
    .share-buttons {
        gap: 10px;
    }
    
    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}


/* Case Study Section - Compact */
.case-study-section {
    padding: 60px 0;
    background: var(--light-color);
}

.case-study-header {
    text-align: center;
    margin-bottom: 40px;
}

.case-study-header .section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.case-study-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.investor-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.investor-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.investor-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-weight: 700;
}

.investor-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.performance-metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.buffett-card .metric-value {
    color: var(--secondary-color);
}

.person-x-card .metric-value {
    color: var(--success-color);
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.case-study-insight {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.case-study-insight p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.case-study-insight .btn {
    padding: 12px 30px;
    font-size: 1rem;
}

.case-study-data-source {
    margin-top: 30px;
    padding: 20px;
    background: rgba(40, 167, 69, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.case-study-data-source p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.case-study-data-source a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.case-study-data-source a:hover {
    text-decoration: underline;
}

.case-study-description {
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.case-study-description p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.investor-description {
    margin-top: 20px;
    text-align: left;
}

.investor-description p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Responsive Design for Case Study */
@media (max-width: 768px) {
    .case-study-section {
        padding: 40px 0;
    }
    
    .case-study-comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comparison-vs {
        order: 2;
        font-size: 1rem;
    }
    
    .investor-card {
        padding: 20px;
    }
    
    .metric-value {
        font-size: 1.8rem;
    }
    
    .case-study-insight p {
        font-size: 1rem;
    }
    
    .case-study-data-source {
        margin-top: 20px;
        padding: 15px;
    }
    
    .case-study-data-source p {
        font-size: 0.9rem;
    }
}