/* ============================================================
   HOME.CSS — MIRA Division (Top Tier)
   ============================================================ */

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--orange);
    text-shadow: var(--orange-glow);
    margin-bottom: 10px;
}

/* About Section */
.about-content .about-text-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-content p {
    margin-bottom: 1.2em;
    padding-left: 20px;
    border-left: 2px solid rgba(0, 255, 255, 0.3);
    transition: border-color 0.3s, padding-left 0.3s;
}

.about-content p:hover {
    border-left-color: var(--orange);
    padding-left: 28px;
}

.cta-wrapper {
    margin-top: 40px;
}

/* Partners Section */
.partners-section {
    text-align: center;
}

.partners-intro {
    color: var(--gray-dim);
    margin-bottom: 20px;
}

.partner-card {
    position: relative;
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid rgba(255, 85, 0, 0.3);
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    backdrop-filter: blur(5px);
    transition: all var(--transition-smooth);
    animation: partnerGlow 4s ease-in-out infinite alternate;
    max-width: 200px;
    margin: 0 auto;
    width: 100%;
}

@keyframes partnerGlow {
    0% {
        border-color: rgba(255, 85, 0, 0.3);
        box-shadow: 0 0 20px rgba(255, 85, 0, 0.15);
    }
    100% {
        border-color: rgba(0, 255, 255, 0.5);
        box-shadow: 0 0 35px rgba(0, 255, 255, 0.25);
    }
}

.partner-card:hover {
    animation-play-state: paused;
    transform: scale(1.05) translateY(-5px);
    border-color: var(--cyan);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.4), inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.partner-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: all var(--transition-smooth);
}

.partner-card:hover img {
    filter: brightness(1.1) contrast(1.2) drop-shadow(0 0 8px rgba(255, 85, 0, 0.5));
    transform: scale(1.1);
}

.partner-cta {
    margin-top: 36px;
    font-size: 0.9rem;
    color: var(--gray-dim);
}

.partner-cta a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 5px;
    font-weight: 500;
}

.partner-cta a:hover {
    color: var(--orange);
}

/* Responsive */
@media (max-width: 768px) {
    .partner-card {
        max-width: 160px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .partner-card {
        max-width: 140px;
        padding: 16px;
    }
}
/* ============================================================
   NEW HERO SECTION (Edge-to-Edge Background + Larger Title)
   ============================================================ */

.hero-logo-section {
    position: relative;
    width: 100vw;
    min-height: 90vh;
    display: flex;
    align-items: center;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: 60px;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
}

/* Background image container */
.hero-logo-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-logo-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.35) blur(1px);
    transition: filter 0.5s ease;
}

/* Gradient overlay — stronger on left for text readability */
.hero-logo-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(13, 13, 13, 0.9) 0%, 
        rgba(13, 13, 13, 0.5) 40%, 
        rgba(13, 13, 13, 0.2) 70%, 
        transparent 100%);
    z-index: 1;
}

/* Floating text content — left aligned */
.hero-logo-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin-left: 5%;
    padding: 40px 20px;
    text-align: left;
    animation: floatIn 1s ease-out;
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-logo-title {
    font-size: clamp(5rem, 18vw, 15rem);
    font-family: var(--font-primary);
    color: var(--white);
    text-shadow: var(--cyan-glow);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.hero-logo-title img.hero-logo-logo {
    width: clamp(220px, 35vw, 420px);
    height: auto;
    display: block;
    filter: invert(1) brightness(1.2);
}

.hero-logo-title span {
    color: var(--orange);
    text-shadow: var(--orange-glow);
    display: inline;           /* Change from block to inline */
    font-size: inherit;        /* Inherit the massive size */
}

.hero-logo-subtitle {
    font-size: clamp(1rem, 3vw, 1.4rem);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--orange);
    text-shadow: var(--orange-glow);
    margin-bottom: 20px;
}

.hero-logo-desc {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-logo-cta {
    display: flex;
    justify-content: flex-start;
    text-align: left;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-logo-section {
        min-height: 70vh;
        border-radius: 0 0 30px 30px;
    }
    .hero-logo-content {
        margin-left: 5%;
        padding: 30px 15px;
    }
    .hero-logo-title {
        font-size: clamp(3.5rem, 12vw, 5rem);
    }
}

@media (max-width: 480px) {
    .hero-logo-section {
        min-height: 60vh;
    }
    .hero-logo-content {
        margin-left: 20px;
        margin-right: 20px;
        padding: 20px 0;
    }
    .hero-logo-title {
        font-size: 3rem;
    }
}

/* ============================================================
   FEATURED CAROUSEL SECTION
   ============================================================ */

.featured-section {
    max-width: 1300px;
    width: 100%;
    margin: 80px auto 60px;
    padding: 0 20px;
    text-align: center;
}

/* Carousel container (reuses global carousel styles) */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.carousel-track-wrapper {
    flex: 1;
    overflow: hidden;
    margin: 0 10px;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    padding: 15px 5px;
}

/* Featured Card */
.featured-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.featured-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-card-hover);
}

.featured-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 25px 22px 30px;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--orange);
    background: rgba(255, 85, 0, 0.1);
    padding: 4px 14px;
    border-radius: var(--border-radius-pill);
    margin-bottom: 15px;
    border: 1px solid rgba(255, 85, 0, 0.2);
    align-self: flex-start;
}

.featured-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--cyan);
    text-shadow: var(--cyan-glow);
    margin-bottom: 10px;
}

.featured-desc {
    font-size: 0.95rem;
    color: var(--gray-dim);
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
    text-decoration: none;
    margin-top: auto;
    align-self: flex-start;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
    padding-bottom: 4px;
}

.featured-btn i {
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.featured-btn:hover {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
    text-shadow: var(--cyan-glow);
}

.featured-btn:hover i {
    transform: translateX(5px);
}

/* Carousel navigation buttons (ensure consistent) */
.carousel-btn {
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: var(--cyan);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(5px);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin: 0 5px;
    box-shadow: 0 0 10px rgba(0,255,255,0.2);
}

.carousel-btn:hover {
    background: var(--cyan);
    color: var(--black);
    border-color: var(--cyan);
    box-shadow: 0 0 20px var(--cyan);
    transform: scale(1.1);
}

/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s;
}

.indicator-dot.active {
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
    transform: scale(1.3);
    border-color: var(--cyan);
}

.indicator-dot:hover {
    background: var(--orange);
    box-shadow: 0 0 10px var(--orange);
}

/* Responsive */
@media (max-width: 900px) {
    .featured-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    .featured-card {
        flex: 0 0 100%;
        min-width: 260px;
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}