/* --- VARIABLES --- */
:root {
    --primary-red: #D2122E;
    --primary-red-hover: #a30e24;
    --primary-blue: #0A192F;
    --primary-blue-light: #112240;
    --accent-yellow: #F0B90B;
    --accent-green: #25D366;

    --text-main: #334155;
    --text-light: #64748B;
    --text-heading: #0F172A;

    --bg-main: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-glass: rgba(255, 255, 255, 0.85);

    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Plus Jakarta Sans', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
    /* Default */
}

/* Scaling up for very large screens (2K/4K/TVs) */
@media (min-width: 1920px) {
    html {
        font-size: 110%;
    }
}

@media (min-width: 2560px) {
    html {
        font-size: 130%;
    }
}

@media (min-width: 3840px) {

    /* 4K TVs */
    html {
        font-size: 180%;
    }
}

body {
    font-family: var(--font-secondary);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--text-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 1440px) {
    .container {
        max-width: 1350px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
        padding: 0 3rem;
    }
}

@media (min-width: 2560px) {
    .container {
        max-width: 2200px;
        padding: 0 4rem;
    }
}

@media (min-width: 3840px) {
    .container {
        max-width: 3200px;
        padding: 0 6rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-blue);
    font-weight: 800;
    display: inline-block;
}

.highlight-red {
    color: var(--primary-red);
}

.text-red {
    color: var(--primary-red);
}

.bg-light {
    background-color: var(--bg-light);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-hover));
    color: white;
    box-shadow: 0 4px 14px 0 rgba(210, 18, 46, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 18, 46, 0.23);
    color: white;
}

.btn-primary-outline {
    background: transparent;
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-primary-outline:hover {
    background: var(--primary-red);
    color: white;
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-heading);
    border: 2px solid #E2E8F0;
}

.btn-secondary:hover {
    background: #E2E8F0;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1300px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    top: 0.75rem;
    width: 98%;
    max-width: 1400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo {
        height: 40px;
    }
}

.logo-text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Color part of the text using JavaScript or another method if needed, 
   but since I changed HTML to single span, I'll use a better approach:
   Let's use a background-clip trick or just target "DEEP" and "TAXATION" if I can.
   Wait, I removed the nested spans. I should probably have kept them or use a different way.
   Let's go back and add the spans back but with classes instead of inline styles.
*/

.logo-text-deep {
    color: #F5A623;
}

.logo-text-taxation {
    color: #D2122E;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    white-space: nowrap;
}

.nav-links a:not(.btn):not(.nav-login-btn):hover,
.nav-links a:not(.btn):not(.nav-login-btn).active {
    color: var(--primary-red);
}

.nav-links a:not(.btn):not(.nav-login-btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition-normal);
}

.nav-login-btn {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.student-login {
    background: linear-gradient(135deg, #F5A623, #f7b731);
    color: #1a1a1a;
}

.student-login:hover {
    background: linear-gradient(135deg, #f7b731, #F5A623);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

.admin-login {
    background: linear-gradient(135deg, #D2122E, #e60027);
    color: #fff;
}

.admin-login:hover {
    background: linear-gradient(135deg, #e60027, #D2122E);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(210, 18, 46, 0.4);
}

.nav-links a:not(.btn):not(.nav-login-btn):hover::after,
.nav-links a:not(.btn):not(.nav-login-btn).active::after {
    width: 100%;
}

/* --- NAV DROPDOWN --- */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 1001;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown.mobile-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-heading);
    border-radius: 10px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: rgba(210, 18, 46, 0.1);
    color: var(--primary-red);
    transform: translateX(4px);
}

.dropdown-menu li a::after {
    display: none !important;
}

.dropdown-menu li a i {
    font-size: 1rem;
    width: 22px;
    text-align: center;
    color: var(--primary-red);
    opacity: 0.7;
    transition: opacity 0.25s ease;
}

.dropdown-menu li a:hover i {
    opacity: 1;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--primary-blue);
    border-radius: 3px;
    transition: var(--transition-normal);
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
        overflow-y: auto;
        padding: 5rem 2rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a:not(.btn) {
        font-size: 1.25rem;
        font-weight: 600;
        padding: 0.75rem 1.5rem;
    }

    .nav-links .btn {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Mobile Dropdown */
    .nav-dropdown {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .dropdown-trigger {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
        font-size: 1.25rem;
        font-weight: 600;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
        padding: 0.75rem;
        margin-top: 0.75rem;
        display: none;
        width: 100%;
        max-width: 320px;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.mobile-open .dropdown-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-dropdown.mobile-open .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu li a {
        padding: 0.85rem 1rem;
        font-size: 1rem;
        justify-content: center;
        text-align: center;
        border-radius: 10px;
        background: white;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
}

/* --- HEADER / HERO --- */
.hero {
    padding: 120px 0 60px;
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-main) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 30px;
        max-width: 100vw;
        overflow: hidden;
    }

    .hero .container {
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .hero-container {
        gap: 1.5rem;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-content {
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    .hero-visual {
        min-width: 0;
        max-width: 100%;
    }

    .hero-title {
        font-size: 1.5rem !important;
        margin-bottom: 1rem;
        line-height: 1.3;
        overflow-wrap: break-word;
        word-wrap: break-word;
        width: 100%;
        max-width: 100%;
        text-align: center;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        text-align: center;
        width: 100%;
    }

    .hero-cta {
        display: flex;
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .hero-cta .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 20px;
    }

    .hero-container {
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 1.3rem !important;
        margin-bottom: 0.75rem;
        line-height: 1.2;
        word-break: normal;
        overflow-wrap: break-word;
        word-wrap: break-word;
        width: 100%;
        max-width: 100%;
        text-align: center;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        text-align: center;
        width: 100%;
    }
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(210, 18, 46, 0.1);
    color: var(--primary-red);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.mobile-only {
    display: none;
}

@media (max-width: 480px) {
    .mobile-only {
        display: block;
    }
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

@media (max-width: 968px) {
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-cta {
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

/* Hero Visual & Mockup */
.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 10;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

@media (max-width: 768px) {
    .mockup {
        transform: none !important;
        max-width: 90%;
        margin: 0 auto;
        border-radius: 16px;
    }

    .mockup:hover {
        transform: translateY(-5px) !important;
    }

    .hero-visual {
        min-height: auto;
        padding: 1rem 0 2rem 0;
    }
}

.mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.mockup-header {
    background: #F1F5F9;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #E2E8F0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background-color: #FF5F56;
}

.dot.yellow {
    background-color: #FFBD2E;
}

.dot.green {
    background-color: #27C93F;
}

.mockup-url {
    background: white;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    color: var(--text-light);
    margin-left: 1rem;
    flex-grow: 1;
    text-align: center;
}

.mockup-body {
    padding: 0;
    background: white;
}

/* Slider Mockup inside .mockup-body */
.slider-mockup {
    position: relative;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
}

@media (max-width: 768px) {
    .slider-mockup {
        height: 200px;
    }
}

.slider-track {
    display: flex;
    width: 600%;
    /* 6 slides (5 unique + 1 clone for loop) */
    height: 100%;
    animation: slideAnimation 20s infinite cubic-bezier(0.8, 0, 0.2, 1);
}

.slider-slide {
    width: 16.666%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

@media (max-width: 768px) {
    .slider-slide {
        padding: 1.5rem;
    }
}

.slider-slide i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.slider-slide h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.slider-slide p {
    opacity: 0.9;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .slider-slide i {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .slider-slide h2 {
        font-size: 1.25rem;
    }

    .slider-slide p {
        font-size: 0.9rem;
    }
}

.red-slide {
    background: linear-gradient(135deg, var(--primary-red), #800000);
}

.blue-slide {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
}

.yellow-slide {
    background: linear-gradient(135deg, #FF8C00, #F0B90B);
}

.green-slide {
    background: linear-gradient(135deg, #0f9b0f, var(--accent-green));
}

.tally-slide {
    background: linear-gradient(135deg, #c31432, #240b36);
}

@keyframes slideAnimation {

    0%,
    16% {
        transform: translateX(0);
    }

    20%,
    36% {
        transform: translateX(calc(-100% / 6 * 1));
    }

    40%,
    56% {
        transform: translateX(calc(-100% / 6 * 2));
    }

    60%,
    76% {
        transform: translateX(calc(-100% / 6 * 3));
    }

    80%,
    96% {
        transform: translateX(calc(-100% / 6 * 4));
    }

    99.99%,
    100% {
        transform: translateX(calc(-100% / 6 * 5));
    }
}

/* Blobs */
.blob {
    position: absolute;
    filter: blur(60px);
    z-index: 1;
    opacity: 0.6;
    animation: float 8s ease-in-out infinite alternate;
}

.blob-1 {
    top: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(210, 18, 46, 0.4);
    border-radius: 43% 57% 70% 30% / 30% 30% 70% 70%;
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: rgba(10, 25, 47, 0.3);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: -4s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(30px, 50px) rotate(20deg);
    }
}

/* --- ABOUT SECTION --- */
.about {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
    }
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-image img {
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--primary-blue);
}

.about-badge i {
    font-size: 2rem;
    color: var(--accent-yellow);
}

.about-list {
    margin-top: 2rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.about-list li i {
    margin-top: 0.25rem;
    font-size: 1.25rem;
}

/* --- LAPTOP CAROUSEL MOCKUP --- */
.laptop-wrapper {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    padding: 0 1rem;
    z-index: 10;
}

.laptop-screen-frame {
    background: #111;
    border-radius: 16px 16px 0 0;
    padding: 2% 2% 4%;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.laptop-camera {
    position: absolute;
    top: 1.5%;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
    border: 1px solid #000;
}

.laptop-display {
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}

.laptop-base {
    background: #e2e8f0;
    height: 14px;
    border-radius: 0 0 16px 16px;
    position: relative;
    margin: 0 -3%;
    width: 106%;
    z-index: 2;
    box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 0.3);
}

.laptop-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15%;
    height: 4px;
    background: #cbd5e1;
    border-radius: 0 0 4px 4px;
}

/* Sliding Carousel inside Display */
.hero-carousel-track {
    display: flex;
    width: 400%;
    /* For 4 images: 3 unique + 1 clone of the first */
    height: 100%;
    animation: slideTrack 12s infinite cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hero-carousel-track img {
    flex: 0 0 25%;
    /* 100% / 4 */
    width: 25%;
    height: 100%;
    object-fit: cover;
}

@keyframes slideTrack {

    0%,
    20% {
        transform: translateX(0);
    }

    33.33%,
    53.33% {
        transform: translateX(-25%);
    }

    66.66%,
    86.66% {
        transform: translateX(-50%);
    }

    99.99%,
    100% {
        transform: translateX(-75%);
    }
}

/* --- MODULES GRID SECTION --- */
.modules-grid-section {
    position: relative;
    padding: 100px 0;
    background: #ffffff;
    color: #334155;
    overflow: hidden;
}

.modules-container {
    position: relative;
    z-index: 2;
}

.dti-text-yellow {
    color: var(--accent-yellow);
}

.dti-text-red {
    color: var(--primary-red);
}

.modules-grid-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 3rem;
    font-weight: 800;
    color: #0f172a;
    background: #f8fafc;
    display: inline-block;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.dti-badge-container {
    margin-bottom: 3rem;
}

.dti-module-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

/* TV scaling */
@media (min-width: 1920px) {
    .dti-module-grid {
        max-width: 1400px;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .dti-module-grid {
        gap: 1rem;
    }
}

.dti-module-card {
    border-radius: var(--radius-xl);
    padding: 1.5rem 1rem;
    width: 150px;
    min-height: 150px;
    /* Base height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #334155;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.03);
}

.dti-module-card:hover {
    transform: translateY(-12px) scale(1.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #0f172a;
}

.dti-icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: #475569;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dti-module-card:hover .dti-icon {
    transform: scale(1.25) rotate(5deg);
}

.vat-icon-wrapper {
    position: relative;
}

.vat-badge {
    position: absolute;
    top: 50%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
    color: white;
    opacity: 0.9;
}

.dti-title {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Individual Card Colors as Glassmorphism Tints */
.card-gst {
    background: rgba(255, 65, 108, 0.15);
    border-color: rgba(255, 65, 108, 0.3);
}

.card-gst:hover {
    background: rgba(255, 65, 108, 0.35);
    box-shadow: 0 15px 35px rgba(255, 65, 108, 0.5);
    border-color: #FF416C;
}

.card-tds {
    background: rgba(0, 242, 254, 0.15);
    border-color: rgba(0, 242, 254, 0.3);
}

.card-tds:hover {
    background: rgba(0, 242, 254, 0.35);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.5);
    border-color: #00f2fe;
}

.card-incometax {
    background: rgba(253, 160, 133, 0.15);
    border-color: rgba(253, 160, 133, 0.3);
}

.card-incometax:hover {
    background: rgba(253, 160, 133, 0.35);
    box-shadow: 0 15px 35px rgba(253, 160, 133, 0.5);
    border-color: #fda085;
}

.card-vat {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.card-vat:hover {
    background: rgba(102, 126, 234, 0.35);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
    border-color: #667eea;
}

.card-epfo {
    background: rgba(56, 239, 125, 0.15);
    border-color: rgba(56, 239, 125, 0.3);
}

.card-epfo:hover {
    background: rgba(56, 239, 125, 0.35);
    box-shadow: 0 15px 35px rgba(56, 239, 125, 0.5);
    border-color: #38ef7d;
}

.card-tally {
    background: rgba(195, 20, 50, 0.15);
    border-color: rgba(195, 20, 50, 0.3);
}

.card-tally:hover {
    background: rgba(195, 20, 50, 0.35);
    box-shadow: 0 15px 35px rgba(195, 20, 50, 0.5);
    border-color: #c31432;
}

/* --- CTA SECTION (Glassmorphism Redesign) --- */
.cta-section {
    padding: 100px 0;
    position: relative;
    background: var(--bg-light);
    /* Off-white back layer */
    overflow: hidden;
}

.cta-glass-card {
    position: relative;
    background: rgba(10, 25, 47, 0.95);
    border-radius: 30px;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    z-index: 1;
}

@media (min-width: 768px) {
    .cta-glass-card {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 4rem 5rem;
    }
}

.cta-content {
    max-width: 600px;
    z-index: 2;
}

.cta-content h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

@media (max-width: 480px) {
    .cta-glass-card {
        padding: 3rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .btn-whatsapp-pulse {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
    }
}

.cta-content p {
    color: #cbd5e1;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .cta-content p {
        margin-bottom: 0;
    }
}

.cta-action {
    z-index: 2;
    flex-shrink: 0;
}

.btn-whatsapp-pulse {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulse-green 2s infinite;
}

.btn-whatsapp-pulse:hover {
    background: #1da851;
    color: white;
    transform: translateY(-3px);
}

.btn-whatsapp-pulse i {
    font-size: 1.5rem;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Decorative Blobs inside CTA Card */
.cta-blob-1,
.cta-blob-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.5;
}

.cta-blob-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-red);
    top: -150px;
    right: -100px;
}

.cta-blob-2 {
    width: 250px;
    height: 250px;
    background: var(--primary-blue-light);
    bottom: -100px;
    left: -100px;
}

/* --- FOOTER (Compact Animated White Redesign) --- */
.footer {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 50%, #e2e8f0 100%);
    background-size: 300% 300%;
    color: #334155;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    animation: footerGradient 15s ease infinite;
}

@keyframes footerGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Fluid Animated Background Elements */
.footer::before,
.footer::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
    animation: floatFluid 20s infinite alternate ease-in-out;
}

.footer::before {
    width: 400px;
    height: 400px;
    background: rgba(100, 149, 237, 0.1);
    /* Subtle pastel blue */
    top: -200px;
    left: -100px;
}

.footer::after {
    width: 500px;
    height: 500px;
    background: rgba(237, 100, 166, 0.08);
    /* Subtle pastel pink */
    bottom: -250px;
    right: -100px;
    animation-delay: -10s;
}

@keyframes floatFluid {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, 80px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 40px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Brand Section */
.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    border-radius: 8px;
}

.footer-brand-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    font-family: var(--font-primary);
}

.footer-brand p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 350px;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: #64748b;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

/* Links & Contact Section */
.footer-links h3,
.footer-contact h3 {
    color: #0f172a;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

@media (max-width: 480px) {

    .footer-brand,
    .footer-links,
    .footer-contact {
        align-items: center;
        text-align: center;
    }

    .footer-logo-wrapper {
        justify-content: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-contact ul li {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    .footer-contact i {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #475569;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--primary-red);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact ul li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary-red);
    font-size: 1.125rem;
    margin-top: 3px;
}

.footer-contact span {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.footer-contact p {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
}

@media (min-width: 600px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    color: #64748b;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #64748b;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--primary-red);
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-green);
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.5);
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
}

/* Utility to ensure padding for fixed nav */
body {
    padding-top: 80px;
}

/* --- CHATBOT UI --- */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
}

.chatbot-toggle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(10, 25, 47, 0.4);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    outline: none;
}

.chatbot-toggle:hover {
    transform: scale(1.1) rotate(5deg);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 350px;
    height: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom left;
    transform: scale(0);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-window.open {
    transform: scale(1);
    opacity: 1;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chatbot-header-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.chatbot-header span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(248, 250, 252, 0.5);
}

.chat-message {
    max-width: 85%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    position: relative;
}

.chat-message.bot {
    background: white;
    border: 1px solid #e2e8f0;
    border-top-left-radius: 4px;
    align-self: flex-start;
    color: var(--text-heading);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.chat-message.user {
    background: linear-gradient(135deg, var(--primary-red), #e60027);
    border-top-right-radius: 4px;
    align-self: flex-end;
    color: white;
    box-shadow: 0 4px 10px rgba(210, 18, 46, 0.2);
}

.typing-indicator {
    display: inline-flex;
    gap: 4px;
    padding: 4px 8px;
    background: #f1f5f9;
    border-radius: 10px;
    align-self: flex-start;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.chatbot-input-area {
    padding: 1rem;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.5rem;
}

.chatbot-input-area input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-full);
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.chatbot-input-area input:focus {
    border-color: var(--primary-blue);
}

.chatbot-input-area button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.chatbot-input-area button:hover {
    background: var(--primary-blue-light);
}

/* --- MOBILE CHATBOT FIX --- */
@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        left: 20px;
        right: 20px;
        bottom: 80px;
        height: 70vh;
        max-height: 500px;
    }
}

@media (max-width: 360px) {
    .chatbot-window {
        width: calc(100vw - 20px);
        left: 10px;
        right: 10px;
    }
}

/* --- LOGO ZOOM MODAL --- */
.logo-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.logo-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 500px;
    width: 90%;
    max-height: 90%;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-modal.active .modal-content {
    transform: scale(1);
}

.modal-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

@media (max-width: 600px) {
    .modal-content {
        max-width: 100%;
    }
    .close-modal {
        top: -40px;
        right: 10px;
    }
}
