:focus-visible {
    outline: 2px solid #000000 !important;
    outline-offset: 2px;
}

html {
    background-color: #282626;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    max-width: 1920px;
    margin: 0 auto;
}

p { font-size: 18px; line-height: 1.2; font-weight: 400; }

h1, .h1 { font-size: 52px; line-height: 0.95; font-weight: 400; margin-bottom: 18px; }
h2, .h2 { font-size: 38px; line-height: 1.1; font-weight: 400; }
h3, .h3 { font-size: 24px; line-height: 1.1; font-weight: 600;}
h4, .h4 { font-size: 18px; line-height: 1.1; font-weight: 600;}

@media (min-width: 992px) {
    h1, .h1 { font-size: 82px; }
    h2, .h2 { font-size: 52px; line-height: 0.95; }
    h3, .h3 { font-size: 28px; line-height: 1; }
    h4, .h4 { font-size: 21px; line-height: 1.1; } 
}

.bg-aqua { background-color: #6BE6FB; }
.bg-black { background-color: #000000; }
.bg-grey { background-color: #221F20; }
.bg-coral { background-color: #F86363; }
.bg-yellow { background-color: #E4E369; }
.bg-purple { background-color: #999DC4; }
.bg-green { background-color: #83C778; }
.bg-orange { background-color: #EBA662; }

.text-purple { color: #6D72AB; }

.text-white p a { color: #ffffff; text-decoration:underline;}
.text-white p a:focus-visible { outline: 1px solid #ffffff !important; }

.container {
    max-width: 1480px;
    padding-left: 20px;
    padding-right: 20px;
}

/* ===================================
   AZ Tech Week Header & Navigation
   Mobile-First Design
   =================================== */

/* Base styles - Mobile */
.aztech-header {
    position: relative;
    width: 100%;
    z-index: 1000;
    background-color: #221F20;
}

.aztech-header .navbar {
    padding: 16px 0;
    transition: all 0.3s ease;
    background-color: #221F20;
}

.aztech-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1480px;
    padding: 0 20px;
}

/* Hamburger on the left */
.hamburger {
    margin-right: auto;
    z-index: 1050;
    position: relative;
}

/* Logo centered on mobile */
.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
}

/* Mobile menu slides from left - full screen */
.navbar-collapse {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: #221F20;
    transition: left 0.2s ease-in-out;
    padding: 110px 0px 20px 20px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
}

.navbar-collapse.show {
    left: 0;
    padding-left: 0px;
}

.navbar-collapse.collapsing {
    left: -100%;
    transition: left 0.3s ease-in-out;
    height: 100vh;
}

.navbar-nav {
    padding: 0;
    text-align: right;
    flex: 1;
    gap: 20px;
    padding-right: 20px;
}

.nav-item {
    margin: 10px 0;
}

/* Mobile nav footer with logos */
.mobile-nav-footer {
    margin-top: auto;
    margin-left: -20px;
    margin-right: -20px;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.mobile-nav-logos {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    opacity: 0.3;
}

/* Hide the button in the sidebar menu on mobile */
.navbar-collapse .btn-host-event {
    display: none !important;
}

/* Mobile header button styling */
.order-2.btn-host-event {
    z-index: 1050;
}

.aztech-header .btn-host-event {
    z-index: 1050;
}

/* Desktop styles - min-width */
@media (min-width: 992px) {
    .aztech-header {
        background-color: transparent;
    }
    
    .aztech-header .navbar {
        background-color: transparent;
    }
    
    .aztech-header .container {
        display: block;
    }
    
    .hamburger {
        margin-right: 0;
    }
    
    .navbar-brand {
        position: static;
        transform: none;
    }
    
    .navbar-collapse {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        transition: none;
        padding: 0;
        overflow-y: visible;
        z-index: auto;
    }
    
    .navbar-nav {
        text-align: left;
    }
    
    .nav-item {
        margin: 0;
    }
    
    .navbar-collapse .btn-host-event {
        display: inline-block !important;
    }
    
    .order-2.btn-host-event {
        display: none !important;
    }
}

/* Logo Styles */
.navbar-logo {
    width: auto;
    transition: height 0.3s ease;
    transform: translateZ(0);
}

svg {
    transform: translateZ(0);
}

/* Navigation Links - Mobile First */
.navbar-nav .nav-link {
    color: #fff !important;
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: 0.5px;
    padding: 0;
    transition: color 0.3s ease;
    position: relative;
    text-transform: uppercase;
    text-align: right;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #ccc !important;
}

.navbar-nav .nav-link:focus-visible {
    outline-offset: -2px;
}

.navbar-nav .nav-item.active .nav-link {
    font-weight: 700;
}

/* Desktop Navigation Links */
@media (min-width: 992px) {
    .navbar-logo {
        height: 55px;
        max-width: 100%;
    }
    
    .nav-item {
        margin: 0 17.5px;
    }
    
    .nav-item:first-child {
        margin-left: 0;
    }
    
    .nav-item:last-child {
        margin-right: 0;
    }
    
    .navbar-nav .nav-link {
        color: #221F20 !important;
        font-weight: 400;
        font-size: 16px;
        line-height: normal;
        padding: 0.5rem 1.25rem !important;
        text-align: left;
        letter-spacing: 0.8px;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: #333 !important;
    }
}

@media (min-width: 1200px) {
    .navbar-logo {
        height: 90px;
    }
}

/* Default Button Styles - Site-wide */
.btn,
.btn-host-event,
button[type="submit"],
input[type="submit"] {
    background-color: #D13D3D;
    border: 2px solid #D13D3D;
    color: #ffffff !important;
    padding: 13px 40px;
    border-radius: 28px;
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 118%;
    letter-spacing: 0.15em;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    cursor: pointer;
}

.btn:hover,
.btn-host-event:hover,
.btn:focus,
.btn-host-event:focus,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: #221F20;
    border: 2px solid #ffffff;
    color: #ffffff !important;
    text-decoration: none;
}

/* White focus outline for buttons on grey background */
.bg-grey .btn:focus,
.bg-grey .btn:focus-visible,
.bg-grey .btn-host-event:focus {
    outline: 2px solid #ffffff !important;
    outline-offset: 2px;
}

/* ===================================
   Animated Hamburger Menu
   =================================== */

.hamburger {
    padding: 0;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
    outline: none;
}

.hamburger:hover {
    opacity: 0.7;
}

.hamburger-box {
    width: 23px;
    height: 24.84px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -1.8px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 23px;
    height: 4px;
    background-color: #fff;
    border-radius: 0px;
    position: absolute;
    transition-property: transform, background-color;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

/* Black hamburger on desktop */
@media (min-width: 992px) {
    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
        background-color: #221F20;
    }
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -10.62px;
}

.hamburger-inner::after {
    bottom: -10.62px;
}

/* Hamburger to X animation */
.hamburger.is-active .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.4s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.4s ease;
}

.hamburger.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease, transform 0.075s 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
    width: 100%;
    position: fixed;
}

/* Body styles */
.tech-week-body {
    padding-top: 0;
}

#azTechWeekHome {
    max-width: 1920px;
    margin: 0 auto;
}

#azTechWeekHome header {
    background-color: #6BE6FB !important; 
}

.skip-to-content {
    position: absolute;
    top: -46px;
    left: 8px;
    background: #d23f08;
    color: #fff !important;
    padding: 10px;
    z-index: 1500;
    transition: top 0.3s;
}

    .skip-to-content:focus {
        top: 10px;
        outline-offset: 0px;
    }

@media (min-width: 992px) {
    .tech-week-body {
        padding-top: 0;
    }
}

@media (min-width: 1200px) {
    .tech-week-body {
        padding-top: 0;
    }
}

/* ===================================
   AZ Tech Week Footer
   =================================== */

.aztech-footer {
    background-color: #6BE6FB;
    padding: 60px 0 40px;
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.aztech-footer .container {
    max-width: 1480px;
    padding: 0 20px;
}

.footer-brand-section .d-flex {
    width: fit-content;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
}

.footer-logo {
    height: 70px;
    width: auto;
    max-width: 100%;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 40px;
    align-items: center;
}

.footer-social a {
    color: #221F20;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 20px;
    line-height: 1;
}

.footer-social a:hover {
    color: #000;
}

.footer-social i {
    font-size: 20px;
}

/* Footer Navigation Section */
.footer-nav-section {
    margin-bottom: 40px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding-bottom: 15px;
}

.footer-nav a {
    color: #221F20;
}

.footer-nav-link {
    color: #221F20;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.8px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
    margin-bottom: 5px;
    width: fit-content;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.footer-nav-link:hover {
    color: #000;
    text-decoration: none;
}

/* Footer spacing */

/* Footer Bottom */
.footer-bottom {
    margin-top: 60px;
    display: flex;
    gap: 20px;
}

.footer-copyright {
    font-size: 15px;
    line-height: 18px;
    font-weight: 500;
    color: #221F20;
    padding-bottom: 35px;
    padding-top: 32px;
}

.footer-legal-links {
    padding-top: 18px;
    padding-bottom: 18px;
    border-top: 1px solid #221F20;
    border-bottom: 1px solid #221F20;
}

.footer-legal-links > .row {
    gap: 18px;
}

.footer-legal-links a {
    font-size: 18px;
    line-height: 21px;
    font-weight: 500;
    color: #221F20;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
    width: fit-content;
}

.footer-legal-links a:hover {
    color: #000;
    text-decoration: none;
}

/* Desktop Footer Layout */
@media (min-width: 992px) {

    .footer-nav {
        align-items: start;
        padding-bottom: 0px;
    }

    .footer-brand-section,
    .footer-nav-section {
        margin-bottom: 0;
    }
    
    .footer-bottom {
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #221F20;
    }
    
    .footer-email-input {
        flex: 1;
    }
    
    .footer-brand-section .d-flex {
        justify-self: left;
        margin-left: 0px;
    }
    .footer-legal-links {
        gap: 30px;
        border-top: none;
        border-bottom: none;
        padding-top: 0px;
        border-top: 0px;
        border-bottom: 0px;
    }
    .footer-copyright, .footer-legal-links {
        padding-top: 25px;
    }

    .footer-legal-links > .row {
        gap: 0px;
    }
}


/* Colorful Divider */
.colorful-divider {
    display: flex;
    width: 100%;
    height: 8px;
}

.divider-segment {
    flex: 1;
    height: 100%;
}

/* Home Page */
.home-page-hero {
    padding: 120px 0;
}

.home-page-hero .hero-header-image {
    margin-bottom: 142px;
}

.hero-header-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 72px;
}

.hero-header-image img {
    width: 100%;
    height: auto;
    display: block;
    transform: translateZ(0);
}

.home-page-hero .h2 {
    font-size: 26px;
}

.home-page-hero h1 {
    font-size: 48px;
    display: inline-block;
}

.home-page-hero h1, .home-page-hero .h2 {
    margin-bottom: 0px;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.2;
}

    .home-page-hero h1 span, .home-page-hero .h2 span {
        padding: 0px 20px;
        display: inline-block;
    }

/* Home Page Hero Layout */
@media (min-width: 992px) {
    .home-page-hero {
        padding: 210px 0;
    }

    .home-page-hero .h2 {
        font-size: 48px;
    }
    .home-page-hero h1 {
        font-size: 82px;
    }
}

/* Standard Page Hero (About Us, etc.) */
.aztech-page-hero {
    padding: 40px 0 30px;
    position: relative;
    overflow: hidden;
}

/* Animated line SVG - prevent excessive spacing */
.about-us-line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.page-parent-title {
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
    padding: 5px 20px;
    background-color: #000000;
    color: #ffffff;
    display: inline-block;
    line-height: 1.2;
}

.hero-title-wrapper a {
    text-decoration: none;
}

.hero-title-wrapper a:hover .page-parent-title {
    opacity: 0.8;
}

.page-hero-title {
    font-size: 36px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
    padding: 0 20px;
    background-color: #000000;
    color: #ffffff;
    display: inline-block;
    line-height: 1.2;
}

#azTechWeekThankYou .title-description-block {
    padding-bottom: 200px;
}


@media (min-width: 768px) {
    .aztech-page-hero {
        padding: 50px 0 40px;
    }
}

@media (min-width: 992px) {
    .aztech-page-hero {
        padding: 60px 0 50px;
    }
    
    .page-hero-title {
        font-size: 64px;
    }
    #azTechWeekAboutUs .container, #azTechWeekPartners .container, #azTechWeekContactUs .container, #azTechWeekPress .container, #azTechWeekPlanningGuide .container, #azTechWeekAttend .container {
        padding-left: 30px;
    }

    #azTechWeekVisitorGuide .container {
        padding-right: 30px;
    }
    .page-parent-title {
        font-size: 32px;
    }
}

/* ===================================
   Form Styles (.aztech-form-block)
   =================================== */

.aztech-form-block {
    padding: 80px 0;
}

.form-block-title {
    margin-bottom: 20px;
}

/* Form field styling */
.aztech-form-block .umbraco-forms-field {
    margin-bottom: 8px;
    width: 100%;
}

.aztech-form-block .umbraco-forms-container {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.aztech-form-block .row-fluid {
    margin: 0;
}

.aztech-form-block input[type="text"],
.aztech-form-block input[type="email"],
.aztech-form-block input[type="tel"],
.aztech-form-block select,
.aztech-form-block textarea {
    width: 100%;
    padding: 16px 12px;
    background-color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    color: #333333;
    font-family: 'Figtree', sans-serif;
    height: 56px;
    box-sizing: border-box;
}

.aztech-form-block textarea {
    height: 112px;
}

.aztech-form-block input[type="text"]::placeholder,
.aztech-form-block input[type="email"]::placeholder,
.aztech-form-block input[type="tel"]::placeholder,
.aztech-form-block textarea::placeholder {
    color: #595959;
    opacity: 1;
}

.aztech-form-block select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M2 2l6 6 6-6' stroke='%23333' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
    padding-right: 50px;
    cursor: pointer;
    color: #595959;
}

.aztech-form-block select option {
    color: #333333;
}

.aztech-form-block select option[value=""],
.aztech-form-block select option:first-child {
    color: #595959;
}

/* Change to black when user selects a real option (not the first/empty one) */
.aztech-form-block select:focus:valid {
    color: #333333;
}

.aztech-form-block select.has-value {
    color: #333333;
}

/* Two-column layout for first/last name */
.aztech-form-block .umbraco-forms-field.firstname,
.aztech-form-block .umbraco-forms-field.lastname {
    display: inline-block;
    width: calc(50% - 4px);
    vertical-align: top;
}

.aztech-form-block .umbraco-forms-field.firstname {
    margin-right: 8px;
}

.aztech-form-block .umbraco-forms-field.lastname {
    margin-left: 0;
}

/* Submit button - uses default site .btn styles */
.aztech-form-block .umbraco-forms-navigation {
    margin-top: 10px;
    position: relative;
    z-index: 10;
}

.aztech-form-block .umbraco-forms-navigation .btn {
    position: relative;
    z-index: 10;
}

/* Hide labels (using placeholders instead) */
.aztech-form-block .umbraco-forms-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Validation styling */
.aztech-form-block .umbraco-forms-field-wrapper {
    position: relative;
}

.aztech-form-block .field-validation-error {
    color: #E74C3C;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    position: absolute;
    bottom: 1px;
    left: 15px;
}

.aztech-form-block .multiplechoice .field-validation-error {
    bottom: -20px;
    left: 0px;
}

.aztech-form-block .longanswer .field-validation-error {
    bottom: 10px;
    left: 15px;
}

.aztech-form-block input.input-validation-error,
.aztech-form-block select.input-validation-error,
.aztech-form-block textarea.input-validation-error,
.aztech-form-block input[type="checkbox"].input-validation-error + label {
    border: 2px solid #E74C3C;
}

.umbraco-forms-hidden {
    display: none;
}

.aztech-form-block .umbraco-forms-navigation .col-md-12 {
    padding: 0px;
}

.form-block-form {
    max-width: 600px;
}

.umbraco-forms-submitmessage {
    color: #ffffff;
    font-size: 42px;
}

/* Desktop */
@media (min-width: 992px) {
    .aztech-form-block {
        padding: 50px 0 100px;
    }
}

/* Press Page */
#azTechWeekPress .repeater-title {
    text-transform: uppercase;
    max-width: 65%;
}

#azTechWeekPress .title-description-block {
    padding-bottom: 0px;
}

#azTechWeekPress .aztech-title-description-repeater {
    padding: 56px 0;
}

#azTechWeekPress .repeater-item {
    padding-bottom: 50px;
}
    #azTechWeekPress .repeater-item a {
        color: #ffffff;
        text-decoration: underline;
    }
    #azTechWeekPress .repeater-item p:last-child {
        margin-bottom: 0px;
    }

@media (min-width: 768px) {
    #azTechWeekPress .aztech-title-description-repeater {
        padding: 40px 0;
    }

}


.hidden {
    display: none !important;
}

.tech-week-body .countryprovincedropdown label {
    display: none;
}

.tech-week-body select#regionDropdown {
    margin-top: 8px;
}
