/* ============================================================
   SkillHive — consolidated stylesheet
   Replaces: main.css, index.css, present.css, style.css

   Sections:
     1. Base & typography
     2. Navbar
     3. Hero
     4. Layout helpers (flex / containers / sections)
     5. Feature blocks (numbered topic rows)
     6. Buttons & links
     7. Services grid ("Find Talents")
     8. Team
     9. Footer
    10. Utilities
   ============================================================ */


/* ---------- 1. Base & typography ---------- */

body {
    font-family: "Bai Jamjuree", sans-serif;
    padding: 0;
    margin: 0;
}

a {
    color: black;
}

a:active {
    border-radius: 5px;
    color: #ffffff !important;
    background-color: #f56363 !important;
}

li {
    padding: 5px;
    color: black;
}


/* ---------- 2. Navbar ---------- */

.navbar {
    background-color: #ffffff !important;
}

.navbar.overall {
    background-color: #0ddc25;
}

.navbar-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-right: 0.4rem;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

#loginButton:hover {
    background-color: #0056b3;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}



/* ---------- 3. Hero ---------- */

#hero {
    /* sampled from the old hero artwork's backdrop */
    background: radial-gradient(ellipse at 20% 30%, rgba(60, 90, 120, 0.45), transparent 60%),
                linear-gradient(135deg, #243a50 0%, #1f2c3b 55%, #141d28 100%);
    color: #fff;
    min-height: 39.125rem;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;   /* clears the fixed navbar */
}

.hero-inner .row {
    margin-top: 0 !important;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgb(236, 86, 111);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.hero-lead {
    font-size: 1.2rem;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-img {
    width: min(100%, 26rem);
    height: auto;
    border-radius: 50%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

@media (max-width: 991.98px) {
    #hero {
        text-align: center;
        padding-top: 7rem;
    }
    .hero-lead,
    .hero-actions {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
    .hero-img {
        width: min(70%, 18rem);
        margin-top: 3rem;
    }
}


/* ---------- 4. Layout helpers ---------- */

.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: right;
}

.recal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    margin-right: -15px;
    margin-left: -15px;
}

.hills {
    flex: 1;
    margin-right: 20px;
}

.row {
    margin-top: 50px !important;
    font-family: 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
}

.section {
    padding-top: 100px;
    padding-bottom: 100px;
    margin-top: 50px;
}

.container3 {
    margin-top: 70px;
}

.bg-lightgray {
    background-color: rgb(240, 239, 239);
    background-size: cover;
}

.plank {
    background-color: rgb(240, 240, 240);
    padding-top: 5px;
    padding-bottom: 40px;
}


/* ---------- 5. Feature blocks (numbered topic rows) ---------- */

.but1 {
    display: inline-block;
    margin-bottom: 1.5rem;
    border-radius: 100%;
    background-color: rgb(236, 86, 111);
    border: 0;
    padding: 5px 20px;
    color: white;
    font-size: xx-large;
    text-align: center;
    align-content: center;
}

#features .row {
    align-items: center;
    margin-top: 4rem !important;
}

.text1,
.text2 {
    padding: 0 1rem;
}

.pix1,
.pix2 {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1199.98px) {
    /* columns stack: image sits under its text with a little breathing room */
    .pix1,
    .pix2 {
        margin-top: 1.5rem;
    }
}

.Awesome {
    margin-top: 50px;
    text-align: center;
}

.prof {
    font-family: 'Crete Round', serif;
}


/* ---------- 6. Buttons & links ---------- */

.but {
    background-color: brown;
    width: 150px;
    height: 40px;
    border-radius: 20px;
    border: none;
    color: white;
    margin-left: 80px;
    margin-top: 30px;
}

.tribe {
    color: white !important;
    background-color: crimson;
    padding: 6px 25px;
    font-size: 13px;
    border: none;
}

.tribe:hover {
    background-color: black;
    color: white;
}

.tribe1 {
    padding: 10px 30px;
    background-color: rgb(196, 42, 42);
    border: none;
    color: white;
    font-size: 13px;
    font-family: sans-serif;
}

.tribe1:hover {
    background-color: black;
    color: white;
    margin-left: auto;
}

.yelp {
    border: 2px solid rgb(221, 217, 217) !important;
    border-radius: 15px;
    background-color: rgb(211, 211, 211);
}

.yelp:hover {
    background-color: pink;
    border: 2px solid crimson !important;
}

.linked a,
.team_socials a {
    text-decoration: none;
}

.team_socials a {
    padding-left: 10px;
}

.learn a {
    list-style: none;
    text-decoration: none !important;
}

.Learn {
    color: rgb(236, 86, 111);
}


/* ---------- 7. Services grid ---------- */

.services-icon {
    width: 70px;
    height: 70px;
}

.intro-quote {
    font-family: 'Californian FB', Georgia, serif;
    font-style: italic;
    font-size: larger;
    color: rgb(82, 75, 75);
}

.portrait {
    width: 200px;
    height: 200px;
    border-radius: 100%;
    object-fit: cover;
}

.funfacts {
    color: rgb(73, 73, 73);
}

.funfacts .fa {
    font-size: 40px;
}

.funfacts .row {
    margin-top: 0 !important;
}


/* ---------- 8. Team ---------- */

.our {
    text-align: center;
    margin-top: 5em;
    margin-bottom: 5em;
    color: gray;
}

.col {
    color: gray;
    text-align: center;
}

.team {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    object-fit: cover;
}

.slant {
    font-family: 'Crete Round', serif;
    font-weight: normal;
    font-size: 14px;
}

.pic {
    height: 20px;
    width: 20px;
}

.social {
    border: 2px solid black;
    border-radius: 50%;
}


/* ---------- 9. Footer ---------- */

.footer-down,
.bg-dark {
    font-size: 15px;
    background-color: rgb(5, 14, 15);
}

.cold {
    line-height: 60px;
    text-align: center;
    color: rgb(255, 255, 255);
}

.list-type {
    list-style: none;
    line-height: 35px;
    padding: 0;
}

.list-type li {
    margin-bottom: 10px;
}

.list-type a {
    color: rgb(5, 14, 15);
}


/* ---------- 10. Utilities ---------- */

form {
    margin: 120px !important;
    padding: 0 !important;
}

.style {
    font-weight: bold;
    font-size: 35px;
}

.hi {
    text-align: end;
    border: none;
}

.resize {
    height: 30px;
    width: 90px;
    padding: 2px;
}

.ripe {
    margin-top: 10px;
}

.day {
    height: 35px;
    width: 35px;
    padding: 6px;
}

.text-left { text-align: left !important; }
.text-center { text-align: center !important; }


/* ---------- 11. Info pages (AboutUs, FAQ, HelpSupport, PrivacyPolicy, TermsConditions) ---------- */

.info-page {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.info-page .container {
    width: 80%;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

.info-page .container.text-left p {
    text-align: left;
}

.info-page h1,
.info-page h2 {
    color: #007BFF;
}

.info-page p {
    margin: 15px 0;
}

.info-page a {
    color: #007BFF;
    text-decoration: none;
}

.info-page a:hover {
    text-decoration: underline;
}

.info-page a.spaced-link {
    display: block;
    margin-top: 20px;
}


/* ---------- 12. Portfolio generator page ---------- */

.portfolio-form {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    margin: 0;
    padding: 0;
}

.portfolio-form .container {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.portfolio-form input[type="text"],
.portfolio-form input[type="email"],
.portfolio-form input[type="tel"],
.portfolio-form textarea,
.portfolio-form select,
.portfolio-form input[type="file"] {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.portfolio-form button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.portfolio-form button:hover {
    background-color: #0056b3;
}

.portfolio-form .section {
    margin-bottom: 20px;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
}

.portfolio-form .image-upload-container {
    margin: auto;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.portfolio-form .profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.portfolio-form .profile-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.portfolio-form .image-upload-container:hover .profile-photo-overlay {
    opacity: 1;
}

.portfolio-form .profile-photo-overlay input[type="file"] {
    display: none;
}

.portfolio-form .skill-input input,
.portfolio-form .education-input input,
.portfolio-form .experience-input input,
.portfolio-form .course-input input {
    flex: 1;
}
