*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}


:root {

    /* Backgrounds */
    --bg-main: #ffffff;
    --bg-card: #f8fbff;

    /* Text */
    --text-main: #ff5107;
    --text-muted: #64748b;

    /* Accent */
    --accent: #006d9b;
--heading-font: 'Poppins', sans-serif;
--body-font: 'Inter', sans-serif;
--code-font: 'JetBrains Mono', monospace;

}

@font-face {
  font-family: "Gareny";
  src: url("../fonts/Gareny.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {

    background:

        radial-gradient(
            circle at 15% 20%,
            rgba(44, 150, 255, 0.1),
            transparent 40%
        ),

        radial-gradient(
            circle at 85% 30%,
            rgba(255, 231, 96, 0.18),
            transparent 45%
        ),

        radial-gradient(
            circle at 60% 80%,
            rgba(255,159,26,0.10),
            transparent 50%
        ),

        #ffffff;

    color: var(--text-main);
    font-family: var(--body-font);
    margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    letter-spacing: -0.02em; 
}
/* Navbar Styles */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: linear-gradient(
        135deg,
        rgba(24, 86, 255, 0.034),
        rgba(255, 157, 0, 0.068)
    );

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(56,189,248,0.15);
}

/* Navbar layout */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Hamburger icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}



/* added this for logo images */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 5px;
}



.logo-icon {
    padding: 8px;
    height: 65px;
    display: block;
}

.logo-text {
    font-family: "Gareny", sans-serif;
    font-size: 50px;
    font-weight: 600;
    white-space: nowrap; 
    letter-spacing: 0px;
}


.vid {
    color: #006d9b; 
}

.ur {
    color: #ffb703; 
}
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.hero-section h1 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.hero-section p {
    color: var(--text-muted);
    font-size: 0.8rem;
}
.h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    letter-spacing: -0.02em; 
}
.hero-title {
   letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: 1.5rem;
    margin: 0%;
    font-family: var(--heading-font);
    color: var(--accent);
}
.carousel {
    position: relative;
    width: 90%;
    max-width: 1500px;

    /* TRUE 16:9 RATIO */
    aspect-ratio: 16 / 9;

    margin: 2rem auto;
    overflow: hidden;

    border-radius: 14px;

    /* subtle depth */
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);

    background: #020617; /* fallback background */
}

/* Track (slides container) */
.carousel-track {
    display: flex;
    transition: transform 1.2s ease-in-out;
}

/* Images */
.slide {
    min-width: 100%;
    height: 100%;

    object-fit: contain; 
    object-position: center;

    background: #020617;
}

/* Navigation arrows */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    background: rgba(2,6,23,0.7);
    backdrop-filter: blur(6px);

    border: none;
    color: white;

    font-size: 20px;
    padding: 12px 16px;

    cursor: pointer;
    border-radius: 8px;

    transition: all 0.25s ease;
}

.prev:hover,
.next:hover {
    background: rgba(56,189,248,0.2);
}

.prev {
    left: 12px;
}

.next {
    right: 12px;
}


/* Timeline Styles */
.timeline-section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid rgba(56, 189, 248, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -2.6rem;
    top: 1rem;
    width: 1rem;
    height: 1rem;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.timeline-content {
    background-color: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.timeline-content .date {
    display: block;
    font-family: var(--code-font);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    margin: 0.5rem 0;
    font-size: 1.5rem;
    color: var(--text-main);
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    transition: letter-spacing 0.3s ease;
}

.read-more:hover {
    letter-spacing: 1px;
}

/* Categories Section */
.categories-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem 4rem;
    text-align: center;
}

.categories-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.category-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    background-color: rgba(56, 189, 248, 0.1);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.category-card h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-muted);
    margin: 0;
}

/* Home Page Styles */

/* Hero Home */
.hero-home {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--text-main);
    margin: 0rem;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.hero-tagline {
    font-size: 1rem;
    color: var(--accent);
    font-family: var(--code-font);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.cta-button {
    padding: 0.8rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}
.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
/*News letter*/
.newsletter-section {
    max-width: 700px;
    margin: 3rem auto;
    padding: 0 2rem;
    text-align: center;
}

.newsletter-card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.1);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.1);
    background-color: var(--bg-dark);
    color: var(--text-main);
}

/* Primary */
.cta-button.primary {
    background-color: var(--accent);
    color: white;
}

.cta-button.primary:hover {
    box-shadow: 0 0 15px var(--accent);
    transform: translateY(-2px);
}

/* Secondary */
.cta-button.secondary {
    border: 1px solid var(--accent);
    color: var(--accent);
}

.cta-button.secondary:hover {
    background-color: rgba(56, 189, 248, 0.1);
    transform: translateY(-2px);
}

/* Tertiary */
.cta-button.tertiary {
    background: transparent;
    border: 1px dashed var(--text-muted);
    color: var(--text-muted);
}

.cta-button.tertiary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}



/* Stats Section */
.stats-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.7),
            #006d9b1e,
             rgba(255, 174, 11, 0.116)
        );

    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(226,232,240,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.3);
}

.stat-card h2 {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.stat-card .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-family: var(--code-font);
}

.stat-card p {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ticker Section */
.ticker-section {
    background-color: var(--bg-card);
    padding: 2rem 0;
    overflow: hidden;
    margin-top: 4rem;
    border-top: 1px solid rgba(226, 232, 240, 0.05);
}

.ticker-wrapper h3 {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ticker {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-inner {
    display: flex;
    animation: scroll 20s linear infinite;
}

.ticker-item {
    font-family: var(--code-font);
    font-size: 1.2rem;
    color: var(--text-main);
    margin: 0 2rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.ticker-item:hover {
    opacity: 1;
    color: var(--accent);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}
/* =========================
   Leaderboard – Soft Glass Style
========================= */

.leaderboard-section {
    padding: 3rem 1.5rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

/* Outer card */
.leaderboard-container {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.8),
        rgba(0, 109, 155, 0.05),
        rgba(255, 183, 3, 0.08)
    );
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(0, 109, 155, 0.12);
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
}

/* Table */
.leaderboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px; /* space between rows */
    color: var(--text-main);
}

/* Header */
.leaderboard-table th {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 1rem;
    text-align: left;
}

/* Table rows as soft cards */
.leaderboard-table tbody tr {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.9),
        rgba(0, 109, 155, 0.03)
    );
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: all 0.25s ease;
}

/* Rounded row effect */
.leaderboard-table td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.leaderboard-table td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Cell styles */
.leaderboard-table td {
    padding: 1rem;
    border: none;
}

/* Hover effect */
.leaderboard-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Rank badge */
.rank-badge {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    border-radius: 50%;
    font-weight: 700;
    background: rgba(0, 109, 155, 0.08);
    color: var(--accent);
}

/* Top 3 styles */
.rank-1 .rank-badge {
    background: linear-gradient(135deg, #ffd700, #ffb703);
    color: white;
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.5);
}

.rank-2 .rank-badge {
    background: linear-gradient(135deg, #c0c0c0, #9ca3af);
    color: white;
}

.rank-3 .rank-badge {
    background: linear-gradient(135deg, #cd7f32, #a16207);
    color: white;
}

/* Agent info */
.agent-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.agent-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(
        135deg,
        rgba(0, 109, 155, 0.1),
        rgba(255, 183, 3, 0.15)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent);
    border: 1px solid rgba(0, 109, 155, 0.2);
}
/* =========================
   Responsive Styles
========================= */

/* Tablet */
@media (max-width: 992px) {

    .nav-container {
        padding: 0 1rem;
        justify-content: space-between;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .carousel {
        width: 90%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* Navbar */
    .nav-container {
        gap: 1rem;
        padding: 1rem;
    }

    .nav-right {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    /* Logo */
    .logo-text {
        font-size: 36px;
    }

    .logo-icon {
        height: 40px;
    }

    /* Hero */
    .hero-home {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        max-width: 250px;
    }

    /* Carousel */
    .carousel {
        width: 95%;
        aspect-ratio: 16 / 10;
    }

    .prev,
    .next {
        font-size: 16px;
        padding: 8px 10px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card .number {
        font-size: 2.2rem;
    }

    /* Timeline */
    .timeline-section {
        padding: 0 1rem;
    }

    .timeline {
        padding-left: 1.2rem;
    }

    .timeline-dot {
        left: -2rem;
    }

    /* Categories */
    .category-grid {
        grid-template-columns: 1fr;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 0 1rem;
    }

    .newsletter-card {
        padding: 1.5rem;
    }

    /* Leaderboard */
    .leaderboard-section {
        padding: 1rem;
    }

    .leaderboard-table th,
    .leaderboard-table td {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
}

/* Small phones */
@media (max-width: 480px) {

    .hero-title {
        font-size: 1.6rem;
    }

    .logo-text {
        font-size: 28px;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }
}
/* =========================
   Tablet Fix (768px–1024px)
========================= */
@media (max-width: 1024px) {

    /* Navbar layout */
    .nav-container {
        padding: 1rem 1.5rem;
        justify-content: space-between;
    }

    .nav-right {
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Logo scaling */
    .logo-text {
        font-size: 40px;
    }

    .logo-icon {
        height: 45px;
    }

    /* Hero section */
    .hero-home {
        padding: 2.5rem 1.5rem;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    /* Buttons wrap instead of overflow */
    .hero-cta {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }

    /* Carousel scaling */
    .carousel {
        width: 92%;
        aspect-ratio: 16 / 10;
    }

    /* Stats layout */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-card .number {
        font-size: 2.5rem;
    }

    /* Category grid */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Timeline spacing */
    .timeline-section {
        padding: 0 1.5rem;
    }
}
/* =========================
   Mobile Navbar (Hamburger Right)
========================= */
@media (max-width: 768px) {

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.2rem;
        flex-direction: row; /* force single row */
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;   /* pushes it to the right */
        top: 22px;
        z-index: 1100;
    }

    .nav-right {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;

        background: white;
        backdrop-filter: blur(10px);

        flex-direction: column;
        align-items: center;
        padding: 1.5rem 0;

        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;

        transition: transform 0.35s ease, opacity 0.35s ease;
    }

    .nav-right.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }
}

