/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lexend:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo:ital,wght@0,100..900;1,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lexend:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    overflow-x: hidden;
}

/* -- HEADER -- */

header {
    font-size: 20px;
    color: rgb(4, 54, 95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 45px;
}

nav {
    margin-left: auto;
    padding: 10px;
}

nav ul {
    list-style: none;    
    display: flex;   
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    color: rgb(28, 48, 130);
    text-decoration: none;
    font-weight: bold;
}

/* HAMBURGER */
.hamburger {
	display: none; /* desktop: hide */
	flex-direction: column;
	justify-content: space-between;
	width: 25px;
	height: 20px;
	cursor: pointer;
}

.hamburger span {
	display: block;
	height: 3px;
	background: rgb(4, 54, 95);
	border-radius: 2px;
	transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px); /* hamburger animation */
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* Tablet */
@media (max-width: 900px) {

	.hamburger {
		display: flex;
	}

	.menu {
		display: none;
		position: absolute;
		top: 65px;
		right: 5%;
		background: white;
		width: 200px;
		box-shadow: 0 4px 8px rgba(0,0,0,0.1);
		border-radius: 5px;
		flex-direction: column;
		gap: 15px;
		padding: 15px;
		transition: max-height 0.3s ease, opacity 0.3s ease;
		max-height: 0;
		opacity: 0;
		overflow: hidden;
	}

	.menu.open {
		display: flex;
		max-height: 500px;
		opacity: 1;
	}

	.menu ul {
		flex-direction: column;
		gap: 15px;
		padding: 0;
	}
}

/* Mobile */
@media (max-width: 600px) {
	header {
		padding: 10px 5%;
	}

	.menu {
		width: 180px;
		top: 60px;
	}
}

/* -- HOME -- */

/* VIDEO */
.home-video { 
	width: 100%; 
	max-width: 100vw; 
	overflow: hidden; 
}

.home-videoplayer { 
	width: 100%; 
	height: 80vh; 
	object-fit: cover; 
	display: block; 
}

/* SECTIONS */
.home-section-influencer, 
.home-section-earning { 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	gap: 60px; 
	padding: 40px 10%; 
	max-width: 1200px; 
	margin: auto; 
	min-height: auto; 
}

.home-section-influencer-row, 
.home-section-earning-row, 
.home-section-influencer-text, 
.home-section-earning-text { 
	flex: 1; 
	display: flex; 
	flex-direction: column; 
	justify-content: center; 
}

.home-section-influencer-image, 
.home-section-earning-image { 
	width: 100%; 
	height: 350px; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
}

.home-section-influencer-image,
.home-section-earning-image{
	height:300px;
}

.home-section-influencer-image img, 
.home-section-earning-image img { 
	width: 100%; 
	height: 100%; 
	object-fit: contain; 
}

.home-section-influencer-text, 
.home-section-earning-text { 
	max-width: 500px; 
	line-height: 1.6; 
}

.home-section-influencer-text h2, 
.home-section-earning-text h2 { 
	margin-bottom: 10px; 
	font-size: 28px; 
}

.home-section-earning { 
	flex-direction: row-reverse; 
}

.home-section-earning-text a {
    color: rgb(28, 48, 130);
    font-weight: bold;
    text-decoration: none;
}

/* Tablet */
@media (max-width: 900px) { 

	.home-section-influencer, 
	.home-section-earning { 
		flex-direction: column; 
		text-align: center; 
		padding: 60px 8%; 
	}

	.home-section-earning { 
		flex-direction: column; 
	}

	.home-section-influencer-image, 
	.home-section-earning-image { 
		height: 250px; 
	}

}

/* Mobile */
@media (max-width: 600px) { 

	.home-videoplayer { 
		height: 60vh; 
	}

	.home-section-influencer-text h2, 
	.home-section-earning-text h2 { 
		font-size: 24px; 
	}

}

/* -- TUTORIAL -- */

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

.tutorial-page {
	background: #f4f6f8;
	padding: 40px 0;
}

.tutorial-container {
	max-width: 800px;
	width: 90%;
	margin: auto;
	background: white;
	padding: 35px;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
	text-align: center;
}

.tutorial-page h1 {
	margin-bottom: 20px;
	font-size: 32px;
}

.tutorial-videoplayer {
    width: 672px;
    height: 378px;
}

/* Tablet */
@media (max-width: 768px) {

	.tutorial-container {
		padding: 25px;
	}

	.tutorial-page h1 {
		font-size: 28px;
	}

    .tutorial-videoplayer {
        width: 336px;
        height: 189px;
    }

}

/* Mobile */
@media (max-width: 480px) {

	.tutorial-container {
		width: 95%;
		padding: 20px;
	}

	.tutorial-page h1 {
		font-size: 24px;
	}

    .tutorial-videoplayer {
        width: 336px;
        height: 189px;
    }

}

/* -- BRANDS -- */

.brands-body {
  background:#f3f5f7;
}

.brands-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: auto;
    padding: 30px;
}

.brand

/* FILTERS */
.filters {
    background: #f5f7f9;
    padding: 20px;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.filters button {
    width: 100%;
    padding: 10px;
    background: #17b3b0;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
	margin-top: 15px;
}


/* SEARCH BAR */
.search-bar {
    margin-bottom: 20px;
}

.search-bar input {
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.search-bar button {
    padding: 10px 16px;
    background: rgb(1, 176, 194);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
	margin-top: 20px;
}

/* CARDS */
.brand-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brand-card {
    display: grid;
    grid-template-columns: 80px 1fr 160px;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0,0.5);
}

.brand-left img {
    width: 50px;
    height: auto;
}

.brand-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
    color: #555;
}

.brand-action a {
    background:  rgb(1, 176, 194); /* color lightblue logo */
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
}

/* Tablet */
@media (max-width: 900px) {
	.brands-layout {
		grid-template-columns: 1fr; /* filters above content */
		padding: 20px;
	}

	.filters {
		position: relative;
		top: auto;
		width: 100%;
		margin-bottom: 20px;
	}

	.brand-card {
		grid-template-columns: 60px 1fr 140px;
	}
}

/* Mobile */
@media (max-width: 600px) {
	.search-bar {
		flex-direction: column;
	}

	.search-bar input {
		width: 100%;
	}

	.brand-card {
		grid-template-columns: 1fr; /* all elements arranged vertically one below the other */
		gap: 10px;
		padding: 15px;
	}

	.brand-left img {
		width: 40px;
		margin-bottom: 10px;
	}

	.brand-action {
	margin-top: 15px;
	}

	.brand-action a {
		width: 100%;
		text-align: center;
	}

}

/* -- ABOUT -- */

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

.about-page {
	background: #f4f6f8;
	padding: 40px 0;
}

.about-container {
	max-width: 800px;
	width: 90%;
	margin: auto;
	background: white;
	padding: 35px;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
	text-align: center;
}

.about-page h1 {
	margin-bottom: 20px;
	font-size: 32px;
}

.about-intro {
	color: black;
	font-size: 18px;
	margin-bottom: 25px;
	line-height: 1.6;
}

.about-story {
	color: black;
	font-size: 16px;
	margin-bottom: 20px;
	line-height: 1.6;
	text-align: justify;
}

/* Tablet */
@media (max-width: 768px) {

	.about-container {
		padding: 25px;
	}

	.about-page h1 {
		font-size: 28px;
	}

	.about-intro {
		font-size: 17px;
	}

	.about-story {
		font-size: 15px;
	}

}

/* Mobile */
@media (max-width: 480px) {

	.about-container {
		width: 95%;
		padding: 20px;
	}

	.about-page h1 {
		font-size: 24px;
	}

	.about-intro {
		font-size: 16px;
	}

	.about-story {
		font-size: 14px;
	}

}

/* -- SUPPORT -- */

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

.support-page {
	background: #f4f6f8;
	padding: 40px 0;
}

.support-container {
	max-width: 800px;
	width: 90%;
	margin: auto;
	background: white;
	padding: 35px;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.support-page h1 {
	text-align: center;
	margin-bottom: 10px;
}

.support-page h2 {
	text-align: center;
	margin-top: 30px;
	margin-bottom: 20px;
}

.support-intro {
	text-align: center;
	margin-bottom: 20px;
	color: #555;
}

.support-form {
	display: flex;
	flex-direction: column;
}

.support-form label {
	margin-top: 12px;
	font-weight: bold;
}

.support-form input,
.support-form textarea {
	width: 100%;
	padding: 12px;
	margin-top: 6px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 16px;
}

.support-form textarea {
	resize: vertical;
}

.support-form button {
	margin-top: 18px;
	padding: 14px;
	border: none;
	background: #0073e6;
	color: white;
	font-size: 16px;
	border-radius: 6px;
	cursor: pointer;
	transition: 0.2s;
	width: 100%;
}

.support-form button:hover {
	background: #005bb5;
}

.support-response {
	margin-top: 15px;
	font-size: 14px;
	color: #666;
	text-align: center;
}

.support-page hr {
	margin: 35px 0;
	border: none;
	border-top: 1px solid #ddd;
}

.support-faq-item {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #ddd;
}

.support-faq-item h3 {
	margin-bottom: 6px;
	font-size: 18px;
}

.support-faq-item p {
	color: #555;
}

/* Tablet */
@media (max-width: 768px) {

	.support-container {
		padding: 25px;
	}

	.support-page h1 {
		font-size: 26px;
	}

	.support-page h2 {
		font-size: 22px;
	}

}

/* Mobile */
@media (max-width: 480px) {

	.support-container {
		width: 95%;
		padding: 20px;
	}

	.support-page h1 {
		font-size: 24px;
	}

	.support-page h2 {
		font-size: 20px;
	}

	.support-form input,
	.support-form textarea {
		font-size: 15px;
		padding: 10px;
	}

	.support-form button {
		font-size: 15px;
		padding: 12px;
	}

	.support-faq-item h3 {
		font-size: 16px;
	}

}

/* -- LOGIN -- */

.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to right, #e2e2e2, #87c2c8);
    color: #333;
}

.login-container {
    margin: 0 15px;
}

.form-box {
    width: 100%;
    max-width: 450px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.form-box.active {
    display: block;
}

.form-box h2 {
    font-size: 34px;
    text-align: center;
    margin-bottom: 20px;
}

.login-input,
.login-select {
    width: 100%;
    padding: 12px;
    background: #eee;
    border-radius: 6px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.login-button {
    width: 100%;
    padding: 12px;
    background: rgb(28, 48, 130);
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 20px;
    transition: 0,5s;
}

.login-button:hover {
    background: rgba(28, 48, 130, 0.601);
}

.form-box p {
    font-size: 14.5px;
    text-align: center;
    margin-bottom: 10px;
}

.form-box p a {
    color: rgb(28, 48, 130);
    text-decoration: none;
}
.form-box p a:hover {
    text-decoration: underline;
}

.error-message {
    padding: 12px;
    background: #f8d7da;
    border-radius: 6px;
    font-size: 16px;
    color: #a42834;
    text-align: center;
    margin-bottom: 20px;
}

/* -- USER AND ADMIN PAGES -- */

.user-body,
.admin-body {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;   
    min-height: 100vh;
    gap: 20px;     
}

.user-box,
.admin-box {
    text-align: center;   
}

.user-box h1, .admin-box h1 {
    font-size: 50px;  
}

.user-box span, .admin-box span {
    color: rgb(28, 48, 130);
}

.user-box p, .admin-box p {
    font-size: 22px;
    margin-bottom: 5px;
}

/* LOGOUT */
.logout-button {
    width: 300px;
    padding: 12px;
    background: rgb(28, 48, 130);
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 20px;
    transition: 0,5s;
    display: block;
    margin: 0 auto;
}

/* PASSWORD CHANGE */
.password-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.password-form h2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
}

.password-input {
    width: 100%;
    padding: 12px;
    background: #eee;
    border-radius: 5px;
    border: none;
    outline: none;
    font-size: 12px;
    color: #333;
    margin-bottom: 8px;
}

.password-button {
    width: 100%;
    padding: 12px;
    background: rgb(28, 48, 130);
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    transition: 0,5s;
    display: block;
    margin: 0 auto;
}

/* PASSWORD DELETE */
.delete {
    margin-top: 30px;
}

.delete-button {
    width: 300px;
    padding: 12px;
    background-color: #a42834;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 20px;
    transition: 0,5s;
    display: block;
    margin: 0 auto;
}

/* -- FOOTER -- */
.footer {
    background-color: rgb(28, 48, 130);
    padding: 45px 10% 20px;
    color: white;
    font-weight: bold;
}

.footer-container {
    max-width: 1200px;  
    margin: 0 auto;        
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap; /* important for responsiveness */
	margin-top: 20px;
}

.footer-left {
    max-width: 250px;
    flex: 1 1 250px; /* flexible width */
    margin-bottom: 30px; /* spacing on mobile */
}

.footer-right {
    display: flex;
    gap: 60px;
    justify-content: flex-end; /* pushes columns to the right */
}

.footer-column {
    min-width: 150px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 100%; /* makes logo responsive */
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.social-icons img {
    width: 40px;
    height: 40px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.social-icons img:hover {
    opacity: 1;
}

.footer-column h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-column a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 60px;
    text-align: center;
    font-size: 13px;
    color: white;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

/* Tablet */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column; /* stack content vertically */
        align-items: center;
        text-align: center;
    }

	.footer-left {
    margin-bottom: 0px;
  	}
    
    .footer-right {
        flex-direction: row;
        gap: 40px;
        justify-content: center;
        margin-left: 0;
    }

	.footer-bottom {
		margin-top: 30px; /* smaller gap */
	}
}

/* Mobile */
@media (max-width: 600px) {
	.footer-container {
		margin-top: 35px;
	}
    .footer-right {
        flex-direction: column; /* stack columns vertically */
        gap: 20px;
    }

    .footer-column {
        margin-bottom: 20px;
    }

    .footer-logo {
        max-width: 200px;
    }

    .social-icons img {
        width: 30px;
        height: 30px;
    }

    .footer {
        padding: 30px 5%; /* smaller padding for mobile */
    }
}

/* -- RESPONSIVE -- */

@media (max-width: 900px){

    .content-grid{
        grid-template-columns: 1fr;
    }

}