@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');

/* --- Core Reset & Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7030A0;
    --primary-dark: #602C86;
    --primary-hover: #5a22a1;
    --primary-light: #F4EAFE;
    --primary-bg-hover: #bb97e2;
    --text-dark: #222222;
    --text-muted: #666666;
    --text-light: #ffffff;
    --bg-header: #FBFCF6;
    --border-color: #dddddd;
    --max-width: 1440px;
    --bg-banner-tint: #F6F0FE;
    --bg-card-tint: #FBFCF6;
    --brand-purple: #6C2EB9;
    --brand-purple-light: #F4EAFE;
    --color-text-title: #111111;
    --color-text-paragraph: #444444;
    --premium-box-shadow: 0 20px 50px rgba(108, 46, 185, 0.2);
    
}

body {
    font-family: 'Poppins', sans-serif !important;
    overflow-x: hidden;
    background-color: #ffffff;
}

/* --- Reusable Global UI Elements --- */
.join-btn,
.demo-btn {
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.join-btn {
    background: var(--primary-dark);
    color: var(--text-light) !important;
    border-radius: 10px;
    padding: 10px 24px;
    font-size: 15px;
}

.join-btn:hover {
    background: var(--primary-bg-hover) !important;
    transform: translateY(-1px);
}

/* --- Desktop Header Section --- */
.top-header {
    width: 100%;
    background-color: var(--bg-header);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-container {
    max-width: var(--max-width);
    padding: 16px 30px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-section img {
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

.contact-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 20px;
    border-left: 1px solid var(--border-color);
}

.contact-box:first-child {
    border-left: none;
    padding-left: 0;
}

.icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
    flex-shrink: 0;
}

.icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.contact-text h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1px;
}

.contact-text p {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

/* --- Navbar Container Layout --- */
.navbar {
    width: 100%;
    background: var(--text-light);
    padding: 14px 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 100;
}

.nav-container {
    max-width: var(--max-width);
    margin: auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Mobile specific logo hidden by default on desktop */
.navbar .mobile-only-logo {
    display: none;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    background-color: var(--primary-dark);
    color: var(--text-light) !important;
}

.nav-link i {
    font-size: 11px;
    transform: translateY(-1px);
}

/* Desktop Dropdown Submenus */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: 240px;
    background: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 110;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

.dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-right .login-nav-btn {
    background: transparent;
    border: 1px solid var(--primary-dark);
    color: var(--primary-dark) !important;
}

.nav-right .login-nav-btn:hover {
    background: var(--primary-dark) !important;
    color: var(--text-light) !important;
}

/* Hamburger Trigger Component (Hidden on Desktop default) */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-dark);
    background: none;
    border: none;
    outline: none;
}

.mobile-menu {
    display: none;
}

/* --- Hero Slider Layout --- */
.hero-section {
    width: 100%;
    background: #fbfbfb;
}

.slider {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    background: #222;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 60px;
    top: 245px;
    transform: translateY(-50%);
    max-width: 650px;
    color: var(--text-light);
    z-index: 3;
}

.hero-content h1,
.hero-content h2 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero-content h1 {
    margin-bottom: 4px;
}

.hero-content h2 {
    color: #B46CFF;
    margin-bottom: 22px;
}

.hero-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-buttons .hero-join-btn {
    background: var(--primary-color);
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 12px;
    color: var(--text-light);
}

.hero-buttons .hero-join-btn:hover {
    background: var(--primary-hover) !important;
}

.demo-btn {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 16px;
}

.demo-btn:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

.dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: -35px;
    position: relative;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--text-light);
    width: 24px;
    border-radius: 4px;
}

/* --- About Component Core Variables Configuration --- */

/* Base Wrapper Containment Setup */
.tg-about-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 24px;
    position: relative;
    background-color: #ffffff;
}

/* --- Layout Background Geometric Visual Accents --- */
.tg-bg-decor-dots {
    position: absolute;
    left: -10px;
    top: 35%;
    width: 60px;
    height: 90px;
    background-image: radial-gradient(rgba(108, 46, 185, 0.15) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    z-index: 0;
    pointer-events: none;
}

.tg-bg-decor-ring {
    position: absolute;
    right: -30px;
    bottom: 5%;
    width: 260px;
    height: 260px;
    border: 35px solid #F7F3FD;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

/* --- Top Main Banner Card Layout Structure --- */
.tg-about-banner-card {
    background-color: var(--bg-banner-tint);
    border-radius: 28px;
    padding: 45px 55px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: var(--premium-box-shadow);
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.tg-about-logo {
    flex-shrink: 0;
}

.tg-logo-circle {
    width: 110px;
    height: 110px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(108, 46, 185, 0.08);
    border: 1px solid rgba(108, 46, 185, 0.1);
}

.tg-logo-circle img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.tg-about-content {
    flex: 1;
}

.tg-about-content h5 {
    color: var(--brand-purple);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.8px;
    margin-bottom: 8px;
}

.tg-about-content h2 {
    color: var(--color-text-title);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.tg-about-content p {
    color: var(--color-text-paragraph);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Bottom Cards Layout Framework --- */
.tg-vp-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tg-info-card {
    background-color: var(--bg-card-tint);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--premium-box-shadow);
    border-bottom: 4px solid var(--brand-purple);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.tg-info-icon {
    width: 100px;
    height: 100px;
    background-color: var(--brand-purple-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.tg-info-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.tg-info-card h3 {
    color: var(--brand-purple);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

/* Precise Accent Underline from Image Mockup */
.tg-accent-underline-bar {
    display: block;
    width: 45px;
    height: 2.5px;
    background-color: var(--brand-purple);
    margin-bottom: 20px;
    border-radius: 2px;
}

.tg-info-card p {
    color: var(--color-text-paragraph);
    font-size: 14.5px;
    line-height: 1.65;
}

.tg-spectrum-section {
    max-width: var(--max-width);
    margin: 80px auto;
    padding: 0 24px;
    background-color: var(--text-light);
}

/* --- Section Title Formatting --- */
.tg-heading {
    text-align: center;
    margin-bottom: 60px;
}

.tg-heading h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-title);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.tg-heading-line {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 18px auto;
    border-radius: 2px;
}

.tg-heading p {
    font-size: 15px;
    color: var(--color-text-paragraph);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}

/* --- Main Layout Grid (Enforces Balanced Card Symmetries) --- */
.tg-main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 55px;
}

/* --- Dynamic Card Layout Overrides --- */
.tg-card {
    background-color: var(--text-light);
    border-radius: 20px;
    box-shadow: var(--premium-box-shadow);
    overflow: hidden;
    flex: 1;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-self: stretch; /* Forces equal heights automatically across the row view */
    border-top: 4px solid var(--primary-color);
}

.tg-card-header {
    background-color: var(--bg-banner-tint);
    padding: 20px 35px; /* Reduced top/bottom padding from 35px to 20px */
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 100px; /* Reduced min-height to match the compact padding */
}
.tg-card-icon {
    width: 68px;
    height: 68px;
    background-color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(108, 46, 185, 0.05);
    flex-shrink: 0;
}

.tg-card-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.tg-card-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.25;
}

.tg-card-body {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    flex: 1; /* Maximizes internal box stretch layout behavior */
    background-color: var(--text-light);
}

/* --- Internal List Element Nodes --- */
.tg-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 0; /* Reduced top/bottom padding from 24px to 12px for a tighter layout */
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.tg-card-body .tg-item:last-child {
    border-bottom: none;
}

.tg-item-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tg-item-icon-wrapper img {
    width: 32px;  /* Increased from 20px to 24px for a proper bold look */
    height: 32px; /* Increased from 20px to 24px */
    object-fit: contain;
}

.tg-item span {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

/* --- Vector Connecting Ring Arrow Component --- */
.tg-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 5;
}

.tg-arrow-circle {
    width: 75px;
    height: 75px;
    border: 1px solid rgba(112, 48, 160, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text-light);
    padding: 4px;
}

.tg-arrow-inner {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(112, 48, 160, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    background: var(--text-light);
}

/* --- Section Bottom Typography Banner --- */
.tg-bottom-text {
    text-align: center;
    margin-top: 45px;
}

.tg-bottom-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 1.2px;
}

.tg-research-section {
    width: 100%;
    background-color: var(--text-light);
    padding: 0px 24px;
    position: relative;
    overflow: hidden;
}

.tg-research-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px; /* Compact gap keeping elements bound closely together */
}

/* --- Top Centered Badge Area --- */
.tg-research-badge-header {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

.tg-approach-tag {
    display: inline-block;
    color: var(--primary-color);
    background-color: var(--primary-light);
    border: 1px solid rgba(112, 48, 160, 0.2);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    padding: 6px 20px;
    border-radius: 50px;
    text-transform: uppercase;
}

/* --- Side-by-Side Flex Content Layout --- */
.tg-research-split-body {
    display: flex;
    align-items: center; /* Centers the left text column perfectly vertically against the video box */
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

/* Left Content Column Construction */
.tg-research-text-box {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Secondary internal layout center guarantee */
}

.tg-research-text-box h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text-title);
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 4px;
}

.tg-research-text-box h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 24px;
}

.tg-research-text-box p {
    font-size: 16px;
    color: var(--color-text-paragraph);
    line-height: 1.7;
    font-weight: 400;
}

/* Right Video Column Wrapper */
.tg-research-video-box {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 620px;
    width: 100%;
}

.tg-research-video-wrapper {
    position: relative;
    width: 100%;
    background-color: var(--text-light);
    border-radius: 20px;
    box-shadow: var(--premium-box-shadow);
    padding: 8px;
    border: 1px solid rgba(112, 48, 160, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.tg-video-card-glow {
    position: absolute;
    inset: -8px;
    background: radial-gradient(circle, rgba(112, 48, 160, 0.04) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    border-radius: 28px;
}

.tg-research-video-frame {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 14px;
    position: relative;
    z-index: 1;
}
/* --- SECTION: WHY CHOOSE US --- */
.choose-section {
    width: 100%;
    padding: 30px 35px;
    background: #f8f8ff;
    margin-top: 25px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.title-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--brand-purple, #6C2EB9), #B46CFF);
    margin: auto;
    border-radius: 30px;
}

.choose-container {
    max-width: var(--max-width);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.choose-card {
    background: var(--text-light);
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.choose-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--brand-purple, #6C2EB9), #B46CFF);
}

.choose-card:hover {
    transform: translateY(-8px);
    border-color: #B46CFF;
    box-shadow: var(--premium-box-shadow);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #F5EEFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(108,46,185,0.08);
    flex-shrink: 0;
}

.card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.choose-card:hover .card-icon img {
    transform: scale(1.12) rotate(5deg);
}

.choose-card h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
}

.card-line {
    width: 45px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-dark), #B46CFF);
    border-radius: 20px;
    margin-bottom: 16px;
}

.choose-card p {
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.65;
    color: #555555;
}

/* --- SECTION: APPROACH BOX BANNER --- */
.feature-banner {
    width: 100%;
    /* Added fixed max-width restriction on desktop so it doesn't stretch infinitely */
    max-width: 1200px; 
    
    /* Center aligns the banner horizontally on the page and gives spacious margins from other sections */
    margin: 50px auto; 
    
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 28px 45px;
    
    display: flex;
    align-items: center;
    /* Centers the entire content inner block on desktop */
    justify-content: center; 
    gap: 30px;
    
    position: relative;
    overflow: hidden;
}

.banner-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.banner-text {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    
    /* Clean text centering constraint */
    text-align: center; 
    max-width: 850px; 
    
    position: relative;
    z-index: 2;
    letter-spacing: 0.1px;
}

/* --- BACKGROUND DECORATIVE PATTERNS --- */
.banner-dots {
    position: absolute;
    width: 50px;
    height: 50px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 8px 8px;
    z-index: 1;
    pointer-events: none;
}

.left-dots { 
    top: 12px; 
    left: 12px; 
}

.right-dots { 
    bottom: 12px; 
    right: 12px; 
}

.banner-circle {
    position: absolute;
    right: -25px;
    top: -25px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 16px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
    pointer-events: none;
}

/* --- SECTION: WHAT TO EXPECT --- */
.expect-section {
    width: 100%;
    padding: 60px 24px;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.dot-pattern {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background-image: radial-gradient(#c99cff 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0.6;
}

.expect-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.expect-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.expect-title h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.expect-title .title-line {
    width: 70px;
}

.expect-container {
    max-width: var(--max-width);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.expect-card {
    background: var(--text-light);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    position: relative;
}

.expect-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--premium-box-shadow);
}

.left-side {
    width: 25%;
    background: #F3ECFF;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.4s ease;
}

/* Desktop half-circle curve effect */
.left-side::before {
    content: "";
    position: absolute;
    top: 0;
    right: -30px;
    width: 60px;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    z-index: 1;
}

.expect-card:hover .left-side {
    background: var(--primary-color);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(108,46,185,0.06);
}

.icon-box img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.expect-card:hover .icon-box img {
    transform: scale(1.1) rotate(5deg);
}

.right-side {
    width: 75%;
    padding: 30px 35px 30px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.right-side h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.small-line {
    width: 40px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 20px;
    margin-bottom: 14px;
}

.right-side p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #555555;
}
/* --- SECTION: MASTER THE ENGLISH LANGUAGE --- */
.english-hub-section {
    width: 100%;
    padding: 60px 24px;
    background: #fbfbfb;
    position: relative;
    overflow: hidden;
}

/* BACKGROUND ACCENTS */
.english-hub-dots {
    position: absolute;
    top: 30px;
    left: 40px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(#d1a9ff 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.6;
    pointer-events: none;
}

.english-hub-circle {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 240px;
    height: 240px;
    border: 28px solid #f2e8ff;
    border-radius: 50%;
    opacity: 0.7;
    pointer-events: none;
}

/* TOP BADGE TABS */
.english-hub-tag {
    width: fit-content;
    margin: 0 auto 24px auto;
    padding: 6px 20px;
    border: 1.5px solid var(--primary-dark);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-dark);
    text-align: center;
}

/* HEADER BLOCK */
.english-hub-title {
    text-align: center;
    max-width: 820px;
    margin: auto;
}

.english-hub-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-title, #111111);
    margin-bottom: 12px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.english-hub-title span {
    color: var(--primary-dark);
}

.english-hub-line {
    width: 70px;
    height: 4px;
    background: var(--primary-dark);
    border-radius: 20px;
    margin: 0 auto 20px auto;
}

.english-hub-title p {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text-paragraph, #444444);
    line-height: 1.65;
}

/* SUBTITLE SEPARATOR ROW */
.english-hub-explore {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 50px 0 40px 0;
}

.english-hub-explore h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-title, #111111);
    white-space: nowrap;
}

.english-hub-side-line {
    width: 140px;
    height: 2px;
    background: #ead7ff;
    flex-shrink: 1;
}

/* FLUID SYSTEM CARDS GRID CONTAINER */
.english-hub-container {
    max-width: var(--max-width);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* INTERACTIVE CARD INTERIORS */
.english-hub-card {
    background: var(--text-light, #ffffff);
    border-radius: 20px;
    padding: 28px 24px;
    min-height: 250px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.english-hub-card:hover {
    transform: translateY(-8px);
    border-color: #d7b7ff;
    box-shadow: var(--premium-box-shadow);
}

.english-hub-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.english-hub-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f5edff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.english-hub-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.english-hub-card:hover .english-hub-icon {
    background: #d9c4f5;
}

.english-hub-card:hover .english-hub-icon img {
    transform: scale(1.12) rotate(5deg);
}

.english-hub-top h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color, #6C2EB9);
    line-height: 1.25;
}

.english-hub-small-line {
    width: 45px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 20px;
    margin-bottom: 16px;
}

/* ROW ITEM LISTS */
.english-hub-card ul {
    padding-left: 16px;
    list-style-type: disc;
}

.english-hub-card ul li {
    font-size: 14px;
    font-weight: 400;
    color: #555555;
    margin-bottom: 8px;
    line-height: 1.5;
}

.english-hub-card ul li:last-child {
    margin-bottom: 0;
}

/* BACKGROUND DECORATIVE BOTTOM OVERLAYS */
.english-hub-corner {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    object-fit: contain;
    opacity: 0.9;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.english-hub-card:hover .english-hub-corner {
    transform: scale(1.1) rotate(-8deg);
    opacity: 1;
}

/* CORNER GRAPHIC OVERLAY SAFETY WAVE FOR CARD 8 */
.english-hub-speaking {
    position: relative;
    z-index: 2;
}

.english-hub-speaking::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: #efe0ff;
    border-radius: 100% 100% 0 0;
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
    transition: background-color 0.3s ease;
}

.english-hub-speaking:hover::before {
    background: #e5ceff;
}

/* Note: Inherits and supports your global :root custom variables perfectly */

/* ==========================================================================
   ABOUT TEAM SECTION
   ========================================================================== */
.visionary-team-section {
    width: 100%;
    padding: 60px 24px; /* Balanced spacing vertical layout blocks */
    background: #f9f9f9;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* TAG BADGE LABEL */
.visionary-team-tag {
    width: fit-content;
    height: auto;
    margin: 0 auto 24px auto;
    padding: 8px 22px;
    border: 1px solid #602C86;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #602C86;
    background: #ffffff;
    letter-spacing: 0.5px;
}

/* MAIN SECTION HEADING */
.visionary-team-heading {
    text-align: center;
    max-width: 700px;
    margin: auto;
}

.visionary-team-heading h2 {
    font-size: 36px; /* Optimized down from 40px for clean screen proportion */
    font-weight: 600;
    color: #111111;
    margin-bottom: 12px;
}

.visionary-team-line {
    width: 80px;
    height: 4px;
    background: #6d28d9;
    border-radius: 20px;
    margin: 0 auto 18px auto;
}

.visionary-team-heading p {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
}

/* CARDS WRAPPER GRID */
.visionary-team-wrapper {
    max-width: 1100px; /* Reduced from 1400px to make desktop cards look beautifully small and compact */
    margin: 50px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

/* REFINED PROFILE CARD BLOCK */
.visionary-profile-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 35px 30px; /* Compact internal card balance dimensions */
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
    border-bottom: 5px solid #6d28d9;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.visionary-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--premium-box-shadow, 0 20px 50px rgba(108, 46, 185, 0.15));
}

.visionary-profile-top {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 25px;
}

/* COMPACT PROFILE ROUND AVATAR IMAGES */
.visionary-image-wrap {
    width: 130px; /* Reduced avatar dimensions from 160px for a refined desktop look */
    height: 130px;
    border-radius: 50%;
    border: 3px solid #b88cff;
    padding: 4px;
    background: #ffffff;
    flex-shrink: 0;
    position: relative;
}

.visionary-image-glow {
    animation: visionaryFloat 4s ease-in-out infinite;
}

.visionary-image-glow::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #97929b, #85828a, #f3e8ff);
    z-index: -1;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.4s ease;
}

.visionary-profile-card:hover .visionary-image-glow::before {
    opacity: 0.6;
}

.visionary-image-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.visionary-profile-card:hover .visionary-image-wrap img {
    transform: scale(1.06) rotate(1deg);
}

/* TEXT CONTENT */
.visionary-profile-content {
    flex: 1;
}

.visionary-profile-content h3 {
    font-size: 24px; /* Reduced from 32px to look elegant */
    font-weight: 600;
    color: #111111;
    margin-bottom: 8px;
}

.visionary-small-line {
    width: 45px;
    height: 3px;
    background: #602C86;
    border-radius: 20px;
    margin-bottom: 12px;
}

.visionary-profile-content h4 {
    font-size: 14px; /* Balanced title scales */
    line-height: 1.4;
    color: #602C86;
    font-weight: 600;
}

/* DESCRIPTION ROW CONTENT */
.visionary-profile-bottom {
    display: flex;
    align-items: flex-start;
    flex: 1;
}

.visionary-description p {
    font-size: 14.5px;
    font-weight: 400;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.visionary-description p:last-child {
    margin-bottom: 0;
}

/* KEYFRAME RENDERS */
@keyframes visionaryFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}


/* ==========================================================================
   FOOTER STYLE DEFINITIONS
   ========================================================================== */
.tg-footer {
    width: 100%;
    margin: 40px auto 0 auto;
    overflow: hidden;
    position: relative;
    background-color: #fbfbfb;
}

.tg-footer-top {
    background: #f4eef8;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    gap: 40px;
    padding: 50px 40px;
    position: relative;
}

.tg-footer-top::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    right: -80px;
    top: 20px;
    border: 30px solid rgba(155, 89, 182, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.tg-footer-col {
    position: relative;
}

.tg-footer-col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10px;
    right: -20px;
    width: 1px;
    height: calc(100% - 20px);
    border-right: 1px dashed #cdb7df;
}

.tg-logo-box {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.tg-logo-box .logo-section img {
    max-width: 140px;
    height: auto;
    object-fit: contain;
}

.tg-brand-description {
    font-size: 14px;
    color: #4d4d4d;
    line-height: 1.65;
    max-width: 260px;
}

.tg-footer-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.tg-heading-icon {
    width: 44px; /* Standardized icon badge sizes beautifully */
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #b98fd9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7d3cb5;
    font-size: 15px;
    flex-shrink: 0;
}

.tg-footer-heading h3 {
    font-size: 16px;
    color: #222222;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.tg-footer-heading span {
    display: block;
    width: 35px;
    height: 3px;
    margin-top: 4px;
    background: #7d3cb5;
    border-radius: 20px;
}

/* LIST METRICS */
.tg-footer-links, .tg-contact-info {
    list-style: none;
}

.tg-footer-links li, .tg-contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #602C86;
    font-size: 14.5px;
}

.tg-footer-links li i, .tg-contact-info li i {
    font-size: 15px;
    width: 20px;
    text-align: center;
}

.tg-contact-info li {
    color: #444444;
}

.tg-footer-links li a {
    text-decoration: none;
    color: #444444;
    transition: all 0.3s ease;
}

.tg-footer-links li a:hover {
    color: #7d3cb5;
    transform: translateX(4px);
}

/* ICON PLATFORMS */
.tg-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.tg-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    transition: transform 0.3s ease;
}

.tg-social-icons a:hover {
    transform: translateY(-3px);
}

.tg-social-icons a img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* BOTTOM SECTION ROW METRICS */
.tg-footer-bottom {
    background: #602C86;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 24px 40px;
}

.tg-bottom-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tg-bottom-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    flex-shrink: 0;
}

.tg-bottom-box h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.tg-bottom-box p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}



        /* ----------------------------------------------------
           PREMIUM MOBILE & DESKTOP RESET INTERACTION ENGINE
           ---------------------------------------------------- */
        
        @media (max-width: 1200px) {
            .header-container, .nav-container {
                padding: 15px 20px;
            }
            .contact-wrapper {
                gap: 20px;
            }
            .hero-content h1, .hero-content h2 {
                font-size: 42px;
            }
        }

        @media (max-width: 991px) {
            .slider {
                height: 520px;
            }
            .hero-content {
                left: 40px;
                right: 40px;
            }
            .hero-content h1, .hero-content h2 {
                font-size: 36px;
            }
        }

        /* Mobile View Refactor Match */
        @media (max-width: 768px) {
            /* 1. Hide Desktop Top Header Entirely on Mobile */
            .top-header {
                display: none !important;
            }

            /* 2. Show the Navbar Row with Logo and Hamburger lined up smoothly */
            .navbar {
                padding: 14px 0;
                border-bottom: 1px solid rgba(0,0,0,0.03);
            }

            .nav-container {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 0 24px;
            }

            /* Display Mobile Specific Logo Component Instance */
            .navbar .mobile-only-logo {
                display: flex !important;
            }

            .navbar .mobile-only-logo img {
                max-width: 150px;
                height: auto;
            }

            .nav-left, .nav-right {
                display: none !important;
            }

            .menu-toggle {
                display: block;
            }

            /* 3. Smooth Dropdown Menu Layout Drawer */
            .mobile-menu {
                display: block;
                max-height: 0;
                overflow: hidden;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: #ffffff;
                box-shadow: 0 15px 30px rgba(0,0,0,0.08);
                transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
                z-index: 999;
            }

            .mobile-menu.active {
                max-height: 600px;
                border-top: 1px solid #eeeeee;
                padding: 12px 0;
            }

            .mobile-menu a, .mobile-dropdown-btn {
                display: block;
                padding: 12px 24px;
                text-decoration: none;
                color: var(--text-dark);
                font-weight: 500;
                font-size: 15px;
                transition: 0.2s;
            }

            .mobile-menu a:hover, .mobile-dropdown-btn:hover {
                background: var(--primary-light);
                color: var(--primary-color);
            }

            .mobile-dropdown-btn {
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: space-between;
            }

            .mobile-dropdown-content {
                max-height: 0;
                overflow: hidden;
                background: #fbfbfb;
                transition: max-height 0.3s ease-out;
            }

            .mobile-dropdown-content.active {
                max-height: 250px;
            }

            .mobile-dropdown-content a {
                padding-left: 42px;
                font-size: 14px;
                color: var(--text-muted);
            }

            .mobile-action-group {
                display: flex;
                padding: 12px 24px;
                gap: 12px;
            }

            .mobile-action-group .join-btn {
                flex: 1;
                text-align: center;
                padding: 12px;
            }

            .mobile-action-group .login-nav-btn {
                background: transparent;
                border: 1px solid var(--primary-dark);
                color: var(--primary-dark) !important;
            }

            /* 4. Hero Content Overhaul Structure */
    

            .slider {
                height: calc(100vh - 120px);
                min-height: 560px;
            }

            .overlay {
                background: rgba(0, 0, 0, 0.55);
            }

            .hero-content {
                left: 20px;
                right: 20px;
                width: calc(100% - 40px);
                text-align: center;
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .hero-content h1, .hero-content h2 {
                font-size: 32px;
                line-height: 1.2;
                font-weight: 700;
            }

            .hero-content h1 {
                margin-bottom: 6px;
            }

            .hero-content h2 {
                color: #B46CFF;
                margin-bottom: 24px;
            }

            .hero-content p {
                font-size: 15px;
                line-height: 1.5;
                margin-bottom: 36px;
                color: rgba(255, 255, 255, 0.95);
            }

            .hero-buttons {
                flex-direction: column;
                align-items: stretch;
                width: 100%;
                max-width: 320px;
                gap: 14px;
            }

            .hero-buttons .hero-join-btn {
                width: 100%;
                background-color: #7026df;
                padding: 16px;
                font-size: 18px;
                border-radius: 16px;
            }

            .demo-btn {
                width: 100%;
                padding: 14px;
                font-size: 17px;
                border-radius: 16px;
                border: 2px solid #ffffff;
            }
            
            .dots {
                margin-top: -30px;
            }
        }

        /* /////About///// */
        @media (max-width: 991px) {
    .tg-about-card {
        padding: 35px;
        gap: 25px;
    }
    
    .tg-about-content h2 {
        font-size: 24px;
    }
    
    .tg-vp-grid {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .tg-about-card {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
    }

    .tg-about-logo {
        margin-bottom: 5px;
    }

    .tg-vp-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    
    .tg-vp-card {
        padding: 40px 25px;
    }
}

/* --- Viewport Media Query Adaptation Engine --- */
@media (max-width: 991px) {
    .tg-about-banner-card {
        padding: 40px;
        gap: 30px;
    }
    .tg-about-content h2 {
        font-size: 26px;
    }
    .tg-vp-grid-layout {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .tg-about-section {
        margin: 50px auto;
    }
    .tg-about-banner-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    .tg-bg-decor-dots, .tg-bg-decor-ring {
        display: none !important;
    }
    .tg-vp-grid-layout {
        grid-template-columns: 1fr;
        max-width: 460px;
    }
    .tg-info-card {
        padding: 45px 30px;
    }
}

/* --- Viewport Media Query Constraints Engine --- */
@media (max-width: 991px) {
    .tg-main-wrapper {
        gap: 20px;
    }
    .tg-card-header {
        padding: 25px 30px;
    }
    .tg-card-body {
        padding: 15px 30px;
    }
}

@media (max-width: 768px) {
    .tg-main-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    .tg-card {
        width: 100%;
        max-width: 480px;
        align-self: auto; /* Deactivates horizontal axis stretch layout safely for column viewports */
    }

    /* Flip connecting vector arrow downward on small mobile stacked grids */
    .tg-animation {
        transform: rotate(90deg);
        margin: -5px 0;
    }
    
    .tg-heading h2 {
        font-size: 26px;
    }
    
    .tg-bottom-text h1 {
        font-size: 16px;
    }
}

/* --- Responsive Multi-Viewport Breakpoints --- */
@media (max-width: 991px) {
    .tg-research-section {
        padding: 0px 24px;
    }
    .tg-research-text-box h1, .tg-research-text-box h2 {
        font-size: 28px;
    }
    .tg-research-split-body {
        gap: 30px;
    }
    .tg-research-text-box p {
        font-size: 15px;
    }
}

/* Mobile Portrait Auto-Stack Layout */
@media (max-width: 768px) {
    .tg-research-split-body {
        flex-direction: column;
        text-align: center;
        gap: 35px;
    }
    
    .tg-research-text-box {
        max-width: 100%;
        text-align: center; /* Clean centered focus on mobile screens */
        padding: 0 10px;
    }
    
    .tg-research-text-box h1, .tg-research-text-box h2 {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .tg-research-text-box h1 {
        margin-bottom: 16px;
    }
    
    .tg-research-text-box p {
        font-size: 14.5px;
        line-height: 1.6;
    }
    
    .tg-research-video-box {
        max-width: 480px;
        justify-content: center;
    }
    
    .tg-research-video-wrapper {
        border-radius: 16px;
        padding: 6px;
    }
    
    .tg-research-video-frame {
        border-radius: 12px;
    }
}

/* --- MULTI-VIEWPORT RESPONSIVE ENGINE (FIXED FOR MOBILE VIEW) --- */
@media (max-width: 1024px) {
    .expect-container {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .choose-section, .expect-section {
        padding: 45px 16px;
    }
    
    .section-title h2, .expect-title h2, .expect-title h3 {
        font-size: 24px;
    }
    
    .choose-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        margin: 20px 16px;
        width: auto;
        max-width: 100%;
    }

    /* Fixed Expect Cards Responsiveness structure */
    .expect-card {
        flex-direction: column;
        border-radius: 20px;
    }
    
    .left-side {
        width: 100%;
        padding: 30px 0 20px 0;
    }
    
    /* Removes the desktop side-curve behavior on mobile to prevent layout clipping */
    .left-side::before {
        display: none !important;
    }
    
    .right-side {
        width: 100%;
        padding: 24px 20px;
        text-align: center;
        align-items: center;
    }
    
    .small-line {
        margin-left: auto;
        margin-right: auto;
    }
}


/* --- RESPONSIVE LAYOUT MULTI-VIEWPORT BREAKPOINTS --- */
@media (max-width: 991px) {
    .english-hub-section {
        padding: 50px 20px;
    }
    .english-hub-title h2 {
        font-size: 26px;
    }
    .english-hub-explore h3 {
        font-size: 20px;
    }
    .english-hub-side-line {
        width: 80px;
    }
}

@media (max-width: 600px) {
    .english-hub-section {
        padding: 40px 16px;
    }
    .english-hub-dots, .english-hub-circle {
        display: none !important; /* Removes noisy assets on restricted mobile dimensions */
    }
    .english-hub-title h2 {
        font-size: 22px;
    }
    .english-hub-title p {
        font-size: 14px;
        line-height: 1.55;
    }
    .english-hub-explore {
        margin: 35px 0 25px 0;
    }
    .english-hub-side-line {
        display: none !important; /* Maximizes clean screen width focus for title texts */
    }
    .english-hub-container {
        grid-template-columns: 1fr; /* Forces safe column alignment on small smartphones */
        gap: 16px;
    }
    .english-hub-card {
        padding: 24px 20px;
        min-height: auto;
    }
}

/* ==========================================================================
   STRICT MOBILE SCREEN RESPONSIVE BREAKPOINT LAYER (Zero Content Alterations)
   ========================================================================== */
@media (max-width: 991px) {
    .tg-footer-top {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px;
    }
    .tg-footer-col:not(:last-child)::after {
        display: none !important; /* Safely hides grid separator lines on compressed views */
    }
    .tg-footer-bottom {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .visionary-team-section {
        padding: 50px 20px;
    }
    
    .visionary-team-heading h2 {
        font-size: 28px;
    }

    /* Seamless transform to vertical stack layouts */
    .visionary-team-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 35px;
    }

    .visionary-profile-card {
        max-width: 460px;
        margin: 0 auto;
        padding: 25px;
    }
    
    .visionary-profile-top {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .visionary-small-line {
        margin: 0 auto 10px auto;
    }

    .tg-footer-top {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 30px;
    }
    
    .tg-footer-bottom {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }
}

.back-to-top {
    /* Critical placement properties */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999; /* Ensures it stays on top of all other elements */
    
    /* UI Styling from your image */
    background-color: #702fa0; /* Deep purple background */
    color: #ffffff;
    border: none;
    border-radius: 8px; /* Slightly rounded corners */
    
    /* Sizing and alignment */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Adds depth */
    
    /* Smooth hover effect */
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

/* UI interaction states */
.back-to-top:hover {
    background-color: #55207c; /* Darker purple on hover */
    color: #ffffff;
    transform: translateY(-3px); /* Subtle lift effect */
}