/** CSS Reset **/
*, *::before, *::after {
    box-sizing: border-box;
}
* {
    margin: 0;
}
body {
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
    font-family: var(--primary-font);
}
input, button, textarea, select {
    font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
p {
    line-height: 1.5;
    margin-bottom: 15px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--secondary-font);
    font-weight: 400;
}
#root, #__next {
    isolation: isolate;
}
a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
p a:hover {
    text-decoration: underline;
}
ul, ol {
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}
/** End CSS Reset **/

/** Root vars and core classes **/
:root {
    --white: #FFF;
    --black: #000;
    --almostblack: #111112;
    --red: #D12027;
    --red-light: #F06A5C;
    --darkgrey: #272727;
    --header-color: #CCC;
    --header-item-hover: #AAA;
    --header-dropdown-color: #BBB;
    --sidebar-color: #888;
    --sidebar-item-hover: #666;
    --sidebar-dropdown-color: #AAA;
    --primary-font: 'Poppins', 'Arial', sans-serif;
    --secondary-font: 'Roboto', sans-serif;
}

h2 {
    font-weight: 500;
    font-size: 38px;
    margin-bottom: 20px;
}

.bg-red {
    background: var(--red);
}

.bg-grey {
    background: #F5F5F5;
}

.bg-darkgrey {
    background: var(--darkgrey);
}

.bold, .boldme {
    font-weight: bold;
}

.text-white {
    color: var(--white);
}

.text-redlight {
    color: var(--red-light);
}

/** Container **/
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/** Header **/
header, .fixed-header-padding {
    height: 80px;
    width: 100%;
    background: #FFF;
}

.fixed-header-padding {
    display: none;
}

.fixed-header .fixed-header-padding {
    display: block;
}

.fixed-header header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

header.scrolled {
    background: #FFF;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.logo-text {
    font-family: var(--secondary-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 1px;
}

.logo-highlight {
    color: var(--red);
}

/* Top Menu */
.main-menu {
    height: 100%;
    display: flex;
    align-items: center;
}

.main-menu ul.menu-ul {
    list-style-type: none;
    height: 100%;
    margin-right: 0;
    display: flex;
}

.main-menu ul.menu-ul li.menu-item {
    display: inline-block;
    height: 100%;
    color: var(--black);
    font-family: var(--primary-font);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
}

.main-menu ul.menu-ul li.menu-item a {
    padding: 10px 20px;
    height: 100%;
    display: flex;
    align-items: center;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    color: var(--black);
}

.main-menu ul.menu-ul li.menu-item > a:hover,
.main-menu ul.menu-ul li.menu-item.active > a {
    border-width: 4px;
    border-style: solid;
    border-color: var(--red);
    border-top: none;
    border-left: none;
    border-right: none;
}

.hamburger {
    padding: 20px 0 20px 20px;
    display: none;
}

.hamburger .mdi {
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
    color: var(--black);
}

.hamburger .mdi:hover {
    color: var(--red);
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background-color: #2E2E2E;
    color: var(--white);
    z-index: 101;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 18px;
}

.side-menu.shown {
    transform: translateX(-320px);
}

.side-menu ul.menu-ul {
    list-style-type: none;
    height: 100%;
    margin-top: 50px;
}

.side-menu ul.menu-ul li.menu-item a {
    padding: 15px 50px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    color: var(--white);
}

.side-menu ul.menu-ul li.menu-item > a:hover {
    color: var(--red);
}

.side-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
}

.side-menu .mdi {
    cursor: pointer;
    font-size: 24px;
    transition: color 0.3s ease;
}

.side-close-btn:hover .mdi {
    color: #CCC;
}

/** Hero Section **/
.hero {
    height: 700px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: var(--darkgrey);
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?w=1920&h=1080&fit=crop');
}

.hero .hero-overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

h1 {
    color: var(--white);
    font-size: 65px;
    text-align: center;
    font-family: var(--secondary-font);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-body {
    font-size: 22px;
    margin-bottom: 30px;
}

.hero-body p {
    color: var(--white);
}

/** Content Right Section **/
.content-right-section {
    display: flex;
    width: 100%;
    min-height: 600px;
}

.content-right-section .image-side {
    width: 50%;
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

.content-right-section .content-side {
    width: 50%;
    padding: 80px 60px;
    display: flex;
    align-items: center;
}

.tag {
    color: var(--red);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 14px;
    margin-bottom: 10px;
}

.text {
    font-family: var(--primary-font);
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

/** Stats/Tiles Section **/
.hometiles-section {
    background-color: var(--almostblack);
    padding: 80px 0;
}

.hometiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.hometiles .tile {
    width: calc(25% - 15px);
    padding: 30px;
    text-align: center;
}

.hometiles .tile img {
    height: 60px;
    margin-bottom: 15px;
}

.hometile-number {
    font-size: 60px;
    font-weight: 700;
    font-family: var(--secondary-font);
    line-height: 1;
    margin-bottom: 10px;
}

.hometile-heading {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

/** Services Section **/
.services-section {
    padding: 100px 0;
    background: #F9F9F9;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 48px;
    color: var(--red);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--almostblack);
}

.service-card .text {
    font-size: 14px;
    line-height: 1.6;
}

/** Talent Tiles Section **/
.talent-tiles-section {
    padding: 0;
    background: var(--darkgrey);
}

.talent-tiles-holder {
    display: flex;
    flex-wrap: wrap;
}

.talent-tile {
    width: 33.333%;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.talent-tile.network-tile {
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    text-align: center;
}

.talent-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.talent-title {
    color: var(--white);
    font-size: 24px;
    font-weight: 600;
    font-family: var(--secondary-font);
}

.network-heading {
    color: var(--white);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: var(--secondary-font);
}

.talent-tile.network-tile .text {
    color: rgba(255,255,255,0.9);
}

/** Contact Section **/
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
}

.contact-icon {
    font-size: 28px;
    color: var(--red);
    margin-right: 20px;
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 16px;
    color: var(--almostblack);
    font-weight: 500;
    margin-bottom: 0;
}

.contact-form-wrapper {
    background: #F9F9F9;
    padding: 40px;
    border-radius: 4px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #DDD;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--red);
}

.contact-form textarea {
    margin-bottom: 20px;
    resize: vertical;
}

/** Buttons **/
.button {
    font-family: var(--secondary-font);
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 16px 40px;
    border: 2px solid var(--black);
    color: var(--black);
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.1em;
    background: transparent;
}

.button:hover {
    background: var(--black);
    color: var(--white);
}

.button.white {
    border: 2px solid var(--white);
    color: var(--white);
}

.button.white:hover {
    background: var(--white);
    color: var(--black);
}

.button.black {
    border: 2px solid var(--black);
    color: var(--white);
    background: var(--black);
}

.button.black:hover {
    background: var(--white);
    color: var(--black);
}

/** Footer CTA **/
.footer-contain {
    background-color: var(--darkgrey);
    color: var(--white);
    background-size: cover;
    width: 100%;
}

.footer-cta {
    padding: 60px 0;
    background: var(--almostblack);
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-left {
    font-size: 26px;
    font-weight: 500;
    font-family: var(--secondary-font);
}

.cta-left p {
    margin: 0;
}

.cta-button-holder {
    display: flex;
    gap: 15px;
}

/** Footer **/
.footer {
    width: 100%;
    background-color: var(--white);
    color: var(--darkgrey);
}

.footer-top {
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-text {
    font-family: var(--secondary-font);
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--red);
}

.footer-bottom-links {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-family: var(--secondary-font);
    font-size: 13px;
    padding: 25px 0;
    border-top: 1px solid #EEE;
    color: #888;
}

/** Responsive Design **/
@media screen and (max-width: 1199px) {
    .talent-tile.network-tile {
        padding: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 1099px) {
    .talent-tile {
        width: 50%;
    }
    
    .home .talent-tile.network-tile {
        width: 50%;
    }
    
    .talent-tile.network-tile {
        width: 100%;
    }
}

@media screen and (max-width: 999px) {
    .hero {
        height: 550px;
    }
    
    h1 {
        font-size: 50px;
    }
    
    .content-right-section {
        flex-wrap: wrap;
    }
    
    .content-right-section .image-side {
        width: 100%;
        height: 400px;
        order: 2;
    }
    
    .content-right-section .content-side {
        width: 100%;
        padding: 60px 40px;
        order: 1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-content {
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
    }
    
    .cta-left {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .cta-button-holder {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 899px) {
    .main-menu ul.menu-ul {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hometiles .tile {
        width: 48%;
    }
}

@media screen and (max-width: 830px) {
    .home .talent-tile.network-tile {
        width: 100%;
    }
    
    .talent-tile:nth-child(6) {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 30px;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero-body {
        font-size: 18px;
    }
    
    .hometiles-section {
        padding: 60px 0;
    }
    
    .hometile-number {
        font-size: 48px;
    }
    
    .talent-tile {
        height: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media screen and (max-width: 640px) {
    .content-right-section .content-side {
        padding: 50px 25px;
    }
    
    .hometiles .tile {
        width: 100%;
    }
    
    .talent-tile {
        width: 100%;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .cta-left {
        font-size: 22px;
    }
    
    .button {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .services-section,
    .contact-section {
        padding: 70px 0;
    }
}

@media screen and (max-width: 440px) {
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .talent-tile.network-tile {
        height: auto;
        padding: 50px 30px;
    }
}
