/*
Theme Name: DPS NextGen
Theme URI: https://dpsnextgen.com/
Author: DPS NextGen IT Solutions Private Limited
Author URI: https://dpsnextgen.com/
Description: A modern, responsive and lightweight custom WordPress theme for DPS NextGen.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: dps-nextgen
License: GPL-2.0-or-later
*/

/* =========================================
   Startupstudio
   Global Styles
========================================= */

:root {

    --primary-color: #ff3130;

    --black-color: #101114;

    --white-color: #FFFFFF;

    --text-color: #20232A;

    --text-muted: #667085;

    --light-bg: #F6F7F9;

    --border-color: #E5E7EB;

}


/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* HTML */

html {
    scroll-behavior: smooth;
}


/* Body */

body {

    font-family: "Inter", sans-serif;

    background-color: var(--white-color);

    color: var(--text-color);

    font-size: 16px;

    line-height: 1.6;

}


/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: "Manrope", sans-serif;

    color: var(--black-color);

    font-weight: 700;

}


/* Links */

a {

    text-decoration: none;

    color: inherit;

    transition: 0.3s ease;

}


/* Images */

img {

    max-width: 100%;

    display: block;

}


/* Lists */

ul,
ol {

    margin: 0;

    padding: 0;

    list-style: none;

}


/* Buttons */

button {

    border: none;

    outline: none;

}


/* Main Container */

.container-xxl {

    max-width: 1380px;

}


/* Common Section */

.section-padding {

    padding: 80px 0;

}


/* Primary Text */

.text-primary-custom {

    color: var(--primary-color);

}


/* Background */

.bg-light-custom {

    background-color: var(--light-bg);

}

/* =========================================
   Header
========================================= */

.site-header {

    width: 100%;

    background-color: var(--white-color);

    border-bottom: 1px solid var(--border-color);

    position: sticky;

    top: 0;

    z-index: 999;

}


/* Navbar */

.site-header .navbar {

    min-height: 80px;

    padding: 0;

}


/* Logo */

.navbar-brand {

    padding: 0;

    margin-right: 30px;

}


.site-logo {

    width: 220px;

    height: auto;

    object-fit: contain;

}


/* Navigation */

.navbar-nav {

    gap: 5px;

}


.navbar-nav .nav-link {

    position: relative;

    padding: 29px 12px !important;

    color: var(--black-color);

    font-size: 14px;

    font-weight: 600;

    line-height: 1;

}


/* Hover */

.navbar-nav .nav-link:hover {

    color: var(--primary-color);

}


/* Active */

.navbar-nav .nav-link.active {

    color: var(--primary-color);

}


/* Active Underline */

.navbar-nav .nav-link.active::after {

    content: "";

    position: absolute;

    bottom: 0;

    left: 12px;

    right: 12px;

    height: 3px;

    background-color: var(--primary-color);

    border-radius: 10px 10px 0 0;

}


/* Header Right */

.header-actions {

    align-items: center;

    gap: 12px;

    margin-left: 25px;

}


/* Search Button */

.header-icon-btn {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    background-color: transparent;

    border: 1px solid var(--border-color);

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 21px;

    color: var(--black-color);

    cursor: pointer;

    transition: 0.3s ease;

}


.header-icon-btn:hover {

    border-color: var(--primary-color);

    color: var(--primary-color);

    background-color: #F5F8FF;

}


/* Newsletter Button */

.newsletter-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding: 0 20px;

    border-radius: 50px;

    background-color: var(--primary-color);

    color: var(--white-color);

    font-size: 14px;

    font-weight: 700;

}


.newsletter-btn:hover {

    background-color: #174FD1;

    color: var(--white-color);

}


/* =========================================
   Dropdown
========================================= */

.dropdown-menu {

    padding: 10px;

    border: 1px solid var(--border-color);

    border-radius: 14px;

    box-shadow: 0 15px 40px rgba(16, 17, 20, 0.08);

}


.dropdown-item {

    padding: 10px 13px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 500;

    color: var(--black-color);

}


.dropdown-item:hover {

    background-color: #F5F8FF;

    color: var(--primary-color);

}


/* =========================================
   Mobile Menu Button
========================================= */

.custom-toggler {

    width: 42px;

    height: 42px;

    border: 1px solid var(--border-color) !important;

    border-radius: 50%;

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 4px;

}


.custom-toggler span {

    display: block;

    width: 18px;

    height: 2px;

    background-color: var(--black-color);

    border-radius: 10px;

}


.custom-toggler:focus {

    box-shadow: none;

}

/* =========================================
   Header Responsive
========================================= */

@media (max-width: 1199.98px) {

    .site-header .navbar {

        min-height: 70px;

        padding: 10px 0;

    }


    .site-logo {

        width: 185px;

    }


    .navbar-collapse {

        margin-top: 10px;

        padding: 15px 0 20px;

        border-top: 1px solid var(--border-color);

    }


    .navbar-nav {

        gap: 0;

    }


    .navbar-nav .nav-link {

        padding: 13px 0 !important;

        font-size: 15px;

    }


    .navbar-nav .nav-link.active::after {

        display: none;

    }


    .dropdown-menu {

        box-shadow: none;

        border-radius: 10px;

        margin-bottom: 10px;

    }

}


@media (max-width: 575.98px) {

    .site-logo {

        width: 155px;

    }


    .header-icon-btn,
    .custom-toggler {

        width: 38px;

        height: 38px;

    }

}

/* =========================================
   Infinite Trending News
========================================= */

.trending-news {

    flex: 1;

    overflow: hidden;

    white-space: nowrap;

    position: relative;

}


/* Moving Track */

.trending-track {

    width: max-content;

    display: flex;

    align-items: center;

    animation: trendingScroll 35s linear infinite;

}


/* Each Duplicate Group */

.trending-group {

    display: flex;

    align-items: center;

    gap: 18px;

    flex-shrink: 0;

    padding-right: 18px;

}


/* News Links */

.trending-group a {

    color: #000;

    font-size: 13px;

    font-weight: 500;

    transition: 0.3s ease;

}


.trending-group a:hover {

    color: var(--white-color);

}


/* Separator */

.trending-dot {

    width: 4px;

    height: 4px;

    flex-shrink: 0;

    border-radius: 50%;

    background-color: #5D6470;

}


/* Infinite Animation */

@keyframes trendingScroll {

    from {

        transform: translateX(0);

    }

    to {

        transform: translateX(-50%);

    }

}

.trending-news:hover .trending-track {

    animation-play-state: paused;

}

@media (max-width: 767.98px) {

    .trending-track {

        animation-duration: 45s;

    }


    .trending-group {

        gap: 14px;

        padding-right: 14px;

    }


    .trending-group a {

        font-size: 12px;

    }

}

/* =========================================
   Hero Section
========================================= */

.hero-section {

    padding: 45px 0 55px;

}


/* Section Label */

.hero-section-label {

    margin-bottom: 18px;

    color: var(--primary-color);

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}


/* =========================================
   Main Story
========================================= */

.main-story-image {

    display: block;

    width: 100%;

    aspect-ratio: 16 / 8.7;

    overflow: hidden;

    border-radius: 18px;

    background-color: var(--light-bg);

}


.main-story-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}


.main-story:hover .main-story-image img {

    transform: scale(1.025);

}


/* Main Content */

.main-story-content {

    padding-top: 22px;

}


/* Category */

.news-category {

    display: inline-block;

    margin-bottom: 10px;

    color: var(--primary-color);

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.2px;

}


.news-category:hover {

    color: #174FD1;

}


/* Main Headline */

.main-story-title {

    max-width: 950px;

    margin-bottom: 14px;

    font-size: clamp(36px, 4.2vw, 62px);

    line-height: 1.05;

    letter-spacing: -2.5px;

    font-weight: 800;

}


.main-story-title a {

    color: var(--black-color);

}


.main-story-title a:hover {

    color: var(--primary-color);

}


/* Description */

.main-story-description {

    max-width: 820px;

    margin-bottom: 15px;

    color: var(--text-muted);

    font-size: 17px;

    line-height: 1.65;

}


/* Meta */

.news-meta {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    color: #8B919C;

    font-size: 12px;

    font-weight: 500;

}


/* Meta Dot */

.meta-dot {

    width: 3px;

    height: 3px;

    border-radius: 50%;

    background-color: #B1B5BD;

}

/* =========================================
   Side Stories
========================================= */

.side-stories {

    border-top: 2px solid var(--black-color);

}


/* Single Story */

.side-story {

    display: grid;

    grid-template-columns: 145px 1fr;

    gap: 16px;

    padding: 20px 0;

    border-bottom: 1px solid var(--border-color);

}


/* Image */

.side-story-image {

    display: block;

    width: 100%;

    aspect-ratio: 1.35 / 1;

    overflow: hidden;

    border-radius: 12px;

    background-color: var(--light-bg);

}


.side-story-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;

}


.side-story:hover .side-story-image img {

    transform: scale(1.05);

}


/* Content */

.side-story-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.side-story-content .news-category {

    margin-bottom: 6px;

}


/* Side Headline */

.side-story h3 {

    margin-bottom: 8px;

    font-size: 17px;

    line-height: 1.35;

    letter-spacing: -0.4px;

    font-weight: 800;

}


.side-story h3 a {

    color: var(--black-color);

}


.side-story h3 a:hover {

    color: var(--primary-color);

}

/* =========================================
   Hero Responsive
========================================= */

@media (max-width: 991.98px) {

    .hero-section {

        padding: 35px 0 45px;

    }


    .main-story-image {

        aspect-ratio: 16 / 10;

    }


    .side-stories {

        margin-top: 10px;

    }

}


@media (max-width: 767.98px) {

    .main-story-title {

        font-size: 36px;

        letter-spacing: -1.5px;

    }


    .main-story-description {

        font-size: 15px;

    }


    .side-story {

        grid-template-columns: 120px 1fr;

        gap: 14px;

    }


    .side-story h3 {

        font-size: 15px;

    }

}


@media (max-width: 575.98px) {

    .hero-section {

        padding: 28px 0 38px;

    }


    .main-story-image {

        border-radius: 14px;

    }


    .main-story-title {

        font-size: 31px;

        line-height: 1.08;

        letter-spacing: -1.2px;

    }


    .main-story-description {

        font-size: 14px;

    }


    .side-story {

        grid-template-columns: 105px 1fr;

        gap: 12px;

        padding: 16px 0;

    }


    .side-story h3 {

        font-size: 14px;

    }


    .side-story-image {

        border-radius: 9px;

    }

}

/* =========================================
   Latest News Section
========================================= */

.latest-news-section {

    border-top: 1px solid var(--border-color);

    border-bottom: 1px solid var(--border-color);

    background-color: var(--white-color);

}


/* Wrapper */

.latest-news-wrapper {

    min-height: 68px;

    display: flex;

    align-items: center;

    gap: 24px;

}


/* Latest Title */

.latest-news-title {

    flex-shrink: 0;

    font-family: "Manrope", sans-serif;

    color: var(--black-color);

    font-size: 17px;

    font-weight: 800;

}


/* News List */

.latest-news-list {

    flex: 1;

    display: flex;

    align-items: center;

    gap: 30px;

    overflow-x: auto;

    white-space: nowrap;

    scrollbar-width: none;

}


.latest-news-list::-webkit-scrollbar {

    display: none;

}


/* Single News */

.latest-news-item {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    flex-shrink: 0;

}


/* Time */

.latest-time {

    color: var(--primary-color);

    font-size: 12px;

    font-weight: 700;

}


/* Headline */

.latest-headline {

    color: var(--black-color);

    font-size: 13px;

    font-weight: 500;

}


.latest-news-item:hover .latest-headline {

    color: var(--primary-color);

}


/* View All */

.latest-news-link {

    flex-shrink: 0;

}


.latest-news-link a {

    color: var(--primary-color);

    font-size: 13px;

    font-weight: 700;

}


.latest-news-link a:hover {

    color: #174FD1;

}

/* =========================================
   Latest News Responsive
========================================= */

@media (max-width: 991.98px) {

    .latest-news-wrapper {

        gap: 18px;

    }


    .latest-news-link {

        display: none;

    }

}


@media (max-width: 767.98px) {

    .latest-news-wrapper {

        min-height: 60px;

        gap: 14px;

    }


    .latest-news-title {

        font-size: 15px;

    }


    .latest-news-list {

        gap: 22px;

    }


    .latest-headline {

        font-size: 12px;

    }


    .latest-time {

        font-size: 11px;

    }

}

/* =========================================
   Common Section Heading
========================================= */

.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;

}


/* Small Label */

.section-small-title {

    display: block;

    margin-bottom: 5px;

    color: var(--primary-color);

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}


/* Section Heading */

.section-heading h2 {

    margin: 0;

    color: var(--black-color);

    font-size: 38px;

    line-height: 1.1;

    letter-spacing: -1.5px;

    font-weight: 800;

}


/* View All Link */

.section-view-link {

    margin-bottom: 3px;

    color: var(--primary-color);

    font-size: 13px;

    font-weight: 700;

}


.section-view-link:hover {

    color: #174FD1;

}

/* =========================================
   Editor's Picks
========================================= */

.editors-picks-section {

    background-color: var(--white-color);

}


/* News Card */

.news-card {

    height: 100%;

}


/* Image */

.news-card-image {

    display: block;

    width: 100%;

    aspect-ratio: 1.45 / 1;

    margin-bottom: 17px;

    overflow: hidden;

    border-radius: 14px;

    background-color: var(--light-bg);

}


.news-card-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;

}


/* Image Hover */

.news-card:hover .news-card-image img {

    transform: scale(1.045);

}


/* Card Category */

.news-card-content .news-category {

    margin-bottom: 7px;

}


/* Card Title */

.news-card-title {

    margin-bottom: 12px;

    font-size: 18px;

    line-height: 1.35;

    letter-spacing: -0.5px;

    font-weight: 800;

}


.news-card-title a {

    color: var(--black-color);

}


.news-card-title a:hover {

    color: var(--primary-color);

}

.news-card {

    transition: transform 0.3s ease;

}


.news-card:hover {

    transform: translateY(-4px);

}

/* =========================================
   Editor's Picks Responsive
========================================= */

@media (max-width: 767.98px) {

    .section-heading {

        align-items: flex-start;

    }


    .section-heading h2 {

        font-size: 30px;

        letter-spacing: -1px;

    }


    .section-view-link {

        display: none;

    }


    .news-card-title {

        font-size: 16px;

    }

}


@media (max-width: 575.98px) {

    .section-padding {

        padding: 55px 0;

    }


    .section-heading {

        margin-bottom: 22px;

    }


    .news-card-image {

        border-radius: 12px;

    }

}

/* =========================================
   Funding Section
========================================= */

.funding-section {

    background-color: var(--light-bg);

}


/* =========================================
   Featured Funding Story
========================================= */

.funding-featured {

    height: 100%;

    overflow: hidden;

    background-color: var(--white-color);

    border: 1px solid var(--border-color);

    border-radius: 20px;

}


/* Image */

.funding-featured-image {

    display: block;

    width: 100%;

    aspect-ratio: 16 / 8.5;

    overflow: hidden;

}


.funding-featured-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;

}


.funding-featured:hover .funding-featured-image img {

    transform: scale(1.03);

}


/* Content */

.funding-featured-content {

    padding: 28px;

}


/* Amount + Round */

.funding-top-line {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 10px;

}


/* Large Funding Amount */

.funding-amount {

    font-family: "Manrope", sans-serif;

    color: var(--black-color);

    font-size: 34px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: -1.5px;

}


/* Featured Title */

.funding-featured-title {

    margin-bottom: 13px;

    font-size: 32px;

    line-height: 1.15;

    letter-spacing: -1.3px;

    font-weight: 800;

}


.funding-featured-title a {

    color: var(--black-color);

}


.funding-featured-title a:hover {

    color: var(--primary-color);

}


/* Description */

.funding-featured-content p {

    max-width: 700px;

    margin-bottom: 16px;

    color: var(--text-muted);

    font-size: 15px;

    line-height: 1.7;

}

/* =========================================
   Funding List
========================================= */

.funding-list {

    height: 100%;

    overflow: hidden;

    background-color: var(--white-color);

    border: 1px solid var(--border-color);

    border-radius: 20px;

}


/* Funding Item */

.funding-list-item {

    display: grid;

    grid-template-columns: 95px 1fr;

    gap: 18px;

    align-items: center;

    padding: 23px;

    border-bottom: 1px solid var(--border-color);

    transition: background-color 0.3s ease;

}


.funding-list-item:last-child {

    border-bottom: none;

}


.funding-list-item:hover {

    background-color: #FAFBFD;

}


/* Amount */

.funding-list-amount {

    font-family: "Manrope", sans-serif;

    color: var(--primary-color);

    font-size: 24px;

    font-weight: 800;

    letter-spacing: -1px;

}


/* Round */

.funding-round {

    display: block;

    margin-bottom: 5px;

    color: var(--text-muted);

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

}


/* Headline */

.funding-list-content h3 {

    margin-bottom: 8px;

    color: var(--black-color);

    font-size: 15px;

    line-height: 1.4;

    letter-spacing: -0.3px;

    font-weight: 800;

}


.funding-list-item:hover h3 {

    color: var(--primary-color);

}

/* =========================================
   Funding Responsive
========================================= */

@media (max-width: 991.98px) {

    .funding-list {

        margin-top: 5px;

    }

}


@media (max-width: 767.98px) {

    .funding-featured-content {

        padding: 22px;

    }


    .funding-amount {

        font-size: 28px;

    }


    .funding-featured-title {

        font-size: 26px;

        letter-spacing: -0.8px;

    }


    .funding-list-item {

        grid-template-columns: 80px 1fr;

        padding: 20px;

    }


    .funding-list-amount {

        font-size: 20px;

    }

}


@media (max-width: 575.98px) {

    .funding-featured {

        border-radius: 15px;

    }


    .funding-featured-image {

        aspect-ratio: 16 / 10;

    }


    .funding-featured-title {

        font-size: 23px;

    }


    .funding-list {

        border-radius: 15px;

    }


    .funding-list-item {

        grid-template-columns: 70px 1fr;

        gap: 12px;

        padding: 17px;

    }


    .funding-list-amount {

        font-size: 18px;

    }


    .funding-list-content h3 {

        font-size: 14px;

    }

}

/* =========================================
   Startups to Watch Section
========================================= */

.startups-watch-section {

    background-color: var(--white-color);

}


/* Card */

.startup-profile-card {

    height: 100%;

    padding: 24px;

    background-color: var(--white-color);

    border: 1px solid var(--border-color);

    border-radius: 18px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

}


/* Hover */

.startup-profile-card:hover {

    transform: translateY(-5px);

    border-color: #CFD8EA;

    box-shadow: 0 18px 45px rgba(16, 17, 20, 0.07);

}


/* Startup Logo */

.startup-profile-logo {

    width: 52px;

    height: 52px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background-color: #EAF0FF;

    color: var(--primary-color);

    font-family: "Manrope", sans-serif;

    font-size: 21px;

    font-weight: 800;

}


/* Sector */

.startup-profile-sector {

    margin-bottom: 5px;

    color: var(--text-muted);

    font-size: 11px;

    font-weight: 700;

}


/* Startup Name */

.startup-profile-card h3 {

    margin-bottom: 9px;

    color: var(--black-color);

    font-size: 22px;

    font-weight: 800;

    letter-spacing: -0.7px;

}


/* Description */

.startup-profile-card p {

    min-height: 72px;

    margin-bottom: 18px;

    color: var(--text-muted);

    font-size: 14px;

    line-height: 1.6;

}


/* Info Tags */

.startup-profile-info {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 20px;

}


.startup-profile-info span {

    display: inline-flex;

    align-items: center;

    min-height: 30px;

    padding: 0 10px;

    border-radius: 50px;

    background-color: var(--light-bg);

    color: #505866;

    font-size: 11px;

    font-weight: 600;

}


/* View Profile */

.startup-profile-link {

    color: var(--primary-color);

    font-size: 13px;

    font-weight: 700;

}


.startup-profile-link:hover {

    color: #174FD1;

}

.startup-profile-card {

    position: relative;

    overflow: hidden;

}


.startup-profile-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 24px;

    width: 38px;

    height: 3px;

    background-color: var(--primary-color);

    border-radius: 0 0 10px 10px;

}

/* =========================================
   Startups to Watch Responsive
========================================= */

@media (max-width: 767.98px) {

    .startup-profile-card {

        padding: 21px;

    }


    .startup-profile-card h3 {

        font-size: 20px;

    }


    .startup-profile-card p {

        min-height: auto;

    }

}


@media (max-width: 575.98px) {

    .startup-profile-logo {

        width: 48px;

        height: 48px;

        font-size: 19px;

    }

}