/* ==========================
   Global
========================== */

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

body{

    font-family:Arial, Helvetica, sans-serif;

    background:#0f172a;

    color:white;

}

/* ==========================
   Navigation
========================== */

nav{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px 40px;

    background:#111827;

}

.logo{

    font-size:36px;

    font-weight:bold;

    color:#38bdf8;

}

/* ==========================
   Hero Section
========================== */

.hero{

    height:calc(100vh - 130px);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:20px;

}

.hero h1{

    font-size:60px;

    margin-bottom:25px;

}

.hero p{

    width:800px;

    max-width:90%;

    font-size:24px;

    line-height:1.7;

    color:#cbd5e1;

}

/* ==========================
   Button
========================== */

#chatButton{

    margin-top:45px;

    padding:18px 45px;

    font-size:22px;

    border:none;

    border-radius:12px;

    cursor:pointer;

    background:#38bdf8;

    color:white;

    transition:.3s;

}

#chatButton:hover{

    background:#0284c7;

    transform:scale(1.05);

}

/* ==========================
   Footer
========================== */

footer{

    position:fixed;

    bottom:0;

    width:100%;

    text-align:center;

    padding:15px;

    background:#111827;

    color:#94a3b8;

}

/* ==========================
   Chat Window
========================== */

#chatWindow{

    display:none;

    position:fixed;

    bottom:20px;

    right:20px;

    width:380px;

    height:550px;

    background:white;

    color:black;

    border-radius:15px;

    overflow:hidden;

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

    display:flex;

    flex-direction:column;

}
/* Header */

.chatHeader{

    background:#38bdf8;

    color:white;

    padding:18px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:18px;

    font-weight:bold;

    flex-shrink:0;
}

/* Close Button */

#closeChat{

    background:none;

    border:none;

    color:white;

    font-size:22px;

    cursor:pointer;

}

/* Body */

.chatBody{

    flex:1;

    min-height:0;

    padding:20px;

    overflow-y:auto;

    overflow-x:hidden;

}

/* Footer */

.chatFooter{

    display:flex;

    align-items:center;

    gap:8px;

    padding:12px;

    border-top:1px solid #ddd;

    background:white;

    flex-shrink:0;
}

/* Input */

.chatFooter input{

    flex:1;

    padding:10px;

    border:1px solid #ccc;

    border-radius:5px;

}

/* Button */

.chatFooter button{

    padding:10px 18px;

    border:none;

    background:#38bdf8;

    color:white;

    border-radius:5px;

    cursor:pointer;

}

/* Messages */

.message{

    padding:12px;

    border-radius:10px;

    margin-bottom:15px;

    max-width:80%;

}

.bot{

    background:#e2e8f0;

}

.user{

    background:#38bdf8;

    color:white;

    margin-left:auto;

}

/* ==========================
   Navigation Links
========================== */

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

.nav-links a.active {
    color: #38bdf8;
}


/* Make TeleLab logo link look like the logo */

.logo a {
    color: #38bdf8;
    text-decoration: none;
}


/* ==========================
   Salesforce Hero
========================== */

.salesforce-hero {
    padding: 80px 20px 50px;
    text-align: center;
}

.salesforce-hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

.salesforce-hero p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 21px;
    line-height: 1.7;
    color: #cbd5e1;
}


/* ==========================
   Salesforce Lab Cards
========================== */

.labs {
    max-width: 1200px;
    margin: 20px auto 100px;
    padding: 20px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.lab-card {
    background: #111827;

    border: 1px solid #1e293b;

    border-radius: 14px;

    padding: 30px;

    min-height: 230px;

    display: flex;
    flex-direction: column;

    transition: 0.3s;
}

.lab-card:hover {
    transform: translateY(-6px);

    border-color: #38bdf8;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.lab-card h2 {
    font-size: 24px;

    margin-bottom: 15px;

    color: #38bdf8;
}

.lab-card p {
    color: #cbd5e1;

    font-size: 16px;

    line-height: 1.6;

    flex: 1;
}

.lab-card a {
    display: inline-block;

    margin-top: 20px;

    color: #38bdf8;

    text-decoration: none;

    font-weight: bold;
}

.lab-card a:hover {
    color: #7dd3fc;
}


/* ==========================
   Mobile
========================== */

@media (max-width: 900px) {

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

}

@media (max-width: 600px) {

    nav {
        padding: 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 15px;
    }

    .salesforce-hero h1 {
        font-size: 36px;
    }

    .salesforce-hero p {
        font-size: 18px;
    }

    .labs {
        grid-template-columns: 1fr;

        margin-bottom: 80px;
    }

}

/* ==========================
   Cards Section
========================== */

.cards {

    width: 1100px;
    max-width: 90%;

    margin: 0 auto 80px;

    display: grid;

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

    gap: 24px;

}


/* ==========================
   Card
========================== */

.card {

    padding: 30px;

    background: #111827;

    border: 1px solid #1e293b;

    border-radius: 12px;

    min-height: 230px;

    display: flex;

    flex-direction: column;

    transition: .3s;

}


.card:hover {

    transform: translateY(-5px);

    border-color: #38bdf8;

}


/* Card Heading */

.card h2 {

    font-size: 24px;

    margin-bottom: 18px;

    color: #38bdf8;

}


/* Card Description */

.card p {

    font-size: 16px;

    line-height: 1.6;

    color: #cbd5e1;

    margin-bottom: 25px;

}


/* Card Link */

.card a {

    margin-top: auto;

    color: #38bdf8;

    text-decoration: none;

    font-weight: bold;

}


.card a:hover {

    text-decoration: underline;

}


/* ==========================
   Mobile
========================== */

@media (max-width: 900px) {

    .cards {

        grid-template-columns: 1fr;

    }

}
