:root {
    --primary-color: #f8ae3a;
    --secondary-color: #f8ae3a;
    --background-color: #feebcc;
    --text-color: black;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    color: var(--text-color);
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


/* Header */

.top-bar {
    display: grid;
    grid-template: 1fr/repeat(2, 1fr);
    background-color: var(--primary-color);
}

.header {
    position: relative;
    z-index: 100;
}

.top-bar {
    position: relative;
    z-index: 200;
}

.left {
    display: flex;
    gap: 10px;
    margin-left: 50px;
}

.left h4 {
    margin-top: 20px;
    color: white;
}

.left img {
    width: 25px;
    height: 25px;
    margin: 15px;
}

.right {
    display: flex;
    gap: 10px;
    margin-left: 100px;
}

.right h4 {
    margin-top: 20px;
    color: white;
}

.right img {
    width: 25px;
    height: 25px;
    margin: 15px;
}

.divider {
    color: black;
}

.bottom-bar {
    display: grid;
    width: 100%;
    height: 100px;
    grid-template-columns: auto 1fr auto;
    justify-content: center;
    align-content: center;
    background-color: black;
    position: relative;
}

.logo {
    margin-left: 100px;
    justify-content: center;
    align-content: center;
    height: 80%;
    width: 150%;
}

li {
    padding-top: 20px;
    font-size: 18px;
    list-style: none;
}

.menus {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-content: center;
}

.menus a {
    color: white !important;
    text-decoration: none;
    padding: 20px;
    font-weight: bold;
}

.menus a:hover {
    text-decoration: none;
    background-image: linear-gradient(to right, #f8ae3a, #ffffff) !important;
    border-radius: 20px;
    color: black !important;
    padding: 20px;
}

.active {
    background-image: linear-gradient(to right, #f8ae3a, #ffffff) !important;
    border-radius: 20px;
}

.menus a.active {
    color: black !important;
}

.contact-button {
    background-color: var(--primary-color);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 20px;
}

.contact-button a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.contact-button a:hover {
    text-decoration: none;
    color: white;
}

.contact {
    margin-right: 100px;
    align-content: center;
}


/* 1. The Container (li) */


/* Essential: This keeps the dropdown anchored to this specific menu item */

li {
    position: relative;
    list-style: none;
    display: inline-block;
    /* Or flex, depending on your nav bar */
}


/* 2. The Main "Business" Link */

.business {
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.business a {
    color: white;
}


/* 3. The Dropdown Menu (Hidden by default) */

.submenu {
    display: none;
    /* Hidden by default */
    position: absolute;
    /* FULL WIDTH MAGIC */
    left: 0;
    width: 100%;
    /* Spans 100% of the .bottom-bar width */
    top: 80px;
    /* Push it down to clear the header height */
    background-color: black;
    /* Deep black/grey background */
    padding: 30px 10%;
    /* 10% side padding to align text with your logo */
    box-sizing: border-box;
    /* Ensures padding doesn't break the width */
    z-index: 999;
    /* Optional: The Gold top border seen in some designs */
    /* Layout: 2 Columns like the screenshot */
    grid-template-columns: 250px 250px;
    gap: 15px;
    align-content: center;
    justify-content: center;
    border-top: 2px solid #fdb913;
}


/* 4. The Hover Effect ( The Trigger ) */


/* When you hover the 'li', display the '.submenu' as a grid */

li:hover .submenu {
    display: grid;
}


/* Keep the main "Business" link yellow while the menu is open */

li:hover .business {
    color: var(--primary-color);
}


/* 5. Styling the Links INSIDE the dropdown */

.submenu a {
    color: white !important;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    transition: color 0.2s;
    font-weight: bold;
}


/* Hover color for the dropdown items */

.submenu a:hover {
    background-image: linear-gradient(to right, #f8ae3a, #ffffff);
    width: fit-content;
    padding: 15px;
    color: black !important;
    border-radius: 20px;
    /* Gold/Yellow accent */
}

.menus li {
    position: static;
}


/* Header Mobile view */


/* =========================
MOBILE OFFCANVAS MENU
========================= */

.mb-menu {
    display: none;
}


/* Hamburger */

.menu-btn {
    width: 30px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    height: 3px;
    background: white;
    margin: 6px 0;
}


/* Overlay - Fixed to prevent body scroll */

.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.offcanvas-overlay.mactive {
    opacity: 1;
    visibility: visible;
}


/* Offcanvas Menu - Fixed positioning and scrolling */

.offcanvas-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    /* Full viewport height */
    background-color: var(--primary-color);
    z-index: 1001;
    transition: left 0.4s ease;
    overflow: hidden;
    /* Prevent outer scroll */
    display: flex;
    flex-direction: column;
}

.offcanvas-menu.mactive {
    left: 0;
}


/* Header */

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    flex-shrink: 0;
    /* Prevent header from scrolling */
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.offcanvas-header img {
    width: 150px;
}

.close-btn {
    font-size: 28px;
    color: white;
    cursor: pointer;
    line-height: 0.6;
    padding: 8px;
    background: black;
    border-radius: 100%;
}


/* Links Container - This is the scrollable part */

.offcanvas-links {
    list-style: none;
    margin: 0;
    padding: 20px;
    flex: 1;
    /* Take remaining space */
    overflow-y: auto;
    /* Enable vertical scroll ONLY on menu items */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    display: flex;
    flex-direction: column;
}

.has-submenu {
    overflow: visible;
}


/* Custom scrollbar for offcanvas menu */

.offcanvas-links::-webkit-scrollbar {
    width: 6px;
}

.offcanvas-links::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.offcanvas-links::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.offcanvas-links::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

.offcanvas-links li {
    margin-top: -20px;
}

.offcanvas-links a,
.submenu-toggle {
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    padding: 10px 0;
}


/* Prevent body scroll when menu is open */

body.menu-open {
    overflow: hidden;
    position: fixed;
}


/* Submenu */

.mobile-submenu {
    display: none;
    margin-top: 10px;
    padding-left: 15px;
    overflow: scroll;
}

.mobile-submenu.mactive {
    display: block;
}

.mobile-submenu li {
    display: flex;
    flex-direction: column;
}

.mobile-submenu li a {
    font-size: 14px;
    font-weight: normal;
    color: black;
    padding: 8px 0;
}


/* Contact Button */

.contact-mobile {
    background: black;
    color: white !important;
    padding: 10px;
    border-radius: 20px;
    margin-top: 10px;
    text-align: center;
}


/* MOBILE ONLY */

@media (max-width: 768px) {
    .menus,
    .contact {
        display: none;
    }
    .mb-menu {
        display: block;
        position: absolute;
        right: 30px;
        top: 45px;
    }
    .top-bar {
        display: none;
    }
    .bottom-bar {
        display: flex;
        flex-direction: row;
        margin-top: -30px;
        ;
    }
    .logo {
        margin-right: 300px;
        height: 130px;
        width: 150px;
        padding: 10px;
    }
}


/* Body */


/* ════════════════════════════
     HERO
  ════════════════════════════ */

.hero {
    padding: 52px 40px 56px;
    text-align: center;
    overflow: visible;
}

.hero-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 7vw, 64px);
    font-weight: 900;
    color: var(--black);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.7s ease forwards 0.35s;
}


/* ════════════════════════════
CARDS FAN
════════════════════════════ */

.cards-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 40px;
    padding: 20px 0 28px;
    position: relative;
    min-height: 240px;
}

.card {
    width: 130px;
    height: 190px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    opacity: 0;
    transition: transform 0.35s cubic-bezier(.22, 1, .36, 1), box-shadow 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.card:nth-child(1) {
    transform: rotate(-14deg) translateY(10px);
    animation: cardIn 0.7s cubic-bezier(.22, 1, .36, 1) forwards 0.5s;
    margin-right: -18px;
    z-index: 1;
}

.card:nth-child(2) {
    transform: rotate(-7deg) translateY(4px);
    animation: cardIn 0.7s cubic-bezier(.22, 1, .36, 1) forwards 0.62s;
    margin-right: -18px;
    z-index: 2;
}

.card:nth-child(3) {
    transform: rotate(0deg) translateY(0px);
    animation: cardIn 0.7s cubic-bezier(.22, 1, .36, 1) forwards 0.74s;
    z-index: 5;
    width: 145px;
    height: 210px;
}

.card:nth-child(4) {
    transform: rotate(7deg) translateY(4px);
    animation: cardIn 0.7s cubic-bezier(.22, 1, .36, 1) forwards 0.86s;
    margin-left: -18px;
    z-index: 2;
}

.card:nth-child(5) {
    transform: rotate(14deg) translateY(10px);
    animation: cardIn 0.7s cubic-bezier(.22, 1, .36, 1) forwards 0.98s;
    margin-left: -18px;
    z-index: 1;
}

.card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    z-index: 10 !important;
}

.card:nth-child(1):hover {
    transform: rotate(-14deg) translateY(-16px);
}

.card:nth-child(2):hover {
    transform: rotate(-7deg) translateY(-16px);
}

.card:nth-child(3):hover {
    transform: rotate(0deg) translateY(-16px);
}

.card:nth-child(4):hover {
    transform: rotate(7deg) translateY(-16px);
}

.card:nth-child(5):hover {
    transform: rotate(14deg) translateY(-16px);
}


/* The card IS the image — fills entire card */

.card>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.card-label {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 20px;
    color: var(--black);
    white-space: nowrap;
}


/* ════════════════════════════
DESC + CTA
════════════════════════════ */

.hero-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 380px;
    margin: 0 auto 24px;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 1.1s;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: black;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.06em;
    padding: 12px 28px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.2s;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 1.2s;
    -webkit-tap-highlight-color: transparent;
}

.cta-btn:hover {
    background: black;
    color: var(--primary-color);
    transform: scale(1.04);
}

.cta-btn:active {
    transform: scale(0.97);
}


/* ════════════════════════════
KEYFRAMES
════════════════════════════ */

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.88);
    }
    to {
        opacity: 1;
    }
}


/* ════════════════════════════
TABLET  ≤ 768px
════════════════════════════ */

@media (max-width: 768px) {
    body {
        padding: 24px 14px;
    }
    .hero {
        padding: 40px 24px 48px;
    }
    .card {
        width: 108px;
        height: 160px;
        border-radius: 12px;
    }
    .card:nth-child(3) {
        width: 122px;
        height: 176px;
    }
    .card:nth-child(1),
    .card:nth-child(2) {
        margin-right: -14px;
    }
    .card:nth-child(4),
    .card:nth-child(5) {
        margin-left: -14px;
    }
    .cards-row {
        min-height: 200px;
        padding: 16px 0 24px;
    }
}


/* ════════════════════════════
MOBILE  ≤ 480px
════════════════════════════ */

@media (max-width: 480px) {
    body {
        padding: 0;
        align-items: flex-start;
    }
    .hero {
        padding: 32px 16px 44px;
    }
    .hero-eyebrow {
        font-size: 13px;
    }
    .hero-title {
        font-size: clamp(26px, 9vw, 40px);
        margin-bottom: 28px;
    }
    .cards-row {
        min-height: 165px;
        padding: 12px 0 20px;
        margin-bottom: 28px;
    }
    .card {
        width: 80px;
        height: 120px;
        border-radius: 10px;
    }
    .card:nth-child(3) {
        width: 92px;
        height: 135px;
    }
    .card:nth-child(1) {
        margin-right: -12px;
    }
    .card:nth-child(2) {
        margin-right: -12px;
    }
    .card:nth-child(4) {
        margin-left: -12px;
    }
    .card:nth-child(5) {
        margin-left: -12px;
    }
    .card-label {
        font-size: 7px;
        padding: 2px 6px;
        top: 7px;
    }
    .hero-desc {
        font-size: 11px;
        max-width: 92%;
    }
    .cta-btn {
        padding: 13px 32px;
        font-size: 11px;
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
}


/* ════════════════════════════
VERY SMALL  ≤ 360px
════════════════════════════ */

@media (max-width: 360px) {
    .card {
        width: 64px;
        height: 100px;
    }
    .card:nth-child(3) {
        width: 74px;
        height: 112px;
    }
    .card:nth-child(1),
    .card:nth-child(2) {
        margin-right: -10px;
    }
    .card:nth-child(4),
    .card:nth-child(5) {
        margin-left: -10px;
    }
}


/* Hero Section */

.hero-container {
    display: grid;
    grid-template: 1fr / repeat(3, 1fr);
    gap: 50px;
    font-size: 12px;
    align-content: center;
    justify-content: center;
    margin-left: 15px;
    overflow: hidden;
}

.divider {
    border-color: black;
}

.premium {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    width: 400px;
}

.premium h2 {
    font-weight: bold;
}

.blog1 {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.blog1-title p {
    color: var(--primary-color);
    font-weight: bold;
}

.blog1-title h4 {
    line-height: 1.5em;
}

.blog1-title a {
    text-decoration: none;
    color: black;
}

.blog1-title a:hover {
    color: black;
}

.blog1-img img {
    height: 100px;
    width: 100px;
    border-radius: 100%;
}

.main {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    width: 600px;
}

.main h1 {
    font-weight: bold;
}

.main-img img {
    height: 400px;
    width: 600px;
}

.main a {
    text-decoration: none;
    color: black;
}

.main a:hover {
    color: black;
}

.main-grid {
    display: grid;
    grid-template: 1fr/repeat(2, 1fr);
    align-content: center;
    justify-content: center;
    column-gap: 30px;
}

.left-grid h4 {
    font-weight: bold;
    line-height: 1.5em;
    font-size: 14px;
}

.left-grid img {
    height: 200px;
    width: 300px;
}

.right-grid {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

.latest-new-container {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    width: 400px;
    margin-top: 50px;
    overflow: hidden;
    gap: 20px;
}

.news h2 {
    font-weight: bold;
}

.simple-timeline {
    position: relative;
}


/* Vertical line */

.simple-timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    height: 100%;
    width: 2px;
    background: black;
}

.dot {
    width: 20px;
    height: 20px;
    border: 2px solid black;
    border-radius: 50%;
    background: white;
    margin-bottom: 100px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0);
    backdrop-filter: blur(1px);
}

.dot-active {
    background: var(--primary-color);
}


/* Ad Banner */

.ad-banner {
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 30px;
    padding-bottom: 50px;
}

.ad-banner img {
    height: 150px;
    width: 100%;
}

.ad-banner p {
    text-align: center;
}


/* Youtube section */

.video-section {
    background: #000;
    color: #fff;
    padding: 30px;
    font-family: Arial;
}

.section-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.video-logo {
    padding: 3px 6px;
    margin-right: 6px;
}

.video-logo img {
    height: 50px;
    width: 50px;
}

.video-wrapper {
    display: flex;
    gap: 20px;
}


/* LEFT */

.main-video {
    width: 70%;
}

.main-video iframe {
    width: 100%;
    height: 470px;
    margin-left: 0px;
    ;
}

.main-video h3 {
    margin-top: 10px;
    font-size: 20px;
}


/* RIGHT */

.video-list {
    width: 30%;
    max-height: 460px;
    overflow-y: auto;
    padding-right: 50px;
}

.video-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    padding: 6px;
}

.video-item img {
    width: 120px;
    height: 70px;
    object-fit: cover;
}

.video-item p {
    font-size: 14px;
    color: white;
}

.video-item:hover,
.video-item.video-active {
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 20px;
}

.video-item:hover p,
.video-item.video-active p {
    color: black;
    font-weight: bold;
}

.view-all-btn {
    margin-left: 500px;
}

.view-all-btn button {
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 30px;
}

.view-all-btn a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.view-all-btn a:hover {
    text-decoration: none;
    color: black;
}


/* SCROLL */

.video-list::-webkit-scrollbar {
    width: 5px;
}

.video-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}


/* Ad Banner */

.ad-banner-2 {
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 80px;
    padding-bottom: 30px;
}

.ad-banner-2 img {
    height: 150px;
    width: 100%;
}

.ad-banner-2 p {
    text-align: center;
}


/* Hero Section 2 */

.simple-timeline-2 {
    position: relative;
    margin-top: 30px;
}


/* Vertical line */

.simple-timeline-2::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    height: 100%;
    width: 2px;
    background: black;
}

.dot-2 {
    width: 20px;
    height: 20px;
    border: 2px solid black;
    border-radius: 50%;
    background: white;
    margin-bottom: 120px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0);
    backdrop-filter: blur(1px);
}

.dot-active {
    background: var(--primary-color);
}

.news1 {
    padding-top: 20px;
    ;
}

.news1 a {
    color: black;
}

.news1 a:hover {
    color: black;
}


/* Techmedia blog section */

.techmedia-blogs {
    padding: 50px;
}

.techmedia-blogs h2 {
    text-align: center;
    font-weight: bold;
    padding-bottom: 20px;
}

.techmedia-blogs-container {
    display: grid;
    grid-template: 1fr/repeat(4, 1fr);
    align-content: center;
    justify-content: center;
}

.blog-1 h5 {
    color: var(--primary-color);
    font-weight: bold;
}

.blog-1 a h3 {
    text-decoration: none;
    color: black;
    line-height: 1.5em;
}

.blog-1 a h3:hover {
    text-decoration: underline;
    line-height: 1.5em;
}

.blog-1B h5 {
    color: var(--primary-color);
    font-weight: bold;
}

.blog-1B a h3 {
    text-decoration: none;
    color: black;
    line-height: 1.5em;
    padding: 20px;
}

.blog-1B a h3:hover {
    text-decoration: underline;
    line-height: 1.5em;
}


/* ── SECTION ── */


/* ═══════════════════════════════
   INSTAGRAM REELS SECTION
═══════════════════════════════ */

.shorts-section {
    padding: 40px 60px;
    font-family: Arial, sans-serif;
}

.shorts-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.shorts-header h2 {
    font-size: 26px;
    color: black;
    margin: 0;
}

.video-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}


/* GRID — 5 equal columns, single row */

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}


/* CARD */

.short-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
}


/* THUMB — 9:16 portrait ratio */

.short-thumb {
    position: relative;
    width: 100%;
    padding-top: 177%;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
}

.short-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Gradient placeholder fills the thumb */

.reel-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}


/* OVERLAY — sits on top, handles click */

.reel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.short-card:hover .reel-overlay {
    background: rgba(0, 0, 0, 0.45);
}


/* PLAY BUTTON */

.play-btn {
    background: rgba(0, 0, 0, 0.65);
    color: white;
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    transition: transform 0.2s ease;
}

.short-card:hover .play-btn {
    transform: scale(1.1);
}


/* LABEL */

.short-card p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #222;
}

.short-card:hover p {
    text-decoration: underline;
}


/* SEE MORE */

.see-more {
    text-align: center;
    margin-top: 25px;
}

.see-more button {
    background-color: var(--primary-color);
    padding: 10px 28px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
}

.see-more a {
    text-decoration: none;
    font-weight: bold;
    color: black;
}

.see-more a:hover {
    color: white;
}


/* ── POPUP ── */

.short-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}


/* POPUP BOX */

.popup-content {
    position: relative;
    width: 400px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}


/* TOP BAR */

.popup-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111;
    padding: 10px 14px;
    flex-shrink: 0;
}


/* Watch on Instagram button */

.ig-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    font-family: Arial, sans-serif;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    padding: 7px 16px;
    border-radius: 20px;
    transition: opacity 0.2s;
}

.ig-open-btn:hover {
    opacity: 0.85;
    color: white;
}


/* Close button */

.close-btn {
    background: white;
    color: black;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    user-select: none;
    transition: background 0.2s;
}

.close-btn:hover {
    background: #eee;
}


/* Popup iframe */

#reelEmbedContainer iframe {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}


/* ── RESPONSIVE ── */

@media (max-width: 1024px) {
    .shorts-section {
        padding: 40px 30px;
    }
}

@media (max-width: 900px) {
    .shorts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .shorts-section {
        padding: 24px 16px;
    }
    .shorts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .popup-content {
        width: 95vw;
    }
    #reelEmbedContainer iframe {
        height: 72vh;
    }
    .ig-open-btn {
        font-size: 11px;
        padding: 6px 10px;
    }
    .play-btn {
        font-size: 16px;
        width: 38px;
        height: 38px;
    }
}


/* Techmedia blog section 2 */

.techmedia-blogs2 {
    margin-top: -30px;
    padding: 50px;
}

.techmedia-blogs2 h2 {
    text-align: center;
    font-weight: bold;
    padding: 20px;
    ;
}


/* Hero Banner */

.banner-container img {
    width: 100%;
    height: 100%;
}


/* Footer */

.footer {
    background-color: black;
}

.footer-container {
    padding: 50px;
    display: grid;
    grid-template: 1fr/repeat(4, 1fr);
    align-content: center;
    justify-content: center;
    gap: 30px;
}

.about-company h3 {
    font-weight: bold;
    background-color: var(--primary-color);
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
}

.about-company p {
    color: white;
    line-height: 2em;
    width: 300px;
}

.about-company img {
    height: 100px;
    width: 200px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.our-business h3 {
    font-weight: bold;
    background-color: var(--primary-color);
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
}

.quick-links {
    margin-left: 50px;
    ;
}

.quick-links h3 {
    font-weight: bold;
    background-color: var(--primary-color);
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
}

.links li {
    display: flex;
    flex-direction: row;
    list-style: none;
}

.links li a {
    color: white;
    text-decoration: none;
}

li a:hover {
    background-image: linear-gradient(to right, #f8ae3a, #ffffff) !important;
    color: black;
    padding: 10px;
    border-radius: 20px;
    font-weight: bold;
}

.contact-details h3 {
    font-weight: bold;
    background-color: var(--primary-color);
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
}

.contact-details li {
    display: flex;
    flex-direction: row;
    gap: 10px;
    color: white;
}

.contact-details li img {
    height: 20px;
    width: 20px;
    margin-top: 5px;
}

.contact-details li p {
    color: white;
}

.copyright p {
    color: white;
    margin-left: 600px;
    padding-bottom: 30px;
}

.mobile-copyright {
    color: #f8ae3a;
}


/* Mobile Footer */

@media (max-width: 768px) {
    .footer-container {
        display: grid;
        grid-template: 4fr/ 1fr;
        padding: 50px;
    }
    .about-company {
        text-align: center;
    }
    .about-company h3 {
        margin-left: 90px;
    }
    .about-company p {
        font-size: 18px;
        margin-left: 40px;
    }
    .our-business {
        padding: 30px;
    }
    .our-business h3 {
        font-size: 18px;
    }
    .our-business li {
        font-size: 14px;
        padding-left: 10px;
    }
    .quick-links {
        margin-left: 130px;
        margin-top: -410px;
        padding: 30px;
    }
    .quick-links h3 {
        font-size: 18px;
        margin-left: 50px;
        white-space: nowrap;
    }
    .quick-links li {
        margin-left: 90px;
        font-size: 15px;
    }
    .contact-details {
        margin-top: -20px;
        padding-left: 20px;
    }
    .contact-details h3 {
        margin-left: 100px;
        text-align: center;
    }
    .address p {
        text-align: center;
        font-size: 16px;
        padding-left: 10px;
        padding-right: 30px;
        line-height: 2em;
    }
    .mail p {
        text-align: center;
        font-size: 16px;
        padding-left: 10px;
        padding-right: 30px;
        line-height: 2em;
    }
    .footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .copyright {
        display: none;
    }
    .mobile-copyright p {
        color: white;
        padding: 10px;
    }
}


/* =============================================
   MOBILE — EXACT DESKTOP LAYOUT REPLICA
   Max-width: 768px
   ============================================= */

@media (max-width: 768px) {
    /* === GLOBAL === */
    html,
    body {
        overflow-x: hidden;
    }
    /* === GLOBE / WIKI SECTION === */
    .wiki-container {
        max-width: 100%;
        padding: 0 4px;
        overflow: hidden;
    }
    .top-title {
        margin-top: 15px;
        font-size: 13px;
        padding: 6px 14px;
    }
    .wiki-layout {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0;
        width: 100%;
        overflow: hidden;
    }
    /* LEFT SIDE */
    .left-side {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        width: auto;
        height: auto;
    }
    .left-side h3 {
        font-size: 8px;
        padding: 4px 2px;
        white-space: nowrap;
        font-weight: 700;
    }
    .item-l1 {
        padding-left: 0;
        padding-right: 0;
        align-self: flex-end;
    }
    .item-l2 {
        padding-left: 0;
        padding-right: 0;
        align-self: center;
    }
    .item-l3 {
        padding-left: 0;
        padding-right: 0;
        align-self: flex-start;
    }
    .item-l4 {
        padding-left: 0;
        padding-right: 0;
        align-self: center;
    }
    .item-l5 {
        padding-left: 0;
        padding-right: 0;
        align-self: flex-end;
    }
    /* CENTER VIDEO */
    .center {
        width: 130px;
        height: 130px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .center video {
        width: 180px;
        height: 100px;
        /* border-radius: 50%; */
        object-fit: cover;
        background: black;
    }
    /* RIGHT SIDE */
    .right-side {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: auto;
        height: auto;
    }
    .right-side h3 {
        font-size: 8px;
        padding: 4px 2px;
        white-space: nowrap;
        font-weight: 700;
    }
    .item-r1 {
        padding-right: 0px;
        padding-left: 0;
        align-self: flex-start;
    }
    .item-r2 {
        padding-right: -50px;
        padding-left: 30px;
        align-self: center;
    }
    .item-r3 {
        padding-right: -50px;
        padding-left: 150px;
        align-self: flex-end;
    }
    .item-r4 {
        padding-right: 0;
        padding-left: 0;
        align-self: center;
    }
    .item-r5 {
        padding-right: 0;
        padding-left: 0;
        align-self: flex-start;
    }
    .bottom-btn {
        margin-top: 10px;
        font-size: 12px;
        padding: 7px 14px;
    }
    /* === HERO SECTION — 3 COLUMN LIKE DESKTOP === */
    .hero-section {
        padding: 0 5px;
        overflow: hidden;
    }
    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 30px;
        width: 100%;
        font-size: 18px;
        overflow: hidden;
    }
    /* Premium column */
    .premium {
        width: 100%;
        margin-top: -30px;
    }
    .premium h2 {
        font-size: 18px;
    }
    .blog1 {
        flex-direction: column;
        gap: 4px;
    }
    .blog1-title p {
        font-size: 18px;
    }
    .blog1-title h4 {
        font-size: 16px;
        line-height: 1.3;
    }
    .blog1-img img {
        height: 100%;
        width: 100%;
        padding-right: 20px;
        border-radius: 0%;
    }
    /* Main center column */
    .main {
        width: 100%;
    }
    .main h1 {
        font-size: 20px;
        line-height: 1.3;
        color: black;
    }
    .main p {
        font-size: 16px;
    }
    .main-img img {
        width: 100%;
        height: auto;
    }
    .main-grid {
        grid-template: auto / repeat(2, 1fr);
        gap: 5px;
    }
    .left-grid h4 {
        font-size: 14px;
        line-height: 1.3;
    }
    .left-grid img {
        width: 100%;
        height: auto;
    }
    .right-grid h4 {
        font-size: 12px;
        line-height: 1.3;
    }
    /* ===================================================
       LATEST NEWS — THE HINDU STYLE MOBILE CARD LIST
       =================================================== */
    /* Hide the entire latest-new column from the 3-col grid
       and render it as a standalone full-width section below */
    .latest-new {
        grid-column: 1 / -1;
        /* span all 3 columns */
        width: 100%;
        margin-top: 10px;
        border-top: 2px solid var(--primary-color);
    }
    .latest-new-container {
        margin-top: 0px;
        margin-left: -30px;
    }
    /* ── TIMELINE COLUMN (left vertical line + dots) ── */
    .simple-timeline,
    .simple-timeline-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        flex-shrink: 0;
        width: 20px;
        padding-top: 52px;
        /* push dots down below the "Latest News" heading */
    }
    /* The vertical line running through all dots */
    .simple-timeline::before,
    .simple-timeline-2::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 52px;
        transform: translateX(-50%);
        width: 1.5px;
        height: calc(100% - 52px);
        background: #ccc;
    }
    /* Dots */
    .dot,
    .dot-2 {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 2px solid #aaa;
        background: white;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
        /* Each dot must align with its news1 row.
             news1 row = ~72px tall (p 14px*1.2 + h4 3 lines*16px + padding 12px top+bottom) */
        margin-bottom: 60px;
    }
    .dot-active,
    .dot.dot-active,
    .dot-2.dot-active {
        background: var(--primary-color);
        border-color: var(--primary-color);
    }
    /* ── NEWS COLUMN (takes all remaining width) ── */
    .news {
        flex: 1;
        min-width: 0;
        max-width: 100%;
        width: 100%;
        padding-left: -50px;
        padding-right: 50px;
    }
    /* Section heading — "Latest News" in red/gold like The Hindu */
    .news h2 {
        font-size: 18px;
        font-weight: 800;
        color: var(--primary-color);
        padding: 0 0 10px 10px;
        margin-bottom: 0;
        letter-spacing: -0.3px;
        border-bottom: 2px solid #e8e8e8;
        text-transform: none;
    }
    /* Hide the <hr> tags — we use border-bottom on .news1 instead */
    .news>hr {
        display: none;
    }
    /* Each news row */
    .news1 {
        display: flex;
        flex-direction: column;
        padding: 10px 0 10px 10px;
        border-bottom: 1px solid #e8e8e8;
        gap: 4px;
    }
    /* Timestamp + category — small muted text like The Hindu */
    .news1>p {
        font-size: 11px;
        font-weight: 400;
        color: #888;
        margin: 0;
        line-height: 1.3;
        text-transform: none;
        letter-spacing: 0;
    }
    /* Headline — bold, readable, 2-line clamp */
    .news1>h4 {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.45;
        margin: 0;
        color: #111;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    /* === AD BANNERS === */
    .ad-banner {
        padding: 10px 15px 5px;
    }
    .ad-banner img {
        height: auto;
        width: 100%;
        object-fit: contain;
        border-radius: 8px;
        display: block;
    }
    .ad-banner p {
        font-size: 10px;
        text-align: center;
        color: black;
        margin-top: 4px;
    }
    .ad-banner-2 {
        padding: 10px 15px 5px;
    }
    .ad-banner-2 img {
        height: auto;
        width: 100%;
        object-fit: contain;
        border-radius: 8px;
        display: block;
        margin-top: 30px;
    }
    .ad-banner-2 p {
        font-size: 10px;
        text-align: center;
        color: black;
        margin-top: 4px;
    }
    /* === YOUTUBE VIDEO SECTION === */
    .video-section {
        padding: 15px 8px;
    }
    .section-title {
        font-size: 13px;
    }
    .video-logo img {
        height: 28px;
        width: 28px;
    }
    .video-wrapper {
        display: flex;
        flex-direction: row;
        gap: 30px;
    }
    .main-video {
        width: 65%;
    }
    .main-video iframe {
        width: 250px;
        height: 140px;
    }
    .main-video h3 {
        font-size: 9px;
        color: white;
        margin-top: 5px;
    }
    .video-list {
        width: 35%;
        max-height: 160px;
        overflow-y: auto;
        padding-right: 0;
    }
    .video-item {
        flex-direction: column;
        gap: 4px;
        margin-bottom: 6px;
        padding: 4px;
    }
    .video-item img {
        width: 100%;
        height: 50px;
        object-fit: cover;
    }
    .video-item p {
        font-size: 8px;
        line-height: 1.2;
    }
    .view-all-btn {
        margin-left: 0;
        text-align: right;
        margin-top: 8px;
    }
    .view-all-btn button {
        padding: 6px 12px;
        font-size: 10px;
    }
    /* === TECHMEDIA BLOGS (both) === */
    .techmedia-blogs {
        padding: 15px 8px;
    }
    .techmedia-blogs h2 {
        font-size: 14px;
        padding-bottom: 10px;
    }
    .techmedia-blogs-container {
        grid-template: auto / repeat(4, 1fr);
        gap: 8px;
    }
    .blog-1 img {
        width: 100%;
        height: 70px;
        object-fit: cover;
    }
    .blog-1 h5 {
        font-size: 8px;
    }
    .blog-1 a h3 {
        font-size: 9px;
        line-height: 1.3;
    }
    .techmedia-blogs2 {
        margin-top: 0;
        padding: 15px 8px;
    }
    .techmedia-blogs2 h2 {
        font-size: 14px;
        padding: 10px;
    }
    /* === YOUTUBE SHORTS === */
    .shorts-section {
        padding: 15px 8px;
    }
    .shorts-header {
        margin-bottom: 10px;
    }
    .shorts-header h2 {
        font-size: 14px;
    }
    .shorts-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
    }
    .short-thumb img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .short-card p {
        font-size: 8px;
        margin-top: 4px;
    }
    .short-icon {
        font-size: 9px;
        padding: 3px 5px;
    }
    .see-more {
        margin-top: 12px;
    }
    .see-more button {
        padding: 6px 14px;
        font-size: 10px;
    }
    /* === HERO BANNER === */
    .banner-container img {
        width: 100%;
        height: auto;
        display: block;
    }
}