/* W3Schools Clone Styles */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

:root {
    --bs-font-sans-serif: 'Source Sans Pro', sans-serif;
    --w3-green: #04AA6D;
    --w3-dark-green: #059862;
    --w3-dark: #282A35;
    --w3-light-grey: #E7E9EB;
    --w3-text-white: #ffffff;
    --w3-text-black: #000000;
}

body {
    font-family: var(--bs-font-sans-serif);
    color: #000;
    margin: 0;
}

/* Header & Navbar */
.navbar-top {
    background-color: #ffffff;
    height: 70px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1030;
}

.navbar-brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

.nav-link-top {
    color: #000;
    font-weight: 600;
    font-size: 18px;
    padding: 23px 15px !important;
}

.nav-link-top:hover {
    background-color: var(--w3-green);
    color: #fff !important;
}

.nav-link-top-icon {
    font-size: 20px;
}

.btn-login {
    background-color: var(--w3-green);
    color: white;
    font-weight: 600;
    border-radius: 25px;
    padding: 8px 25px;
    margin-left: 15px;
}

.btn-login:hover {
    background-color: var(--w3-dark-green);
    color: white;
}

/* Secondary Navbar */
.navbar-secondary {
    background-color: #282A35;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: #04AA6D #282A35;
}

.navbar-secondary::-webkit-scrollbar {
    height: 4px;
}

.navbar-secondary::-webkit-scrollbar-track {
    background: #282A35;
}

.navbar-secondary::-webkit-scrollbar-thumb {
    background-color: #04AA6D;
    border-radius: 10px;
}

.nav-link-sec {
    color: #fff !important;
    font-size: 15px;
    padding: 10px 15px !important;
    font-weight: 400;
}

.nav-link-sec:hover {
    background-color: #000;
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    background-color: var(--w3-dark);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-title {
    font-size: 65px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #FFC0C7;
    margin-bottom: 40px;
}

.hero-search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.hero-search-input {
    border-radius: 50px;
    padding: 15px 30px;
    border: none;
    font-size: 16px;
    height: 50px;
}

.hero-search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    background-color: var(--w3-green);
    border: none;
    padding: 0 40px;
    color: white;
    font-size: 18px;
    transition: 0.3s;
}

.hero-search-btn:hover {
    background-color: var(--w3-dark-green);
}

.hero-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
    margin-top: 20px;
    display: inline-block;
}

/* Language Cards (Home) */
.lang-section {
    padding: 50px 0;
}

.lang-card {
    text-align: center;
    border-radius: 5px;
    padding: 40px;
    margin-bottom: 20px;
    background-color: #D9EEE1;
    /* HTML Greenish */
}

.lang-card.css-card {
    background-color: #FFF4A3;
}

/* CSS Yellowish */
.lang-card.js-card {
    background-color: #282A35;
    color: white;
}

/* JS Dark */
.lang-card.python-card {
    background-color: #F3ECEA;
}

/* Python Light */
.lang-card.sql-card {
    background-color: #96D4D4;
}

/* SQL Blueish */

.lang-title {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
}

.lang-desc {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 500;
}

.btn-learn {
    background-color: var(--w3-green);
    color: white;
    border-radius: 25px;
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
    width: 200px;
}

.btn-learn:hover {
    background-color: var(--w3-dark-green);
    color: white;
}

.btn-ref {
    background-color: #282A35;
    color: white;
    border-radius: 25px;
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
    width: 200px;
}

.btn-ref:hover {
    background-color: #000;
    color: white;
}

.btn-cert {
    background-color: #FFC0C7;
    color: #000;
    border-radius: 25px;
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    text-decoration: none;
    display: inline-block;
    width: 200px;
}

.btn-cert:hover {
    background-color: #ff9ea9;
    color: black;
}

/* Custom Scrollbar for secondary nav */
.navbar-secondary::-webkit-scrollbar {
    height: 0;
    width: 0;
}