@font-face {
    font-family: 'Microgramma Extd D';
    src: url('../fonts/MicrogrammaExtD-Bol.woff2') format('woff2'),
        url('../fonts/MicrogrammaExtD-Bol.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Citerne';
    src: url('../fonts/Citerne-Regular.woff2') format('woff2'),
        url('../fonts/Citerne-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Andale Mono';
    src: url('../fonts/AndaleMono.woff2') format('woff2'),
        url('../fonts/AndaleMono.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Citerne", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #000000;
    color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Microgramma Extd D", Arial, sans-serif;
}

p {
    font-weight: 300;
}

.navbar {
    font-weight: 200;
    padding: 2rem;
    background-color: #000000;
}

.navbar .nav-item {
    padding: 0 1rem;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 200;
}

.navbar-expand-lg .navbar-nav .nav-link {
    font-size: 15px;
    color: #FFF;
}

#main-menu .nav-link {
    position: relative;
    font-weight: 400;
    transition: color 0.3s ease-in-out;
}

#main-menu .nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: #ff6600; 
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

#main-menu .nav-link.active::after {
    width: 100%;
    left: 0;
}

.hero-section {
    padding: 200px 0 100px;
    background-size: 100%;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
    z-index: 10;
}  

.hero-title {
    font-size: 3.75rem;
    font-weight: 400;
    line-height: normal;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-img {
    max-width: 400px;
    max-height: 475px;
    object-fit: cover;
}

.small-title{
    font-size: 2rem;
    font-family: "Citerne";
    font-weight: 300;
    line-height: 45px;
}

.btn-group {
    margin-top: 3rem;
}

.btn {
    border-radius: 20px;
    font-size: 15px;
    font-weight: 700;
    padding: .7rem 1.5rem .7rem 1.5rem;
    transition: 0.3s;
    font-family: "Andale Mono", monospace;
    color: #004AAD;
}

.btn:hover {
    color: #fff;
    background: transparent;
    transform: scale(1.04);
}

.section-title {
    font-size: 3rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* NEW CLASSES FOR VISION PAGE */

/* Value Cards - replaces inline styles */
.value-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
}

.value-description {
    color: #cccccc;
    line-height: 1.6;
}

/* Tagline Box */
.tagline-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
}

.tagline-title {
    color: white !important;
}

.tagline-subtitle {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0;
}

/* Call to Action Box */
.cta-box {
    background-color: #1a1a1a;
    border: 2px solid #667eea;
    border-radius: 12px;
}

.cta-title {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-description {
    color: #cccccc;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* END NEW CLASSES */

.media-section .section-title {
    max-width: 68rem;
    margin: auto;
    margin-bottom: 6rem;
}

.media-section .podcast-thumb {
    transition: 0.4s;
}

.podcast-thumb.image-card img{
    width: 100%;
    height: 270px;
    object-fit: cover;
    border-radius: 0.625rem;
}

.podcast-thumb iframe {
    border-radius: 0.625rem;
}

.podcast-thumb:hover {
    transform: scale(1.05);
}

.media-section .caption {
    max-width: 12rem;
    margin: auto;
    font-size: 1.25rem;
}

.content-section .section-title {
    max-width: 68rem;
    margin: auto;
    margin-bottom: 3rem;
}

.owl-carousel .owl-item img {
    width: 70%;
    margin: auto;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: #fff;
}

.owl-theme .owl-dots .owl-dot span {
    background: #8e8888;
}

.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
    font-size: 32px;
}

.owl-nav {
    position: absolute;
    top: 35%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.owl-nav button {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
    pointer-events: all;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: transparent;
}

.owl-prev {
    position: absolute;
    left: -7%;
}

.owl-next {
    position: absolute;
    right: -1%;
}

.owl-theme .owl-dots, .owl-theme .owl-nav {
    margin-top: 2rem;
}


.content-section p,
.events-section p {
    margin-bottom: 1.5rem;
}

.eyebrow {
    font-size: 1.5rem;
}

.media-section,
.content-section,
.events-section {
    padding: 60px 0;
    position: relative;
}

.content-section {
    padding: 100px 0 60px;
}

.events-section {
    padding: 60px 0 40px;
}

.events-section .row {
    margin-top: 8rem;
}

.content-section img,
.events-section img {
    width: 100%;
}

.events-section .events-img { 
    position: relative;
    max-width: 620px;
    max-height: 655px;
    object-fit: cover;
}

.content-section p,
.events-section p {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 150%
}

.content-section h3.subtitle,
.events-section h3.subtitle {
    font-family: "Citerne";
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.social-icons a {
    width: 64px;
    margin-left: 1.25rem;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: scale(1.07);
}

.social-icons a:first-child {
    margin-left: 0;
}    

.footer {
    text-align: center;
    padding: 2rem 0 3rem;
    font-size: 1.25rem;
}

.footer .btn-group {
    margin-top: 20px;
}

.footer .large-text {
    text-align: left;
    font-family: "Microgramma Extd D";
    font-weight: 400;
    line-height: normal;
}

.footer p {
    line-height: normal;
}    

/* Media Queries */

@media (min-width: 1800px) {
    .footer .inner-footer {
        background-size: cover;
        background-position: center;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
        font-weight: 400;
        line-height: normal;
    }
    .footer .large-text {
        font-size: 3.438rem;

    }
    .footer p {
        max-width: 20rem;
        margin-left: auto;
    }    
    .media-section .col-md-6 {
        padding: 0 5rem;
    }
    .media-section .spacer {
        height: 70px;
    }

}

@media (min-width:768px) and (max-width:1023px) {
    .owl-next {
        right: -15px;
    }
    .owl-prev {
        left: -50px;
    }
}

@media (min-width:1024px) and (max-width:1200px){
    .hero-img {
        max-width: 500px;
        max-height: 500px;
    }
}

@media (max-width: 767px) {
    .navbar-brand img {
        width: 240px;
    }
    .techxy-logo img {
        width: 250px;
    }
    .hero-img {
        max-width: 300px;
    }
    .hero-section .btn,
    .footer .btn  {
        padding: .8rem .5rem;
    }
    .hero-section .btn img {
        width: 25px;
        height: 25px;
        margin-right: 4px;
    }
    .hero-section {
        padding: 120px 0 50px;
    }
    .content-section {
        padding: 120px 0 60px; /* FIXED: Increased from 40px to clear fixed navbar on mobile */
    }
    .hero-title {
        font-size: 2rem;
    }
    .media-section .section-title {
        margin-bottom: 3rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .content-section p, .events-section p {
        font-size: 1.25rem;
    }
    .events-section .events-img {
        max-width: 300px;
    }
    .content-section .section-title {
        margin-bottom: 4rem;
    }
    .owl-nav {
        top: -10%;
    }
    .owl-prev {
        left: 34%;
    }
    .owl-next {
        right: 34%;
    }
    .events-image {
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    .social-icons a {
        margin-left: 1rem;
    }
    .podcast-thumb {
        margin-bottom: 2.5rem;
    }
    .btn {
        font-size: 20px;
    }
    .footer .inner-footer {
        background-size: cover;
        background-position: center;
        min-height: 150px;
    }
    .footer .large-text {
        display: block;
        margin-bottom: 1.5rem;
        font-size: 2.5rem;
    }
    
    /* Vision page specific mobile adjustments */
    .tagline-subtitle {
        font-size: 1rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }

}       

@media (max-width: 1023px) {
    .hero-img {
        margin-top: 1rem;
        margin-bottom: 2.5rem;
    }
    .navbar-nav {
        margin: .8rem 0 2rem;
    }
    .navbar {
        padding: 2rem 0 1rem;
    }
    .navbar .nav-item {
        padding: .4rem .5rem 1rem;
    }
    .container {
        padding-right: 25px;
        padding-left: 25px;
    }
    .media-section .container {
        padding-left: 30px;
        padding-right: 30px;
    }
    .podcast-thumb.image-card img,
    .podcast-thumb.video-card iframe {
        height: auto;
    }
    .media-section .col-md-6 {
        padding: 0 2rem;
    }
}

@media (max-width: 375px) {
    .hero-section .btn, .footer .btn {
        font-size: 14px;
    }
    .footer .large-text {
        font-size: 2rem;
    }
}
