/* Home Page Styles */
.hero-banner {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    background-color: #0d1b2a; 
    background-image: url('/wp-content/uploads/2023/08/stock-market-6693060-scaled.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 45, 0.7); /* Dark blue overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    border: 2px solid transparent;
}

.btn-hero-blue {
    background-color: #1e3a8a; /* Dark blue */
    color: #fceb5d; /* Yellow text */
}

.btn-hero-blue:hover {
    background-color: #172554;
    transform: translateY(-2px);
}

.btn-hero-yellow {
    background-color: #fceb5d; /* Yellow */
    color: #1e3a8a; /* Blue text */
}

.btn-hero-yellow:hover {
    background-color: #eab308;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 24px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .btn-hero {
      
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Services Section */
.services-section {
    position: relative;
    padding: 80px 20px;
    background-color: #f8fafc; /* very light gray/blue background */
    overflow: hidden;
}

.services-decoration-top-left {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 80px;
    height: 80px;
    background-image: url('https://drishtishares.com/wp-content/uploads/2020/09/Path-2298.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.services-badge {
    display: inline-block;
    background-color: #fceb5d; /* Yellow */
    color: #1e3a8a; /* Dark blue */
    padding: 6px 24px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.services-title {
    color: #1e3a8a; /* Dark blue */
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    font-family: "Georgia", "Times New Roman", serif;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: #ffffff;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 280px;
}

/* The dotted pattern on hover */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.2) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* Hover State */
.service-card:hover {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-yellow-shape {
    position: absolute;
    top: 60px;
    left: 20px;
    width: 80px;
    height: 80px;
    background-color: #fceb5d; /* Yellow */
    border-top-right-radius: 80px;
    z-index: 2;
    transition: all 0.4s ease;
}

.service-image {
    position: relative;
    z-index: 3;
    margin-top: 40px;
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-name {
    position: relative;
    z-index: 3;
    color: #1e3a8a;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    transition: color 0.4s ease;
}

.service-card:hover .service-name {
    color: #ffffff;
}

/* Why Choose Us Section */
.why-choose-section {
    position: relative;
    padding: 80px 20px;
    background-color: #f4f6f8; /* Very light grey */
    overflow: hidden;
}

.why-choose-decoration-top-right {
    position: absolute;
    top: 30px;
    right: 60px;
    width: 60px;
    height: 60px;
    background-image: url('https://drishtishares.com/wp-content/uploads/2020/09/Path-2301.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose-badge {
    display: inline-block;
    background-color: #fceb5d; /* Yellow */
    color: #1e3a8a; /* Dark blue */
    padding: 6px 20px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.why-choose-title {
    color: #1e3a8a; /* Dark blue */
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    font-family: "Georgia", "Times New Roman", serif; /* Matches screenshot */
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: end;
}

.why-choose-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.why-choose-img {
    max-height: 90px;
    max-width: 100%;
    margin-bottom: 20px;
    object-fit: contain;
}

.why-choose-photo {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.why-choose-text {
    color: #4b5563; /* Dark gray */
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* Risk Disclosure Popup */
.risk-popup-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.risk-popup-content {
    background-color: #2175b9;
    color: white;
    width: 90%;
    max-width: 900px;
    border-radius: 4px;
    padding: 30px;
    position: relative;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.risk-popup-title {
    color: #f9ea42;
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 20px;
}

.risk-popup-subtitle {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.risk-popup-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.risk-popup-list li {
    margin-bottom: 15px;
}

.risk-popup-source-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 5px;
}

.risk-popup-source-text {
    font-size: 13px;
    line-height: 1.5;
}

.risk-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #4b5563;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.risk-close-btn:hover {
    background-color: #374151;
}
