/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */

:root {

    --primary-color: #E50914;
    --primary-hover: #B80710;

    --text-dark: #111111;
    --text-medium: #4A4A4A;
    --text-light: #767676;

    --bg-light: #F9F9F9;
    --white: #FFFFFF;

    --green-live: #00E676;

    --transition-smooth:
        all .35s cubic-bezier(.25,.8,.25,1);

    --header-height: 90px;

    --max-width: 1300px;
}

/* ==========================================================================
   RESET
   ========================================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;

    background:var(--bg-light);

    color:var(--text-medium);

    line-height:1.6;

    overflow-x:hidden;

    animation:pageFade .7s ease;
}

@keyframes pageFade{

    from{
        opacity:0;
    }

    to{
        opacity:1;
    }
}

h1,
h2,
h3,
h4{
    font-family:'Outfit',sans-serif;
}

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
    color:inherit;
}

button{
    border:none;
    outline:none;
    background:none;
    cursor:pointer;
    font-family:inherit;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.header{

    position:sticky;
    top:0;

    z-index:999;

    height:var(--header-height);

    background:#fff;

    border-bottom:1px solid #ececec;

    box-shadow:
        0 4px 20px rgba(0,0,0,.04);

    backdrop-filter:blur(10px);
}

.header-container{

    max-width:1440px;

    height:100%;

    margin:0 auto;

    padding:0 32px;

    display:grid;

    grid-template-columns:
        auto
        1fr
        auto;

    align-items:center;

    gap:40px;
}

/* ==========================================================================
   LOGO
   ========================================================================== */

.logo-section{
    display:flex;
    align-items:center;
}

.logo-link{
    display:flex;
    align-items:center;
}

.logo-img{

    height:52px;

    width:auto;

    object-fit:contain;

    transition:.3s ease;
}

.logo-link:hover .logo-img{
    transform:scale(1.03);
}

/* ==========================================================================
   SEARCH BAR
   ========================================================================== */

.search-wrapper{

    width:100%;

    max-width:550px;

    justify-self:center;
}

.search-bar{

    display:flex;

    align-items:center;

    width:100%;

    background:#f5f5f5;

    border:1px solid #e6e6e6;

    border-radius:999px;

    padding:6px 8px 6px 22px;

    transition:.3s ease;
}

.search-bar:hover{

    border-color:#d5d5d5;
}

.search-bar:focus-within{

    background:#fff;

    border-color:var(--primary-color);

    box-shadow:
        0 0 0 4px
        rgba(229,9,20,.10);
}

.search-bar input{

    flex:1;

    border:none;

    outline:none;

    background:transparent;

    color:var(--text-dark);

    font-size:14px;

    font-weight:500;
}

.search-bar input::placeholder{

    color:#888;
}

.search-btn{

    width:38px;

    height:38px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    color:#555;

    transition:.3s ease;
}

.search-btn:hover{

    background:
        rgba(0,0,0,.05);
}

.search-bar:focus-within .search-btn{

    color:var(--primary-color);
}

/* ==========================================================================
   HEADER ACTIONS
   ========================================================================== */

.header-actions{

    display:flex;

    align-items:center;

    gap:18px;
}

/* CONTACTS */

.contact-links{

    display:flex;

    align-items:center;

    gap:12px;
}

.contact-item{

    display:flex;

    align-items:center;

    gap:6px;

    padding:8px 10px;

    border-radius:8px;

    white-space:nowrap;

    font-size:13px;

    font-weight:600;

    color:#222;

    transition:.3s ease;
}

.contact-item:hover{

    background:
        rgba(229,9,20,.05);

    color:var(--primary-color);
}

.contact-icon{

    width:16px;
    height:16px;

    object-fit:contain;
}

/* DIVIDER */

.header-divider{

    width:1px;

    height:42px;

    background:#e5e5e5;
}

/* SUPPORT BUTTON */

.support-btn{

    display:flex;

    align-items:center;

    gap:12px;

    padding:10px 22px;

    border-radius:999px;

    color:#fff;

    background:
        linear-gradient(
            135deg,
            #ff3e3e,
            #e50914
        );

    box-shadow:
        0 6px 18px rgba(229,9,20,.25);

    transition:.3s ease;
}

.support-btn:hover{

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 22px
        rgba(229,9,20,.35);
}

.support-icon{

    width:24px;
    height:24px;

    object-fit:contain;

    filter:
        brightness(0)
        invert(1);
}

.support-text{

    display:flex;

    flex-direction:column;

    line-height:1.1;
}

.support-title{

    font-size:14px;

    font-weight:700;
}

.support-sub{

    font-size:11px;

    opacity:.9;
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */

.main-content{

    position:relative;

    overflow:hidden;
}

/* BACKGROUND IMAGE */

.main-content::before{

    content:"";

    position:absolute;

    inset:0;

    background-image:
        url('/assets/images/seetha-background.png');

    background-size:cover;

    background-position:center 25%;

    background-repeat:no-repeat;

    background-attachment:fixed;

    opacity:.30;

    z-index:1;
}

.main-content::after{

    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to bottom,
            rgba(249,249,249,0) 0%,
            rgba(249,249,249,.4) 60%,
            var(--bg-light) 100%
        );

    z-index:2;
}
.hero-title {
    font-family: 'Outfit', sans-serif;
}

.hero-tag {
    font-family: 'Space Grotesk', sans-serif;
}
/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section{

    position:relative;

    z-index:3;

    min-height:420px;

    display:flex;

    align-items:center;

    padding:
        70px 0
        30px;
}

.hero-content{

    position:relative;

    z-index:3;

    max-width:1300px;

    margin:0 auto;

    padding:0 25px;

    width:100%;
}

/* TAG */

.hero-tag{

    display:inline-flex;

    align-items:center;

    background:
        linear-gradient(
            135deg,
            #ff3e3e,
            #e50914
        );

    color:#fff;

    padding:
        10px 24px;

    border-radius:999px;

    font-size:13px;

    font-weight:700;

    letter-spacing:.5px;

    margin-bottom:28px;

    box-shadow:
        0 8px 20px
        rgba(229,9,20,.25);

    animation:
        fadeInUp .7s ease;



    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;

}

/* TEXT BLOCK */

.hero-text-block{

    position:relative;

    max-width:700px;

    padding-left:26px;

    animation:
        fadeInUp .9s ease;
}

.hero-text-block::before{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:5px;

    height:100%;

    border-radius:999px;

    background:#111;
}

/* TITLE */

.hero-title{

    display:flex;

    flex-direction:column;

    gap:4px;

    margin-bottom:18px;
}

.red-text{

    color:var(--primary-color);

    font-size:42px;

    font-weight:800;

    line-height:1.1;

    letter-spacing:-1px;
}

.head-office-text{

    font-size:48px;

    line-height:1.1;

    color:#111;

    font-weight:700;
}

/* OUTLINED TEXT */

.outlined-text {
    color: transparent;
    -webkit-text-stroke: 2px #111;
    font-weight: 800;
}

.head-office-text strong{
    font-weight:800;
}

/* DESCRIPTION */

.hero-description{

    max-width:650px;

    color:#222;

    font-size:17px;

    line-height:1.8;

    font-weight:500;
}

/* HERO ANIMATION */

@keyframes fadeInUp{

    from{
        opacity:0;
        transform:translateY(25px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ==========================================================================
   BUSINESS SYSTEM CARDS
   ========================================================================== */

.cards-section{
    position:relative;
    z-index:3;

    padding:
        20px 0
        90px;
}

.cards-container{

    max-width:1300px;

    margin:0 auto;

    padding:0 25px;

    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:28px;
}

/* ==========================================================================
   CARD
   ========================================================================== */

.service-card{

    position:relative;

    display:flex;
    flex-direction:column;

    min-height:360px;

    background:
        rgba(255,255,255,.96);

    border-radius:22px;

    overflow:hidden;

    border:
        1px solid rgba(0,0,0,.05);

    box-shadow:
        0 10px 35px rgba(0,0,0,.06);

    transition:
        transform .35s ease,
        box-shadow .35s ease;

    opacity:0;

    animation:
        fadeInUp .8s ease forwards;
}

.service-card:nth-child(1){
    animation-delay:.15s;
}

.service-card:nth-child(2){
    animation-delay:.35s;
}

.service-card:nth-child(3){
    animation-delay:.55s;
}

/* TOP RED LINE */

.service-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:5px;

    background:
        linear-gradient(
            90deg,
            #ff4040,
            #e50914
        );
}

/* HOVER */

.service-card:hover{

    transform:
        translateY(-8px)
        scale(1.01);

    box-shadow:
        0 25px 45px
        rgba(229,9,20,.18);
}

/* ==========================================================================
   CARD ARROW
   ========================================================================== */

.card-arrow{

    position:absolute;

    top:18px;
    right:20px;

    font-size:24px;

    font-weight:700;

    color:#E50914;

    opacity:.25;

    transition:.3s ease;
}

.service-card:hover .card-arrow{

    opacity:1;

    transform:
        translateX(5px);
}

/* ==========================================================================
   CARD TOP SECTION
   ========================================================================== */

.card-top{

    padding:
        28px
        25px
        22px;

    display:flex;

    align-items:center;

    gap:16px;
}

/* ICON BOX */

.card-icon-wrapper{

    width:70px;
    height:70px;

    flex-shrink:0;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:18px;

    background:
        rgba(229,9,20,.08);

    transition:.35s ease;
}

.service-card:hover .card-icon-wrapper{

    background:
        rgba(229,9,20,.12);
}

/* ICON */

.card-icon{

    width:36px;
    height:36px;

    object-fit:contain;

    transition:.35s ease;
}

.service-card:hover .card-icon{

    transform:
        scale(1.12);
}

/* ==========================================================================
   CARD TITLE AREA
   ========================================================================== */

.card-heading{

    display:flex;
    flex-direction:column;

    justify-content:center;

    flex:1;
}

.card-title{

    font-size:22px;

    font-weight:700;

    color:#111;

    line-height:1.2;
}

.card-category{

    margin-top:6px;

    font-size:13px;

    font-weight:600;

    color:#666;

    letter-spacing:.3px;
}

/* ==========================================================================
   CONTENT AREA
   ========================================================================== */

.card-content{

    flex:1;

    padding:
        0
        25px
        28px;
}

.card-content p{

    font-size:14.5px;

    line-height:1.9;

    color:#555;

    font-weight:400;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.card-footer{

    background:
        linear-gradient(
            135deg,
            rgba(255,62,62,.97),
            rgba(229,9,20,.97)
        );

    padding:
        18px
        24px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:15px;
}

/* ==========================================================================
   STATUS
   ========================================================================== */

.status-indicator{

    display:flex;

    align-items:center;

    gap:8px;
}

.status-dot{

    width:10px;
    height:10px;

    border-radius:50%;

    background:#00E676;

    box-shadow:
        0 0 10px #00E676,
        0 0 20px rgba(0,230,118,.4);

    animation:
        pulseLive 1.8s infinite;
}

.status-text{

    color:#fff;

    font-size:13px;

    font-weight:600;

    white-space:nowrap;
}

/* LIVE PULSE */

@keyframes pulseLive{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.25);
    }

    100%{
        transform:scale(1);
    }
}

/* ==========================================================================
   BUTTON
   ========================================================================== */

.card-btn{

    display:inline-flex;

    align-items:center;
    justify-content:center;

    min-width:125px;

    padding:
        10px
        18px;

    border-radius:10px;

    background:#fff;

    color:#111;

    font-size:13px;

    font-weight:700;

    transition:.3s ease;
}

.card-btn:hover{

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 18px
        rgba(0,0,0,.15);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width:1024px){

    .cards-container{

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

@media (max-width:768px){

    .cards-container{

        grid-template-columns:1fr;
    }

    .service-card{

        min-height:auto;
    }
}

@media (max-width:480px){

    .card-top{

        padding:
            22px
            20px
            18px;
    }

    .card-content{

        padding:
            0
            20px
            22px;
    }

    .card-footer{

        padding:
            16px
            20px;

        flex-direction:column;

        align-items:flex-start;
    }

    .card-btn{

        width:100%;
    }
}

/* ============================= */
/* CLEAN FOOTER FIX */
/* ============================= */

.footer {
    background: #111;
    color: #fff;
    padding: 40px 10%;
    margin-top: 80px;
}

.footer-container {
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright,
.footer-powered {
    font-size: 14px;
    color: #ccc;
}

/* Hover effect (optional) */
.footer-powered {
    transition: 0.3s;
}

.footer-powered:hover {
    color: #E50914;
}


/* ============================= */
/* ANIMATIONS */
/* ============================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.fade-up {
    animation: fadeInUp 0.8s ease-out;
}


/* ============================= */
/* UTILITY CLASSES */
/* ============================= */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

.shadow {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.rounded {
    border-radius: 12px;
}

.demo-mode-marker {
    position: fixed;
    left: 28px;
    bottom: 28px;
    z-index: 9999;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;
    border-radius: 999px;

    background: rgba(150, 18, 24, 0.95);
    border: 1px solid rgba(255, 90, 98, 0.55);
    box-shadow: 0 14px 40px rgba(120, 0, 10, 0.35);

    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.demo-mode-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ff4d58;
    box-shadow: 0 0 0 0 rgba(255, 77, 88, 0.75);
    animation: demoModePulse 1.5s infinite;
}

.landing-actions {
    margin-top: 28px;
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    /* Align with cards container */
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 25px;
}

.demo-portal-btn {
    display: inline-flex;
    align-items: center;
    /* FIXED: removed margin-left: 220px */
    margin-left: 0;

    min-height: 0;
    padding: 11px 18px;

    border-radius: 12px;
    border: none;

    background: #ffffff;
    color: #000000;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;

    cursor: pointer;
    transition: 0.25s ease;
}

.manager-portal-btn {
    display: inline-flex;
    align-items: center;
    /* FIXED: removed margin-left: 150px */
    margin-left: 0;

    min-height: 0;
    padding: 11px 18px;

    border-radius: 12px;
    border: none;

    background: #ffffff;
    color: #000000;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;

    cursor: pointer;
    transition: 0.25s ease;
}

.demo-portal-btn:hover,
.manager-portal-btn:hover {
    background: #f3f3f3;
    color: #000000;
    transform: translateY(-2px);
}

.card-btn.disabled {
    pointer-events: none;
    opacity: 0.5;
}

@keyframes demoModePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 77, 88, 0.75);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(255, 77, 88, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 77, 88, 0);
    }
}


/* ============================= */
/* RESPONSIVE DESIGN */
/* ============================= */

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-image {
        margin-top: 30px;
    }

    nav ul {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    button, .btn {
        width: 100%;
    }
}
