/* Root Variables */
:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #059669;
    --accent-color: #7c3aed;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.tagline {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav-link:hover {
    color: var(--primary-color);
}

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

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(30, 64, 175, 0.85), rgba(30, 64, 175, 0.85)), 
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40') center/cover no-repeat;
    color: white;
    padding: 100px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    display: grid;
    gap: 20px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.3s;
}

.hero-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.hero-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.hero-card p {
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(30, 64, 175, 0.85), rgba(30, 64, 175, 0.85)), 
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40') center/cover no-repeat;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(30, 64, 175, 0.85), rgba(30, 64, 175, 0.85)), 
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40') center/cover no-repeat;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.95;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.sebi-info {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.sebi-info p {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.qualifications-list {
    list-style: none;
}

.qualifications-list li {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 15px;
}

.qualification-icon {
    font-size: 30px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    padding: 25px;
    background: var(--bg-light);
    border-radius: 8px;
}

.value-item h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.value-item p {
    font-size: 14px;
}

.credentials {
    padding: 80px 0;
    background: var(--bg-light);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.credential-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.credential-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.credential-number {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-dark);
    margin-top: 15px;
}

/* Services Section */
.services-intro {
    padding: 60px 0;
    background: var(--bg-light);
}

.intro-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-box h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    gap: 40px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

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

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-card ul {
    margin-left: 20px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-card li {
    margin-bottom: 10px;
}

.service-benefit {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    margin-top: 20px;
}

.process-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.step p {
    color: var(--text-light);
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.calculator-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.calculator-form h2 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.calculator-description {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

input[type="range"] {
    width: 100%;
    margin-top: 10px;
}

.calculator-results {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
}

.calculator-results h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 24px;
}

.result-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.result-item {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    background: var(--bg-light);
}

.result-item.highlight {
    background: linear-gradient(rgba(30, 64, 175, 0.9), rgba(30, 64, 175, 0.9)), 
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40') center/cover no-repeat;
    color: white;
}

.result-item.success {
    background: #d1fae5;
    border-left: 4px solid var(--secondary-color);
}

.result-label {
    font-size: 14px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.result-value {
    font-size: 32px;
    font-weight: 700;
}

.chart-wrapper {
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 12px;
}

.result-breakdown h4 {
    margin-bottom: 15px;
}

.breakdown-bar {
    display: flex;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
}

.breakdown-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.breakdown-segment.invested {
    background: var(--primary-color);
}

.breakdown-segment.returns {
    background: var(--secondary-color);
}

.placeholder-results {
    text-align: center;
    padding: 60px 20px;
}

.placeholder-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.placeholder-results h3 {
    margin-bottom: 15px;
}

.calculator-info {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
}

.calculator-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.calculator-info ul {
    margin: 20px 0;
    padding-left: 20px;
}

.calculator-info li {
    margin-bottom: 15px;
    color: var(--text-light);
}

.disclaimer-text {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    margin-top: 20px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    border: 1px solid #059669;
    color: #065f46;
}

.alert-warning {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
}

.alert-info {
    background-color: #dbeafe;
    border: 1px solid #3b82f6;
    color: #1e40af;
}

.btn-whatsapp {
    display: inline-block;
    background: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn-whatsapp:hover {
    background: #128c7e;
    color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 30px;
}

.contact-text h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.contact-text p, .contact-text a {
    color: var(--text-light);
    text-decoration: none;
}

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

.business-hours {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
}

.business-hours h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.business-hours p {
    margin-bottom: 8px;
    color: var(--text-light);
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
}

.form-note {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 15px;
}

.text-danger {
    color: #dc2626;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.map-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.map-note {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.9;
    font-size: 14px;
}

.sebi-reg {
    font-weight: 600;
    color: #60a5fa;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.disclaimer {
    font-size: 12px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }

    .navbar-nav.active {
        display: flex;
    }

    .navbar-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .calculator-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
