/* ==========================================================================
   HOME STYLES
   ========================================================================== */
/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:
        -apple-system, BlinkMacSystemFont, "SF Pro", "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ==========================================================================
   COMMON CONTAINER GRID (1920px Standard Alignment)
   ========================================================================== */
.hero-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 80px;
    padding-right: 80px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    background-image: url("../images/home/without\ mic\ 1\ \(1\).png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
}

.hero-container {
    width: 100%;
    max-width: 1368px; /* 1208px content area + 160px horizontal padding */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding-top: 167px;
    padding-bottom: 184px;
    padding-left: 80px;
    padding-right: 80px;
    box-sizing: border-box;
    position: relative;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    max-width: 611.53px;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 32px;
}

.hero-content p {
    max-width: 550px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.primary-btn,
.secondary-btn {
    padding: 12px 30px;
    border: 1px solid transparent;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #000;
    font-size: 16px;
    font-weight: 590;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.4s ease;
}

.primary-btn {
    background: #457405;
    border-color: #457405;
    color: #fff;
}

.primary-btn:hover {
    background: #5f8c20;
    transform: scale(1.04);
}

.secondary-btn {
    background: #fff;
}

.secondary-btn:hover {
    background: #c9c9c9;
    transform: scale(1.04);
}

.primary-btn img,
.secondary-btn img {
    width: 17px;
    height: 17px;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
    width: 100%;
    background: #ffffff;
    padding: 100px 80px;
}

.stats-grid {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    gap: 100px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.stat-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.stat-card .icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px 0 #00000040;
    transition: 0.4s ease;
}

.stat-card .icon:hover {
    transform: scale(1.1);
    background: #f1f1f1;
}

.stat-card .icon img {
    width: 32px;
}

.stat-card .stat-val {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    color: #000;
}

.stat-card p {
    width: 100%;
    max-width: 114px;
    font-size: 14px;
    font-weight: 510;
    line-height: 1.4;
    color: #555555;
}

/* ==========================================================================
   COURSES SECTION
   ========================================================================== */
.courses-section {
    width: 100%;
    max-width: 1444px;
    margin: 0 auto;
    background: #f9f9f9;
    box-shadow: 0 0 0 100vmax #f9f9f9;
    clip-path: inset(0 -100vmax);
    padding: 80px 80px;
}

.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 24px;
}

.section-heading p {
    font-size: 20px;
    font-weight: 510;
    line-height: 1;
    color: #555555;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.course-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 1px 4px 34px 0px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease;
}

.course-card img {
    width: calc(100% + 1px);
    display: block;
    aspect-ratio: 4/2;
    object-fit: cover;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-content {
    padding: 16px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 1px 4px 34px 0px #00000026;
}

.course-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.course-top span {
    color: #457405;
    font-size: 16px;
    font-weight: 510;
    line-height: 1;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 510;
    line-height: 1;
    flex-shrink: 0;
}

.rating img {
    width: 16px;
    height: 16px;
}

.rating::after {
    content: "5.0";
    color: #000;
}

.course-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.course-content h2 {
    font-size: 18px;
    font-weight: 590;
    line-height: 1;
    color: #000;
}

.course-content p {
    font-weight: 510;
    font-size: 16px;
    color: #555555;
    line-height: 1.4;
}

.course-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.course-footer span {
    font-size: 16px;
    font-weight: 510;
    line-height: 1;
    color: #000;
}

.course-footer a {
    color: #457405;
    font-size: 16px;
    font-weight: 510;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 590;
}

.course-footer a:hover {
    text-decoration: underline;
}

.course-footer a img {
    width: 24px;
}

.view-btn {
    text-align: center;
    margin-top: 48px;
}

.green-btn {
    padding: 14px 30px;
    border-radius: 6px;
    border: none;
    background: #457405;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 590;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.green-btn:hover {
    background: #5f8c20;
    transform: scale(1.02);
}

.green-btn span {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}
/* ==========================================================================
   WHY CHOOSE SECTION
   ========================================================================== */
.why-section {
    width: 100%;
    max-width: 1444px;
    margin: 0 auto;
    background: #fff;
    padding-left: 80px;
    padding-right: 80px;
}

.why-container {
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.why-image,
.why-content {
    flex: 1;
}

.why-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 40px 0 #00000040;
}

.why-content h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 24px;
}

.why-content p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #3a3a3a;
    margin-bottom: 30px;
}

.why-content ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.why-content ul li img {
    width: 24px;
    flex-shrink: 0;
}

.why-content ul li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #3a3a3a;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    width: 100%;
    max-width: 1444px;
    margin: 0 auto;
    background: #f9f9f9;
    box-shadow: 0 0 0 100vmax #f9f9f9;
    clip-path: inset(0 -100vmax);
    padding: 80px 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 24px;
}

.section-header p {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #3a3a3a;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.stars img {
    width: 18px;
    height: 18px;
}

.testimonial-card p {
    font-size: 16px;
    font-weight: 276;
    line-height: 1.7;
    font-style: italic;
    color: #000;
    margin-bottom: 24px;
}

.testimonial-card h4 {
    font-size: 16px;
    font-weight: 590;
    line-height: 1.5;
    margin-bottom: 4px;
    color: #000;
}

.testimonial-card span {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 274;
    color: #000000;
}

/* ==========================================================================
   ABOUT STYLES
   ========================================================================== */
/* HERO */
.about-hero {
    position: relative;
    background-color: #0b110c;
    background-image: url("../images/about/about-hero-copy.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 345px;
    padding: 85px 0;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    color: #ffffff;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

.about-hero-content h1 {
    color: #ffffff;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
}

.about-hero-content p {
    color: #ffffff;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 auto;
    max-width: 900px;
}

/* ==========================================================================
   MISSION VISION SECTION
   ========================================================================== */
.mission-vision-section {
    padding: 120px 0;
    background: #fff;
    width: 100%;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 128px;
    width: 100%;
    max-width: 1398px; /* 1238px content area + 160px horizontal padding */
    margin: 0 auto;
    padding-left: 80px;
    padding-right: 80px;
}

.mv-card {
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 26.9px 0 rgba(0, 0, 0, 0.15);
    background: #fff;
    border: 1px solid #eee;
}

.mv-card:hover {
    transform: translateY(-4px);
}

.mv-header {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

.mv-header h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: #457405;
}

.mv-content p {
    text-align: left;
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.6;
}

/* ==========================================================================
   ACHIEVEMENTS (STATS) SECTION
   ========================================================================== */
.achievements-section {
    padding: 100px 0;
    width: 100%;
    text-align: center;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.achievements-section h2,
.section-header h2,
.journey-text h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 8px;
}

.journey-text h2 {
    margin-bottom: 32px;
}
.achievements-section .subtitle,
.section-header p {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: #555555;
    margin-bottom: 36px;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.3;
    color: #457405;
}

.stat-label {
    font-size: 18px;
    font-weight: 400;
    color: #555555;
}

/* ==========================================================================
   CORE VALUES SECTION
   ========================================================================== */
.core-values-section {
    padding: 100px 0;
    width: 100%;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 40px;
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 80px;
    padding-right: 80px;
}

.value-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.value-card:hover {
    transform: translatey(-4px);
}

.value-icon-box {
    background-color: #45740533;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.value-card h3 {
    text-align: left;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
}

.value-card p {
    text-align: left;
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.7;
}

/* ==========================================================================
   JOURNEY SECTION
   ========================================================================== */
.journey-section {
    background: #f9f9f9;
    padding: 120px 0;
    width: 100%;
}

.journey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
    max-width: 1444px;
    margin: 0 auto;
    padding-left: 80px;
    padding-right: 80px;
}

.journey-text p {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1%;
    line-height: 1.7;
    color: #454343;
}

.f-p,
.s-p {
    margin-bottom: 32px;
}

.journey-image img {
    width: 100%;
    height: 402px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: block;
    object-fit: cover;
    transition:
        transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1),
        box-shadow 0.4s ease;
    transform-origin: center center;
}

/* ==========================================================================
    TIMELINE SECTION (FOR YOUR NEW HTML STRUCTURE)
   ========================================================================== */

.timeline-section {
    padding: 100px 0;
    width: 100%;
}

.timeline-container {
    max-width: 1444px;
    margin: 0 auto;
    padding: 0 80px;
}

/* Header Styling */
.timeline-header {
    text-align: center;
    margin-bottom: 40px;
}

.timeline-header h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.7;
    color: #000000;
    margin-bottom: 8px;
}

.timeline-header p {
    font-size: 20px;
    color: #555555;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 1%;
}

/* Timeline wrapper jo vertical line hold karega */
.timeline-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Har ek item ka desktop grid layout */
.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 60px;
    position: relative;
    z-index: 2;
}

/* Content Box Styling */
.timeline-card {
    background: #ffffff;
    padding: 18px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
}

.timeline-card:hover {
    transform: scale(1.02);
}

.timeline-card h3 {
    font-size: 20px;
    font-weight: 590;
    color: #000000;
    line-height: 1.7;
}

.timeline-card p {
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.7;
}

/* Left aur Right cards alignment control */
.card-left {
    text-align: right;
    grid-column: 1;
}

.card-right {
    text-align: left;
    grid-column: 3;
}

/* Center me aane waala Green Year Badge */
.timeline-badge {
    background-color: #3b6e0c;
    color: #ffffff;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(59, 110, 12, 0.6);
    grid-column: 2;
    z-index: 3;
}

/* ==========================================================================
   EXPERTS SECTION
   ========================================================================== */
.experts-section {
    padding: 100px 0;
    background: #f9f9f9;
    width: 100%;
}

.experts-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px;
}

.section-header {
    text-align: center;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.expert-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 1px 4px 34px 0 rgba(0, 0, 0, 0.15);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.expert-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: 0.4s ease-in-out;
}

.expert-img {
    width: 100%;
    height: 200px;
    /* crop to headshot area */
    background: #eee;
    overflow: hidden;
    /* ensure full-body photos are cropped */
    display: block;
}

.expert-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    /* shift up to focus on face */
    display: block;
}

.expert-info {
    padding: 16px 18px;
}

.expert-info h3 {
    font-size: 18px;
    font-weight: 590;
    line-height: 1.3;
    margin-bottom: 16px;
}

.designation {
    display: block;
    color: #457405;
    font-size: 14px;
    font-weight: 590;
    line-height: 1;
    margin-bottom: 14px;
}

.expert-info p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #555555;
}

.gray-placeholder {
    background: #ccc;
}

/* ==========================================================================
   JOIN OUR SUCCESS STORY CTA SECTION
   ========================================================================== */
.success-cta-section {
    padding: 80px 0;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.success-cta-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.success-cta-container h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin: 0 auto 24px auto;
    line-height: 1.3;
}

.success-cta-container p {
    font-size: 22px;
    font-weight: 400;
    color: #000000;
    max-width: 897px;
    margin: 0 0 32px 0;
    line-height: 1.5;
}

.cta-enroll-btn {
    background-color: #457405;
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cta-enroll-btn:hover {
    background-color: #5f8c20;
    transition: 0.4s ease;
    transform: scale(1.04);
}

.cta-arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.cta-enroll-btn:hover .cta-arrow-icon {
    transform: translateX(4px);
}

.courses-hero {
    position: relative;
    background-color: #0b110c;
    background-image: url("../images/courses/courses-hero.png");
    background-size: cover;
    background-position: center center; /* Image hamesha center zone me rahegi */
    background-repeat: no-repeat;

    /* SECTION HEIGHT: Screen size ke hisab se dynamically bada box dega */
    min-height: 345px;
    padding: 75px 0; /* Base padding zero taaki center alignment perfect ho */

    /* VERTICAL CENTER KA ABSOLUTE SAKHT ILAJ */
    display: grid !important;
    place-items: center !important; /* Isse content upar, neeche, left, right se dead center ho jata hai */
    align-content: center !important;

    text-align: center;
    color: #ffffff;
}

.courses-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.courses-hero-content {
    position: relative;
    z-index: 2;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto !important; /* Kisi bhi default offset ko clear karne ke liye */
}

.courses-hero-content h1 {
    color: #ffffff;
    font-size: 48px;
    line-height: 1.2;
    margin: 0 auto 24px auto !important; /* Default margins zero karke bottom gap manage kiya */
    font-weight: 780;
    max-width: 900px;
}

.courses-hero-content p {
    color: #ffffff;
    font-size: 22px;
    width: 100%;
    max-width: 850px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 auto !important; /* Paragraph ka margin perfect center lock karega */
    text-align: center;
}

/* ==========================================================================
   2. FEATURES SECTION (3 Columns Core Value Props)
   ========================================================================== */
.features-section {
    padding: 120px 0;
    background-color: #f9f9f9;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px auto;
    background-color: #45740533;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
}

.feature-icon img {
    width: 30px;
    height: 30px;
    filter: sepia(100%) saturate(300%) hue-rotate(80deg);
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 510;
    line-height: 1;
    color: #000000;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    color: #808088;
    font-weight: 510;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   3. CATALOG SECTION GRID (Flexbox Balance Layout - 5 Cards Centered)
   ========================================================================== */
.catalog-section {
    padding: 80px 0;
    background-color: #ffffff;
    width: 100%;
}

.catalog-grid {
    /* GRID KI JAGAH FLEX LAYOUT KIYA TAAKI 5 CARDS PERFECTLY CENTER HO JAYEIN */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px; /* Original gap 32px bilkul same hai */
    width: 100%;
    max-width: 1444px;
    margin: 0 auto;
    padding-left: 80px;
    padding-right: 80px;
}

.catalog-card {
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #dadada;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    flex: 0 0 400px;
    margin: 0; /* Box alignment margins reset */
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 14px 28px rgba(0, 0, 0, 0.12);
}

.catalog-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.18);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background-color: #eee;
}

.card-img-wrapper img {
    width: calc(100% + 1px);
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.card-body h3 {
    font-size: 18px;
    color: #000000;
    font-weight: 590;
    line-height: 1.2;
    margin-bottom: 18px;
}

.card-body .coming-soon {
    font-size: 24px;
    font-weight: 700;
}

.sub-tag {
    font-size: 14px;
    color: #457405;
    line-height: 1;
    font-weight: 590;
    margin-bottom: 16px;
    display: inline-block;
}

.desc {
    min-height: 70px;
    line-clamp: 3;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #555555;
    margin-bottom: 16px;
}

.meta-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid #dadada;
    padding: 0.75rem 0;
    margin-bottom: 8px;
    text-align: center;
}

.meta-box {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.meta-box strong {
    font-size: 14px;
    font-weight: 590;
    line-height: 1.5;
    color: #000000;
}

.meta-box span {
    font-size: 12px;
    font-weight: 510;
    line-height: 1.5;
    color: #555555;
}

.learning-points {
    margin-bottom: 16px;
    flex-grow: 1;
}

.learning-points h4 {
    font-size: 14px;
    font-weight: 590;
    line-height: 1;
    color: #457405;
    margin-bottom: 8px;
}

.learning-points ul {
    display: flex;
    flex-direction: column;
    padding-left: 25px;
}

.learning-points ul li {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9;
    color: #555555;
}

.card-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.current-price {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    line-height: 1;
}

.old-price {
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: #555555;
    text-decoration: line-through;
}

.enroll-btn {
    background-color: #457405;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 590;
    line-height: 1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
}

.enroll-btn:hover {
    background-color: #5f8c20;
    border-color: #5f8c20;
    transform: scale(1.04);
}

/* ==========================================================================
   4. LOCKED VARIANT (Crypto Mastery Card Configuration)
   ========================================================================== */
.locked-card {
    border-color: #e6eee6;
    opacity: 0.95;
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 70, 32, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.lock-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lock-icon-circle svg,
.lock-icon-circle img {
    color: #000000;
}

.text-center-locked {
    text-align: center;
    align-items: center;
    justify-content: center;
}

.coming-soon-badge {
    background-color: #457405;
    color: #ffffff;
    display: inline-block;
    padding: 10px;
    font-weight: 700;
    font-size: 20px;
    width: 100%;
    border-radius: 4px;
    margin-bottom: 30px;
}

/* ==========================================================================
   5. COUNSELOR CALL TO ACTION SECTION
   ========================================================================== */
.counselor-cta {
    padding: 100px 0;
    text-align: center;
    background-color: #f9f9f9;
    padding-left: 20px;
    padding-right: 20px;
}

.counselor-cta h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 24px;
}

.counselor-cta p {
    font-size: 22px;
    color: #000000;
    max-width: 890px;
    margin: 0 auto 2.25rem auto;
}

/* ==========================================================================
   6. GLOBAL RESPONSIVE MEDIA QUERIES (CLEANED & CENTERING VERIFIED)
   ========================================================================== */

/* --- LARGE SCREENS & LAPTOPS (1200px) --- */
/* --- TABLET DESKTOP TRANSLATION (1024px) --- */
/* --- SMALL TABLETS & PORTRAIT VIEWS (768px) --- */
/* --- MOBILE DEVICES (576px and down) --- */

/* ==========================================================================
   CONTACT STYLES
   ========================================================================== */
/* ==========================================================================
   1. HERO PROFILE SYSTEM
   ========================================================================== */
.contact-hero {
    position: relative;
    background-color: var(--black);
    background-image: url("../images/contact/contact-hero.jpg");
    background-size: cover;
    background-position: center;
    padding: 85px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 345px;
    color: var(--white);
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.contact-hero-content h1 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1%;
    margin-bottom: 24px;
}

.contact-hero-content p {
    color: #ffffff;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 auto;
}

/* ==========================================================================
   2. INFRASTRUCTURE INFORMATION CARDS
   ========================================================================== */
.info-cards-section {
    background: #f9f9f9;
    padding: 100px 0;
    width: 100%;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 10;
    margin: 0 auto;
    max-width: 1604px; /* 1444px content area + 160px horizontal padding */
    padding-left: 80px;
    padding-right: 80px;
    box-sizing: border-box;
}

.info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-4px);
}

.card-icon-frame {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.card-icon-frame img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Color palettes based on core mockups */
.icon-purple-bg {
    background-color: #774cb2;
}
.icon-green-bg {
    background-color: #4cb24e;
}
.icon-orange-bg {
    background-color: #b2554c;
}
.icon-teal-bg {
    background-color: #4cb2ae;
}

.info-card h3 {
    color: #000000;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
}

.info-card p {
    color: #555555;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

/* ==========================================================================
   3. TWO-COLUMN SPLIT CONTAINER WORKSPACE & FORM
   ========================================================================== */
.workspace-section {
    background: var(--light);
    width: 100%;
}

.workspace-split {
    display: flex;
    gap: 82px;
    align-items: flex-start;
    padding: 100px 80px;
    margin: 0 auto;
    max-width: 1444px;
    box-sizing: border-box;
}

/* ---- LEFT BLOCK: FORM WRAPPER (50%) ---- */
.form-wrapper-block {
    flex: 1;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    box-sizing: border-box;
}

.form-wrapper-block h2 {
    color: #000000;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.form-helper-desc {
    color: #555555;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.form-row-split {
    display: flex;
    gap: 50px;
}

.form-row-full {
    width: 100%;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.control-group label {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 1%;
    color: #000000;
    margin-bottom: 8px;
}

/* 1. INPUT AUR TEXTAREA KO VAISA HI RAKHEIN */
.control-group input,
.control-group textarea {
    padding: 12px 24px;
    border: 1px solid #555555;
    border-radius: 12px;
    font-size: 18px;
    background: #ffffff;
    color: var(--black);
    outline: none;
    transition: 0.2s;
    width: 100%;
    box-sizing: border-box;
}

/* 2. SELECT KO ALAG SE STYLISE KARIYE (TAAKI ARROW ALIGN HO SAKE) */
.control-group select {
    /* Baaki saari properties same rahegi */
    border: 1px solid #555555;
    border-radius: 12px;
    font-size: 18px;
    color: var(--black);
    outline: none;
    transition: 0.2s;
    width: 100%;
    box-sizing: border-box;

    /* PADDING UPDATE: Right side mein thodi zyada jagah chhodi arrow ke liye */
    padding: 12px 40px 12px 24px;

    /* DEFAULT ARROW KO HATAO */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* NAYA CLEAN ARROW BACKGROUND MEIN DAALO */
    background: #ffffff
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");

    /* ARROW POSITION: Right se 20px andar aur vertically perfect center */
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
    background-size: 16px; /* Arrow ka size */

    cursor: pointer;
}

/* 3. OPTION STYLING (SAME AS BEFORE) */
.control-group select option {
    font-size: 14px;
}

/* 4. FOCUS EFFECT (SAME AS BEFORE) */
.control-group input:focus,
.control-group select:focus,
.control-group textarea:focus {
    /* Select box ke focus par bhi background white hi rahe isliye isko simple rakha */
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(95, 143, 20, 0.1);
}
/* ---- RIGHT BLOCK: SIDEBAR WRAPPER (50%) ---- */
.sidebar-wrapper-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

.sidebar-image-holder {
    width: 100%;
    max-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.sidebar-image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-notice-card {
    padding: 24px;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
}

.sidebar-notice-card.card-blue-tint {
    background-color: #325ce81a;
}

.sidebar-notice-card.card-blue-tint:hover,
.sidebar-notice-card.card-yellow-tint:hover {
    transform: translateY(-3px);
}

.sidebar-notice-card.card-yellow-tint {
    background-color: #e3e8321a;
}

.card-blue-tint h3,
.card-yellow-tint h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 0;
    color: #000000;
    margin-bottom: 16px;
}

.sidebar-bullets {
    padding-left: 18px;
    list-style-type: disc;
    margin: 0;
}

.sidebar-bullets li {
    font-size: 18px;
    color: #605f5f;
    margin-bottom: 10px;
    line-height: 1.6;
}

.sidebar-bullets li::marker {
    color: #325ce8;
    font-size: 20px;
}

.card-yellow-tint p {
    font-size: 18px;
    color: #605f5f;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   4. INTERACTIVE MAP BLOCK
   ========================================================================== */
.map-frame-section {
    padding: 100px 0;
    background-color: #f9f9f9;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
}

.map-container h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 8px;
}

.map-address-text {
    font-size: 20px;
    font-weight: 400;
    color: #555555;
    max-width: 750px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.map-image-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 1px 4px 34px 0px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.map-image-wrapper:hover {
    cursor: pointer;
    transform: scale(1.02);
}

/* Map lazy load iframe styling */
.map-iframe-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e5e7eb;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-iframe-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 24px 32px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}
.map-iframe-overlay svg {
    width: 48px;
    height: 48px;
}

.map-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.05);
    display: block;
}

.map-interaction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.map-marker-pin {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.map-marker-pin img {
    width: 44px;
}

.map-interaction-overlay h3 {
    font-size: 24px;
    font-weight: 590;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 12px;
}

.map-interaction-overlay p {
    font-size: 16px;
    font-weight: 510;
    color: #ffffff;
    line-height: 1.5;
    letter-spacing: 1%;
    margin: 0;
}

/* ==========================================================================
   5. FAQ ACCORDION SECTION STYLING
   ========================================================================== */
.faq-accordion-section {
    padding: 100px 0;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.faq-accordion-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-accordion-section h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 8px;
    text-align: center;
}

.faq-accordion-section p {
    color: #555555;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 1%;
    text-align: center;
    margin-bottom: 64px;
}

.faq-accordion-stack {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

.faq-node {
    background: #ffffff;
    border: 1px solid var(--border, #eee);
    border-radius: 18px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    box-shadow: 0 3px 20px 0 rgba(0, 0, 0, 0.12);
}

.faq-node:hover {
    background: #ffffff;
    border-color: #e3e2e2;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.faq-node h4 {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    line-height: 1.4;
    margin: 0 0 12px 0;
    padding-right: 30px;
    transition: color 0.2s ease;
}

.faq-node p {
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.7;
    letter-spacing: 1%;
    text-align: left;
    margin: 0;
}

/* ==========================================================================
   6. GLOBAL RESPONSIVE MEDIA QUERIES (COMPACT & OPTIMIZED BREAKPOINTS)
   ========================================================================== */

/* --- TABLETS & MEDIUM SCREENS (1024px) --- */
/* --- SMALL TABLETS / PORTRAIT VIEW (768px) --- */
/* --- ULTRA MOBILE DEVISE RE-ALIGNMENT (600px & below) --- */
/* --- MOBILE DEVICES (576px & down) --- */

/* ==========================================================================
   LIBRARY STYLES
   ========================================================================== */
/* ==========================================================================
   1. HERO PARALLAX BANNER STYLING
   ========================================================================== */
.library-hero {
    position: relative;
    background-color: var(--black);
    background-image: url("../images/library/library-hero.png");
    background-size: cover;
    background-position: center;
    padding: 85px 0;
    text-align: center;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 345px;
}

.library-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.library-hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 0 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

.library-hero-content h1 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1%;
    margin-bottom: 24px;
}

.library-hero-content p {
    color: #ffffff;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 auto;
}

/* COMMON SECTION INTERNAL HEADINGS */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.section-title-wrapper h2 {
    color: #000000;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.section-title-wrapper p {
    color: #555555;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 1%;
    margin: 0 auto;
    max-width: 800px;
}

/* ==========================================================================
   2. USEFUL WEBSITES LINK HUB METRICS (4 COLUMNS)
   ========================================================================== */
.websites-hub-section {
    background: #f9f9f9;
    padding: 120px 0 60px 0;
    width: 100%;
}

.websites-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1680px; /* 1520px content area + 160px horizontal padding */
    margin: 0 auto;
    padding-left: 80px;
    padding-right: 80px;
    box-sizing: border-box;
}

.hub-column-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.hub-column-card:hover {
    transform: translateY(-3px);
}

.hub-column-card h3 {
    color: #000000;
    font-size: 24px;
    font-weight: 590;
    line-height: 1.4;
    letter-spacing: 1%;
    padding-bottom: 16px;
    margin: 0;
}

.hub-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.hub-links-list li a {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 1%;
    color: #000000;
    display: inline-flex;
    gap: 16px;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.hub-links-list li a:hover {
    transform: translate(2px, -2px);
    opacity: 1;
}

/* ==========================================================================
   2.5 DEMAT ACCOUNT BANNER
   ========================================================================== */
.demat-banner-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9eb 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 48px 64px;
    box-shadow: 0 10px 30px rgba(16, 25, 4, 0.03);
    gap: 60px;
    margin: 60px auto 0 auto;
    max-width: 1520px; /* Aligns with the 1520px content area of the grid */
    width: calc(100% - 160px);
    box-sizing: border-box;
}

.demat-content-col {
    flex: 1.2;
    text-align: left;
}

.demat-tagline {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #457405;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.demat-content-col h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px 0;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.demat-subtitle {
    font-size: 18px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 28px 0;
    max-width: 580px;
}

.demat-cta-wrapper {
    margin-bottom: 28px;
}

.demat-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #457405;
    border: 1px solid #457405;
    color: #ffffff !important;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 590;
    line-height: 1;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.demat-btn:hover {
    background-color: #5f8c20;
    border-color: #5f8c20;
    transform: scale(1.04);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.demat-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.demat-features {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.demat-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #475569;
    font-weight: 590;
}

.demat-feature-item svg.check-icon {
    width: 20px;
    height: 20px;
    color: #457405;
}

/* Graphic column */
.demat-graphic-col {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

/* Live Market Widget */
.market-widget-card {
    width: 100%;
    max-width: 340px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    padding: 24px;
    box-sizing: border-box;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.widget-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.widget-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #22c55e;
    background: #f0fdf4;
    padding: 2px 8px;
    border-radius: 12px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.widget-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.index-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.index-info {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}

.index-name {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 2px;
}

.index-val {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.sparkline-svg {
    width: 70px;
    height: 24px;
    overflow: visible;
}

.index-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    min-width: 60px;
    text-align: center;
}

.index-badge.up {
    background: #f0fdf4;
    color: #16a34a;
}

.index-badge.down {
    background: #fef2f2;
    color: #dc2626;
}

/* Responsive styling */
@media (max-width: 992px) {
    .demat-banner-card {
        padding: 40px;
        gap: 40px;
    }
    .demat-content-col h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .demat-banner-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 32px;
    }
    .demat-content-col {
        text-align: center;
    }
    .demat-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .demat-features {
        justify-content: center;
        gap: 16px 24px;
    }
    .demat-graphic-col {
        width: 100%;
    }
    .market-widget-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .demat-banner-card {
        padding: 24px 16px;
        gap: 24px;
    }
    .demat-content-col h2 {
        font-size: 24px;
    }
    .demat-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .demat-features {
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }
    .demat-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
    .market-widget-card {
        padding: 16px;
    }
    .index-row {
        gap: 8px;
    }
    .sparkline-svg {
        width: 50px;
    }
    .index-badge {
        font-size: 11px;
        padding: 3px 6px;
        min-width: 50px;
    }
}

/* ==========================================================================
   3. CANDLESTICK PATTERNS DICTIONARY
   ========================================================================== */
.dictionary-section {
    padding: 60px 0 80px 0;
    width: 100%;
    box-sizing: border-box;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.dictionary-section .container {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}

.dictionary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    width: 100%;
    margin-bottom: 100px;
}

.candle-card {
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    box-sizing: border-box;
}

.candle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #d1d1d1;
}

.candle-card .pattern-name {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    line-height: 1.4;
    letter-spacing: 1%;
    min-height: 48px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #d9d9d9;
    padding: 10px;
    box-sizing: border-box;
}

/* BASE WRAPPER FOR 1 OR 3 IMAGES (UNTOUCHED) */
.candle-icon-wrapper {
    background-color: #ffffff;
    height: 165px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 25px;
    position: relative;
}

.candle-icon-wrapper img {
    height: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.candle-icon-wrapper img:nth-child(2) {
    order: 1;
    margin: 0 !important;
}

.candle-icon-wrapper img:nth-child(1) {
    position: absolute !important;
    top: 22px;
    left: 50%;
    transform: translateX(-50%) !important;
    order: 2;
}

.candle-icon-wrapper img:nth-child(3) {
    order: 3;
    margin: 0 !important;
}

/* ==========================================================================
    NEW NEW CLASS: ONLY FOR 2 IMAGES CARDS (PERFECT FLEX ALIGNMENT)
   ========================================================================== */
.candle-icon-wrapper.two-icons {
    display: flex !important;
    flex-direction: row !important;

    /* --- YEH DONO LINES SABSE IMPORTANT HAIN --- */
    justify-content: center !important; /* Horizontally center karega */
    align-items: center !important; /* Vertically ekdum beech mein laayega */

    gap: 12px !important; /* Dono images ke beech ka gap */
    width: 100%;
    box-sizing: border-box;
}

/* Two icons ke andar absolute positions ko reset karne ke liye */
.candle-icon-wrapper.two-icons img:nth-child(1) {
    position: static !important;
    transform: none !important;
    order: unset !important;
}
.candle-icon-wrapper.two-icons img:nth-child(2) {
    order: unset !important;
}

/* VERTICAL INVERT CONFIG FOR 3 IMAGES (UNTOUCHED) */
.candle-icon-wrapper.invert-pattern-vertical {
    align-items: center;
}

.candle-icon-wrapper.invert-pattern-vertical img {
    transform: scaleY(-1);
}

.candle-icon-wrapper.invert-pattern-vertical img:nth-child(1) {
    top: auto !important;
    bottom: 22px !important;
    transform: translateX(-50%) scaleY(-1) !important;
}

.candle-icon-wrapper.invert-pattern-vertical img:nth-child(2),
.candle-icon-wrapper.invert-pattern-vertical img:nth-child(3) {
    margin: 0 !important;
}

/* INVERT PATTERN SPECIFICALLY FOR 2 ICONS */
.candle-icon-wrapper.two-icons.invert-pattern-vertical {
    align-items: flex-start !important;
}
.candle-icon-wrapper.two-icons.invert-pattern-vertical img {
    transform: scaleY(-1) !important;
}

.library-disclaimer-wrapper p {
    max-width: 1378px;
    margin: 0 auto;
    font-size: 20px;
    color: #555555;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 1%;
    text-align: center;
}

/* Isse 'Disclaimer:' apni alag line le lega aur baaki text niche aa jayega */
.disclaimer-title {
    display: block;
    text-align: center;
    margin-bottom: 5px; /* Dono line ke beech thoda gap dene ke liye */
}

/* ==========================================================================
   4. GLOBAL RESPONSIVE MEDIA QUERIES (COMPACT SYSTEM)
   ========================================================================== */

/* --- LAPTOP SCREEN CALIBRATION (1200px) --- */
/* --- SMALL LAPTOPS & TABLETS LANDSCAPE (1024px) --- */
/* --- PORTRAIT TABLETS (768px) --- */
/* --- MOBILE LANDSCAPE & PHONES (480px & down) --- */

/* ==========================================================================
   5. TESTIMONIAL SLIDER & CAROUSEL LAYOUT
   ========================================================================== */
.testimonial-slider-container {
    position: relative;
    width: 100%;
    margin-top: 40px;
}
.testimonial-slider-track-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 10px 5px;
}
.testimonial-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    cursor: pointer;
}
.testimonial-slider-track:active {
    cursor: pointer;
}
.testimonial-slide {
    flex: 0 0 calc(33.333% - 20px);
    box-sizing: border-box;
}

/* Control Buttons */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}
.slider-control-btn {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #457405;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.slider-control-btn:hover {
    background-color: #457405;
    color: #ffffff;
    border-color: #457405;
    transform: scale(1.05);
}

/* Dots Indicators */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.slider-dot.active {
    background-color: #457405;
}

/* Slider Responsive Styles */
@media (max-width: 992px) {
    .testimonial-slide {
        flex: 0 0 calc(50% - 15px);
    }
}
@media (max-width: 576px) {
    .testimonial-slide {
        flex: 0 0 100%;
    }
}
