/* 
 * Edyant - Global Stylesheet
 * Contains common styles used across all pages 
 */

/* ======= RESET & BASE STYLES ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 75%;
    scroll-behavior: smooth;
}
body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

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

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ======= TYPOGRAPHY ======= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #333333;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.2;
}

h2 {
    font-size: 1.75rem;
    font-weight: 400;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ======= BUTTONS ======= */
.btn {
    display: inline-block;
    padding: 9px 21px;
    background-color: #333333;
    color: #ffffff;
    border: none;
    /*border-radius: 4px;*/
    font-size: 10px;
    letter-spacing: 0.75px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
}

.btn-small {
    padding: 8px 16px;
}

.btn:hover {
    background-color: #555555;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #333333;
    color: #333333;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: #f5f5f5;
}


/* ======= HEADER STYLES ======= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
    padding: 0 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 700;
    color: #333333;
    text-decoration: none;
    letter-spacing: 0.75px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 0;
}

.logo img {
    height: 30px;
    width: auto;
    position: relative;
    top: 1.5px;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    position: relative;
    margin-left: 22px;
}

nav ul li a {
    color: #333333;
    text-decoration: none;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #777777;
}

/* ======= HERO SECTION ======= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: 45px;
}

.hero-content {
    width: 50%;
    padding-left: 3.75%;
    z-index: 2;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
}

/* ======= SECTION STYLES ======= */
.section {
    padding: 60px 0;
}

.section-offset {
    margin-top: 80px;
}

.analytics-preview {
    padding: 50px 0;
}


.section-title {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: #333333;
    margin-bottom: 10px;
    position: relative;
    text-align: center;
    width: auto;
}

.section-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #666666;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

/* ======= CARD & CONTENT BOXES ======= */
.content-box {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* ======= TESTIMONIALS ======= */
.testimonials {
    padding: 50px 0;
    background-color: #f8f8f8;
}

.testimonial-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 0;
}

.testimonial-text {
    font-size: 1.0rem;
    line-height: 1.6;
    color: #555555;
    font-style: italic;
}

.testimonial-author {
    font-family: 'Playfair Display', serif;
    font-size: 1.0rem;
    color: #333333;
}

.testimonial-role {
    font-size: 0.85rem;
    color: #333333;
    margin-top: 2px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #777;
    transform: scale(1.2);
}

/* Testimonial Carousel */
.testimonial-carousel {
    display: flex;
    overflow: hidden;
    position: relative;
    height: 150px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.testimonial-slide {
    min-width: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.8s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: #f8f8f8;
}

/* ======= CTA SECTION ======= */
.cta {
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #333333;
    font-weight: 400;
    margin-bottom: 15px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #666666;
    font-size: 1.0rem;
    line-height: 1.6;
}

/* ======= FOOTER ======= */
footer {
    background-color: #ffffff;
    padding: 50px 0 20px;
    border-top: 1px solid #eeeeee;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 35px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-column h3 {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: #333333;
    margin-bottom: 15px;
    font-weight: 400;
}

.footer-column p {
    color: #666666;
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
    text-justify: inter-word;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 7px;
}

.footer-links a {
    color: #666666;
    text-decoration: none;
    font-size: 11px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #333333;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
    color: #888888;
    font-size: 10px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* ======= RESPONSIVE ADJUSTMENTS ======= */
@media (max-width: 992px) {
    .hero {
        height: auto;
        flex-direction: column;
        padding: 110px 0 60px;
    }

    .hero-content {
        width: 100%;
        padding: 0 6%;
        text-align: center;
    }

    .hero-image {
        width: 100%;
        position: relative;
        height: 320px;
        margin-top: 30px;
        opacity: 0.35;
    }

    .hero p {
        margin: 0 auto 30px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .header-content {
        flex-direction: row;
        align-items: center;
    }

    nav {
        margin-top: 0;
    }

    nav ul {
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    nav ul li {
        margin-left: 12px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 45px 0;
    }

    .section-offset {
        margin-top: 90px;
    }

    .hero-content br {
        display: none;
    }

    .content-box {
        padding: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .testimonials {
        padding: 28px 0;
    }

    .hero {
        min-height: 100vh;
        padding: 110px 0 70px;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }

    .hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin-top: 0;
        opacity: 0.2;
        pointer-events: none;
        z-index: 1;
    }

    .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .btn-outline {
        margin-left: 0;
    }

    nav .btn {
        display: inline-block;
        width: auto;
        margin-bottom: 0;
    }
}
/* 
 * Edyant - Components Stylesheet
 * Contains styles for reusable UI components like carousels, cards, etc.
 */

/* ======= ANALYTICS CAROUSEL ======= */
.analytics-container {
    position: relative;
    overflow: visible;
    padding: 0 30px;
    margin: 15px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.analytics-viewport {
    overflow: hidden;
    width: 100%;
}

.analytics-carousel {
    display: flex;
    width: 500%;
    transition: transform 0.5s ease;
}

.analytics-item {
    width: 20%;
    flex-shrink: 0;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.analytics-content {
    max-width: 800px;
    width: 100%;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.analytics-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.analytics-icon {
    margin-bottom: 20px;
    color: #4a6fa0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(74, 111, 160, 0.1);
}

.analytics-item h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.analytics-item p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.analytics-indicators {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.analytics-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.analytics-indicator.active {
    background-color: #4a6fa0;
    transform: scale(1.2);
}

/* ======= TESTIMONIAL CAROUSEL ======= */
.testimonial-carousel {
    display: flex;
    overflow: hidden;
    position: relative;
    height: 180px;
}

.testimonial-slide {
    min-width: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.8s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial-slide.active {
    opacity: 1;
    z-index: 1;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    z-index: 2;
    position: relative;
}

/* ======= PARTNER LOGO GRID ======= */
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Changed from nowrap */
    gap: 20px;
    margin-top: 20px;
}

.partner-logo {
    width: 120px;
    height: 120px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .analytics-container {
        padding: 0 10px;
    }

    .analytics-carousel {
        width: 100%;
    }

    .analytics-item {
        width: 100%;
    }

    .analytics-content {
        padding: 24px;
    }

    .testimonial-carousel {
        height: 260px;
    }
}

@media (max-width: 576px) {
    .partner-logo {
        width: 108px;
        height: 108px;
        padding: 9px;
    }

    .testimonial-carousel {
        height: 220px;
    }

    .testimonial-indicators {
        margin-top: 12px;
    }

    .testimonial-slide p:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .testimonial-carousel {
        height: 240px;
    }
}
/* Educational AI Tracking Background */
.hero-image {
    overflow: hidden;
    background-color: rgba(248, 250, 252, 0.4);
}

.educational-visual {
    position: relative;
    width: 100%;
    height: 100%;
    transition: none;
    font-size: 1.0rem;
}

/* Progress graph lines */
.graph-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(41, 128, 185, 0.1), rgba(41, 128, 185, 0.5));
    transform-origin: left center;
}

.line-1 {
    width: 70%;
    top: 30%;
    right: 10%;
    transform: rotate(-5deg);
}

.line-2 {
    width: 60%;
    top: 50%;
    right: 15%;
    transform: rotate(3deg);
}

.line-3 {
    width: 80%;
    top: 70%;
    right: 5%;
    transform: rotate(-8deg);
}

/* Data points */
.data-point {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.8);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
    transition: all 0.4s ease;
}

/* Betelgeuse (top left shoulder) */
.point-1 {
    top: 20%;
    right: 65%;
}

/* Bellatrix (top right shoulder) */
.point-2 {
    top: 22%;
    right: 35%;
}

/* Alnitak (left belt star) */
.point-3 {
    top: 45%;
    right: 58%;
}

/* Alnilam (center belt star) */
.point-4 {
    top: 47%;
    right: 50%;
}

/* Mintaka (right belt star) */
.point-5 {
    top: 49%;
    right: 42%;
}

/* Saiph (bottom left foot) */
.point-6 {
    top: 75%;
    right: 68%;
}

/* Rigel (bottom right foot) */
.point-7 {
    top: 78%;
    right: 32%;
}

/* Meissa (head/top) */
.point-8 {
    top: 8%;
    right: 50%;
}

/* AI analysis visualization */
.analysis-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 1px dashed rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    top: 45%;
    right: 30%;
    animation: rotate 30s linear infinite;
}

/* Triangle element */
.analysis-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 127px solid rgba(41, 128, 185, 0.05);
    top: 15%;
    right: 15%;
    transform: rotate(15deg);
    transition: all 0.8s ease;
}

.brain-pattern {
    position: absolute;
    width: 225px;
    height: 225px;
    background-image: radial-gradient(circle, rgba(41, 128, 185, 0.02) 1px, transparent 1px),
    radial-gradient(circle, rgba(41, 128, 185, 0.02) 1px, transparent 1px);
    background-size: 15px 15px;
    background-position: 0 0, 7px 7px;
    top: 35%;
    right: 20%;
    opacity: 0.5;
    animation: pulse 8s ease-in-out infinite;
}

/* Hover animations */
.hero:hover .graph-line.line-1 {
    background: linear-gradient(90deg, rgba(41, 128, 185, 0.2), rgba(41, 128, 185, 0.7));
}

.hero:hover .graph-line.line-2 {
    background: linear-gradient(90deg, rgba(41, 128, 185, 0.2), rgba(41, 128, 185, 0.7));
}

.hero:hover .graph-line.line-3 {
    background: linear-gradient(90deg, rgba(41, 128, 185, 0.2), rgba(41, 128, 185, 0.7));
}

.hero:hover .data-point {
    transform: scale(1.4);
    box-shadow: 0 0 0 6px rgba(52, 152, 219, 0.15);
}

.hero:hover .analysis-circle {
    border: 1px dashed rgba(52, 152, 219, 0.6);
}

.hero:hover .analysis-triangle {
    transform: rotate(25deg) translateY(-15px);
    border-bottom-color: rgba(41, 128, 185, 0.1);
}

.hero:hover .brain-pattern {
    opacity: 0.7;
}

/* Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}
/* Labs-specific layout additions (aligned to main styles) */

.labs-hero .hero-content {
    width: 55%;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.project-marquee {
    --project-card-width: 280px;
    --project-card-gap: 24px;
    position: relative;
    overflow: hidden;
    margin-top: 24px;
}

/*Line 21-41 is for fade-in. Remove it to remove fade-in transition*/
/*.project-marquee::before,*/
/*.project-marquee::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    bottom: 0;*/
/*    width: 70px;*/
/*    pointer-events: none;*/
/*    z-index: 2;*/
/*    background: linear-gradient(90deg, #f8f8f8 0%, rgba(248, 248, 248, 0) 100%);*/
/*}*/

/*.project-marquee::after {*/
/*    right: 0;*/
/*    transform: scaleX(-1);*/
/*}*/

/*.project-marquee::before {*/
/*    left: 0;*/
/*}*/

.project-marquee-track {
    display: flex;
    align-items: stretch;
    width: max-content;
    animation: project-scroll 32s linear infinite;
}

.project-marquee:hover .project-marquee-track {
    animation-play-state: paused;
}

.project-marquee-group {
    display: flex;
    gap: var(--project-card-gap);
    padding-right: var(--project-card-gap);
}

.project-marquee-clone {
    pointer-events: none;
}

.project-marquee-group .project-card {
    flex: 0 0 var(--project-card-width);
}

@keyframes project-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.project-card {
    height: 100%;
}

.project-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 10px;
}

.project-actions {
    margin-top: 20px;
}

.project-actions-centered {
    text-align: center;
    width: 100%;
}

.btn.btn-github {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.btn.btn-github .btn-icon {
    width: 14px;
    height: 14px;
}

.lab-section-muted {
    background-color: #f8f8f8;
}

.lab-list {
    margin-left: 18px;
    color: #666666;
    margin-bottom: 20px;
}

.lab-list li {
    margin-bottom: 8px;
}

@media (max-width: 992px) {
    .labs-hero .hero-content {
        width: 100%;
    }
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
    .project-marquee {
        overflow: visible;
    }

    .project-marquee-track {
        animation: none;
        width: 100%;
    }

    .project-marquee-group {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        padding-right: 0;
    }

    .project-marquee-group .project-card {
        flex: initial;
    }

    .project-marquee-clone {
        display: none;
    }
}
