/* AppD Font Family */
@font-face {
  font-family: 'AppDSans';
  src: url('/font/AppDSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AppDSans';
  src: url('/font/AppDSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AppDSans';
  src: url('/font/AppDSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* General styles */
* {
    box-sizing: border-box;
}

body {
    /* font-family: 'AppDSans', system-ui, -apple-system, sans-serif; */
    /* margin: 0;
    padding: 0; */
    line-height: 1.6;
    background-color: #000000;
}

/* Primary Navigation */
.primary-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;                 /* spacing between links */
    list-style: none;           /* remove default bullets */
    font-family: 'appDSans', sans-serif;
    font-size: 2rem;

    position: fixed;            /* floating nav */
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    border-radius: 0.3rem;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

/* Navigation Links */
.primary-navigation a {
    text-decoration: none;
    color: aliceblue;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: color 0.3s, transform 0.2s, background-color 0.2s;
}

/* Hover effect */
.primary-navigation a:hover {
    color: #e9ff7d;                 /* golden highlight */
    transform: scale(1.05);          /* slight pop effect */
    background-color: rgba(255, 255, 255, 0.1);
}

/* Active link */
.primary-navigation a.active {
    color: #FF6347;                  /* tomato color */
    font-weight: 600;
    border-bottom: 2px solid #FF6347;
}



header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

/* Standard page layout */
main {
    padding: 2rem;
    background-color: #F8F8FC;
    position: relative;
    flex: 1;
    font-family: 'AppDSans', sans-serif;
    top: 10rem;
}

body {
  font-family: 'AppDSans', system-ui, sans-serif;
}

/* Slider layout - applies when main contains .slider */
main:has(.slider) {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 0;
    background-color: transparent;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 7rem;
}

h2 {
    color: #333;
    font-size: 5rem;
    line-height: normal;
    font-weight: lighter;
}

/* Two-column layout */
.two-columns {
    display: flex;
    gap: 20px;
    padding-bottom: 2rem;
}

.two-columns .column {
    flex: 1;
}

/* Responsive design */

/* Desktop - 1024px and up */
@media (min-width: 1024px) {
    .img h1 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
        padding: 1rem 1rem 1rem 7rem;
    }
}

/* Tablet - 769px to 1023px */
@media (min-width: 769px) and (max-width: 1023px) {
    .img h1 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        padding: 1rem 1rem 1rem 7rem;
    }
    
    .item {
        flex: 0 0 70vw;
    }
}

/* Tablet and below - max 768px */
@media (max-width: 768px) {
    .two-columns {
        flex-direction: column;
    }

    .two-columns .column {
        margin-bottom: 1rem;
    }

    .item {
        flex: 0 0 85vw;
    }
    
    .img h1 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        padding: 1rem 1rem 1rem 7rem;
    }
}

/* Mobile - max 560px */
@media (max-width: 560px) {
    body {
        font-size: 14px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    main {
        padding: 0.5rem;
    }

    footer {
        font-size: 0.9rem;
    }

    .item {
        flex: 0 0 90vw;
    }

    .img h1 {
        font-size: 1.7rem;
        margin-bottom: 1.5rem;
        padding: 1rem 1rem 1rem 7rem;
    }
}

/* Small mobile - max 400px */
@media (max-width: 400px) {
    .item {
        flex: 0 0 95vw;
    }

    .img h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        padding: 0.75rem 0.75rem 0.75rem 7rem;
    }
}

@supports (backdrop-filter: blur(10px)) {
    .primary-navigation {
        backdrop-filter: blur(10px);
    }
}






/* general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.slider {
    position: relative;
    top: 0;
    left: 0;
    width: 2800px;
    height: 100%;
    overflow: hidden;
}

.slider-inner {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    will-change: transform;
    padding: 4rem 0;          /* top & bottom padding */
    box-sizing: border-box;
    /* justify-content: space-around; */

}

.item {
    position: relative;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    min-width: calc(35vw - 1px);
}

.img {
    position: absolute;
    left: -100px;
    width: 1600px;
    height: 120%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item img {
    width: 170%;              /* extra width for parallax */
    height: 100%;
    object-fit: cover;
    transform: translateX(350px);  /* initial offset for parallax */
    will-change: transform;
    position: absolute;
  }

/* Font Family */

h1 {
    font-family: 'appDSans', sans-serif;
    font-weight: 400;
    color: aliceblue;
    text-align: left;
    letter-spacing: 0.1em;
    font-size: 2.5rem;
    margin: 0.5em 0;
    background-color: #000000a1;
    position: absolute;
    bottom: 80px;
    padding-left: 3.5em;
}


p {
    font-size: 1.2rem;
    line-height: 2rem;
    text-align: left;
}

button {
    font-size: large;
    padding: 10px;
    border: none;
    text-transform: uppercase;
    border-radius: 1px;
    font-family: appdsans, sans-serif;
    
}

button:hover {
    color: #e9ff7d;                 /* golden highlight */
    transform: scale(1.05);          /* slight pop effect */
    background-color: rgba(255, 255, 255, 0.1);
}

.image-section {
    position: relative;
    overflow: hidden;
    height: 60vh;
    border-radius: 10px;
}
.image-section img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    border-radius: 10px;
    /* Parallax effect: will-change for transform and set transition for smoothness */
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.49, 0.18, 0.51, 0.83);
}

.three-columns {
    display: flex;
    gap: 20px;
    margin-top: 1rem;
}

.three-columns .column {
    flex: 1;
    text-align: center;
}

.three-columns img {
    width: 100%;
    max-height: 200px; /* Limit the height of the images */
    object-fit: cover; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners */
    margin-bottom: 1rem;
}


h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: left;
    font-weight: lighter;
}

h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: left;
}

h5 {
    font-size: 3rem;
    color: #333;
    margin: -1rem 0; /* Reduced top and bottom spacing */
}



.title-section {
    margin: 3rem 0;
}

.contentBlock {
    padding-bottom: 2rem;
    padding-top: 2rem;
    /* border-bottom: 2rem; */
}

.modern-footer {
    background-color: #000;
    color: #fff;
    padding-top: 5rem;
    padding: 10rem;
    font-family: 'AppDSans', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.footer-column-logo {
    flex: 1;
    min-width: 100px;
    display: flex;  

}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.footer-column p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a:hover {
    color: #fff;
}

ul {
    font-size: 1rem;
    text-align: left;
    list-style-type: none;
    /* padding-top: 5rem; */
    
}

.footer-column img {
    width: 100%;
    max-width: 100px;   /* increase this */
    height: auto;
  } 

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #ccc;
    padding-top: 1rem;
}

a{
    color: #ccc;
    text-decoration: none;
    
}

a:hover {
    color: #e9ff7d;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #e9ff7d;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;          /* controls size */
  margin: 0 auto;
  aspect-ratio: 16 / 9;      /* modern responsive video */
  border-radius: 24px;       /* rounded corners */
  overflow: hidden;          /* clips iframe */
  background: #000;
}

/* iframe fills container */
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.slider-container { position: relative; max-width: 100%; margin: 20px 0; }
.slider-wrapper { 
    position: relative; 
    overflow: hidden; 
    border-radius: 10px; 

    
}
.slider-slide { display: none; animation: fade 0.5s; }
.slider-slide.active { display: block; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.slider-btn { position: absolute; top: 40%;background: rgba(0,0,0,0.5); color: white; border: none; padding: 15px 20px; cursor: pointer; border-radius: 5px; z-index: 10; }
.slider-btn:hover { background: rgba(0,0,0,0.8);}
.prev { left: 10px; }
.next { right: 10px; }
.slider-dots { text-align: center; padding: 15px 0; }
.dot { height: 12px; width: 12px; margin: 0 5px; background-color: #bbb; border-radius: 50%; display: inline-block; cursor: pointer; }
.dot.active { background-color: #717171; }