/* Agricom start-screen (Home Style 1) — scoped to #start-screen on Rajaram home */

#start-screen {
    position: relative;
    transition: padding 0.3s ease-in-out;
}

#start-screen.start-screen--style-1 {
    height: 100vh;
    min-height: 560px;
    color: #fff;
}

#start-screen #vegas-slider {
    z-index: 0;
}

#start-screen #vegas-slider .vegas-overlay {
    display: none !important;
}

#start-screen .agricom-hero-color-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.34) 0%,
        rgba(0, 0, 0, 0.47) 45%,
        rgba(0, 0, 0, 0.58) 100%
    );
}

#start-screen #start-screen_content-container {
    position: relative;
    z-index: 2;
    height: 100%;
    pointer-events: none;
}

/* Match Agricom ref: text panel fade on slide enter */
#start-screen .start-screen__content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    padding-top: 100px;
    padding-bottom: 50px;
    visibility: hidden;
    opacity: 0;
    text-align: center;
    color: #fff;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    pointer-events: none;
}

#start-screen .start-screen__content.active {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.5s ease-in-out 0.2s, visibility 0.3s ease-in-out;
}

@media only screen and (min-width: 768px) {
    #start-screen .start-screen__content {
        padding-top: 120px;
        padding-bottom: 80px;
    }
}

@media only screen and (min-width: 992px) {
    #start-screen .start-screen__content {
        padding-top: 120px;
        padding-bottom: 120px;
    }
}

/* Vegas enter transitions — match Agricom ref (500ms, random effect) */
#start-screen #vegas-slider .vegas-slide {
    transition-duration: 500ms !important;
}

#start-screen #vegas-slider .vegas-slide-inner {
    background-size: cover;
    background-position: center center;
}

@keyframes rj-hero-rajaram-breathe {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.045);
    }
}

#start-screen.is-rajaram-active #vegas-slider .vegas-slide-inner {
    animation: rj-hero-rajaram-breathe 16s ease-in-out infinite;
    transform-origin: center center;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    #start-screen.is-rajaram-active #vegas-slider .vegas-slide-inner {
        animation: none;
    }
}

#start-screen #vegas-slider .vegas-control__btn,
#start-screen #vegas-control__prev,
#start-screen #vegas-control__next {
    display: none !important;
}

#start-screen .agricom-hero-dots {
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 100%;
    line-height: 0;
    text-align: center;
    z-index: 10;
    pointer-events: auto;
}

#start-screen .agricom-hero-dots a {
    display: inline-block;
    vertical-align: top;
    width: 15px;
    height: 15px;
    margin: 0 5px;
    cursor: pointer;
    background-color: var(--rj-brand, #ffda5c);
    box-shadow: 0 0 0 0 #04895c inset;
    border-radius: 50%;
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#start-screen .agricom-hero-dots a:hover,
#start-screen .agricom-hero-dots a.active {
    box-shadow: 0 0 0 8px #04895c inset;
}

#start-screen .agricom-hero-dots a.active {
    cursor: default;
}

@media only screen and (min-width: 768px) {
    #start-screen .agricom-hero-dots {
        bottom: 30px;
    }
}

@media only screen and (min-width: 992px) {
    #start-screen .agricom-hero-dots {
        bottom: 40px;
    }
}

#start-screen .agricom-hero-cta .site-header-v3__cta {
    text-transform: none;
    letter-spacing: 0;
}

#start-screen .vegas-wrapper {
    overflow: visible;
}

#start-screen .v-align {
    position: relative;
    height: 100%;
    white-space: nowrap;
    text-align: center;
}

#start-screen .v-align:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    width: 0;
    margin-left: -4px;
}

#start-screen .v-middle {
    display: inline-block;
    vertical-align: middle;
    white-space: normal;
    width: 100%;
}

#start-screen .agricom-container {
    width: 100%;
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

#start-screen .agricom-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#start-screen .agricom-row.left {
    text-align: left;
}

#start-screen .agricom-row.text-center {
    text-align: center;
}

#start-screen .agricom-col {
    flex: 0 0 100%;
    max-width: 100%;
}

#start-screen .custom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    box-sizing: border-box;
    min-width: 135px;
    padding: 0 16px;
    background-color: transparent;
    border: 3px solid #fff;
    color: #fff;
    line-height: 1;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: "Poppins", sans-serif !important;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center !important;
    letter-spacing: 0;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

#start-screen .custom-btn:hover,
#start-screen .custom-btn:focus {
    background-color: #fff;
    color: #504935;
}

#start-screen .custom-btn.primary {
    border-color: var(--rj-brand, #ffda5c);
    color: #504935;
}

#start-screen .custom-btn.primary:hover,
#start-screen .custom-btn.primary:focus {
    background-color: #444;
    border-color: #444;
    color: #fff;
}

#start-screen .custom-btn.big {
    min-height: 56px;
    height: 56px;
    min-width: 167px;
    width: auto;
    max-width: 100%;
    padding-left: 32px;
    padding-right: 32px;
}

#start-screen .start-screen__content p.agricom-hero-cta {
    margin-top: 20px;
    margin-bottom: 0;
}

#start-screen .agricom-row.left p.agricom-hero-cta {
    text-align: left;
}

#start-screen .start-screen__content-first .agricom-row {
    justify-content: center;
    text-align: center;
}

#start-screen .start-screen__content-first .subtitle.subtitle--company {
    margin-left: auto;
    margin-right: auto;
}

#start-screen p.agricom-hero-cta--center {
    text-align: center;
}

#start-screen .start-screen__content .title,
#start-screen .start-screen__content .subtitle {
    font-family: "Poppins", sans-serif !important;
    text-transform: uppercase;
}

#start-screen .start-screen__content .title {
    line-height: 1;
    font-size: 31px;
    font-weight: 700;
    letter-spacing: 5px;
    margin: 0 0 0;
    color: #fff;
}

#start-screen .start-screen__content .subtitle {
    line-height: 1.2;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #fff;
}

#start-screen .start-screen__content .subtitle.subtitle--hero-line {
    letter-spacing: 0.14em;
    text-transform: none;
    font-weight: 300;
    max-width: min(68rem, 100%);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
    line-height: 1.35;
}

#start-screen .start-screen__content-first .title,
#start-screen .start-screen__content .title {
    text-transform: uppercase;
}

#start-screen .start-screen__content p {
    margin-top: 20px;
    margin-bottom: 20px;
}

#start-screen .start-screen__content p:first-child {
    margin-top: 0;
}

#start-screen .start-screen__content p:last-child {
    margin-bottom: 0;
}

#start-screen .start-screen__content .custom-btn.primary {
    background-color: var(--rj-brand, #ffda5c);
    color: #504935;
}

#start-screen .start-screen__content-fruits,
#start-screen .start-screen__content-third .start-screen__content-fruits {
    font-family: "Abril Fatface", Georgia, serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 16px;
    line-height: 1.625;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

@media only screen and (min-width: 576px) {
    #start-screen .start-screen__content .title {
        line-height: 0.8;
        font-size: 66px;
        letter-spacing: 10px;
    }

    #start-screen .start-screen__content .subtitle {
        font-size: 20px;
    }
}

@media only screen and (min-width: 768px) {
    #start-screen .start-screen__content .title {
        font-size: 96px;
        letter-spacing: 15px;
    }

    #start-screen .start-screen__content .subtitle {
        font-size: 25px;
    }
}

@media only screen and (min-width: 992px) {
    #start-screen .start-screen__content .title {
        font-size: 116px;
        letter-spacing: 20px;
    }
}

@media only screen and (min-width: 1200px) {
    #start-screen .start-screen__content .title {
        font-size: 136px;
        letter-spacing: 30px;
    }
}
