/* Default (Large Screens) */


@font-face {
    font-family: 'Trajan Pro';
    src: 
        url('../fonts/TrajanPro-Regular.woff2') format('woff2'),
        url('../fonts/TrajanPro-Regular.woff') format('woff'),
        url('../fonts/TrajanPro-Regular.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Trajan Pro';
    src: 
        url('../fonts/TrajanPro-Bold.woff2') format('woff2'),
        url('../fonts/TrajanPro-Bold.woff') format('woff'),
        url('../fonts/TrajanPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.special-text-large, .special-text-small {
    text-align: center;
    color: #4f6f1a;
    font-family: "Trajan Pro", serif;
    font-weight: bold;
}

.special-text-large {
    font-size: 48px;
}

.special-text-small {
    font-size: 36px;
}

.custom-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: fit-content;  /* Dynamically adjusts to content width */
    margin: 0 auto;
    position: relative;
    padding: 10px;
}

/* Dynamic Lines */
.custom-heading::before,
.custom-heading::after {
    content: "";
    display: block;
    width: 100%; /* Matches the text width */
    max-width: 600px; /* Default max-width for large screens */
    height: 10px; /* Line thickness */
    background-color: #4f6f1a;
    margin: 10px 0;
}

/* Text Styling */
.special-text-large, .special-text-small {
    text-align: center;
    color: #4f6f1a;
    font-family: "Trajan Pro", serif;
    font-weight: bold;
    line-height: 1.2; /* Prevents overlap */
}

/* Responsive Adjustments */
@media (max-width: 1024px) { /* iPad Portrait and smaller tablets */
    .custom-heading::before,
    .custom-heading::after {
        max-width: 85vw;  /* More flexible line width for portrait tablets */
        height: 8px;
    }
}

@media (max-width: 768px) { /* Landscape Tablet and small screens */
    .custom-heading::before,
    .custom-heading::after {
        max-width: 95vw;  /* Allow larger lines on landscape tablets */
        height: 8px;
    }
}

@media (max-width: 600px) { /* Mobile Portrait */
    .special-text-large {
        font-size: 32px;
    }

    .special-text-small {
        font-size: 24px;
    }

    .custom-heading::before,
    .custom-heading::after {
        max-width: 90vw;  /* Prevent the lines from being too long */
        height: 6px;
    }
}

@media (max-width: 480px) { /* Mobile Landscape */
    .special-text-large {
        font-size: 28px;
    }

    .special-text-small {
        font-size: 22px;
    }

    .custom-heading::before,
    .custom-heading::after {
        max-width: 80vw; /* Shorter lines in landscape mobile */
        height: 6px;
    }
}


.special-text-large, .special-text-small {
    text-align: center;
    color: #4f6f1a;
    font-family: "Trajan Pro", serif;
    font-weight: bold;
}



 
/* NAVIGATION CONTAINER */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: green; /* Green menu bar */
    padding: 10px 20px;
    height: 60px;
    border-radius: 10px;
}

/* LOGO (Now inside the menu bar) */
.trha-logo img {
    height: 50px;
    width: auto;
    background: transparent; /* Remove black background */
}

/* MENU ITEMS */
.nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;   
}

.nav-list li {
    padding: 10px;
}

.nav-list a {
    text-decoration: none;
    color: white;
    padding: 10px 15px;
}

.nav-list a.selected {
    font-weight: bold;
    color: #ADD8E6; /* Change this to any color you want */
}

.site-header .logo img {
    height: 100px;
}

/* Hamburger Menu Button - Hidden by Default */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    padding: 10px;
    margin-left: auto;
}

/* Social Media Icons - Default Size */
.social-media-icons {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.social-media-icons img {
    width: 24px;
    height: auto;
    vertical-align: middle;
    margin-left: 10px;
}

/* MOBILE MENU */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 10px;
        width: 180px;
        background: green;
        text-align: center;
        padding: 10px 0;
        border-radius: 10px;
          z-index: 1000; 
    }

    .nav-list.active {
        display: block;
    }

    .nav-list li {
        padding: 10px;
    }

    .social-media-icons img {
        width: 20px; /* Smaller on mobile */
        height: 20px;
        margin-left: 5px;
    }
    
}

/* Modal Content */

/* Close button */
.close-btn { 
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    font-size: 16px;
    background-color:#ADD8E6; /* Keep consistent blue red color */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0); /* No opacity - fully opaque */
}

.modal-content {
    color: white; /* White text */
    background-color: green; /* Ensure background color is fully green */
    margin: 15% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
    text-align: center; /* Center text */
    border-radius: 10px; /* Add 10px radius to the modal */
}

.show-modal {
    display: block; /* Show modal */
}

 
/* Back to Top button styling */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* Initially hidden */
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000; /* Ensure it appears above other elements */
}

/* Show the button when the user scrolls down */
body.scrolled #back-to-top {
    display: block;
}
/* Dismiss (X) button inside mobile menu */
.close-menu {
    display: none;
    text-align: right;
    font-size: 22px;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .close-menu {
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.3);
    }
}

hr.new5 {
    
    
    
      border: none;
      border-top: 20px solid green; /* 20px thick green line */
      width: 100%; 
      margin: 0;                   /* No extra margin */   
      border-radius: 10px;
}

hr.new2 {
      border: none;
      border-top: 10px solid green; /* 10px thick green line */
      width: 100%; 
      margin: 0;                   /* No extra margin */    
      border-radius: 10px;
}

/* ===============================
   VIDEO FRAME WRAPPER
   =============================== */
.video-frame {
    position: relative;           /* needed for the overlay */
    overflow: hidden;
    border-radius: 10px;
    box-sizing: border-box;
    display: block !important;    /* removes inline spacing gaps */
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;    /* fixes Safari/iPad whitespace */
}

/* ===============================
   GREEN BORDER OVERLAY
   =============================== */
.video-frame::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 3px solid green;      /* your green border */
    border-radius: 10px;
    pointer-events: none;          /* clicks pass through overlay */
    box-sizing: border-box;
    z-index: 2;                    /* above video */
}

/* ===============================
   INNER ASPECT RATIO CONTAINER
   =============================== */
#inner-container {
    aspect-ratio: 16 / 9;
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* ===============================
   VIDEO + IFRAME INSIDE CONTAINER
   =============================== */
#inner-container video,
#inner-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
    display: block;
    object-fit: cover;             /* ensures MP4 video fills container */
}

/* ===============================
   OUTER CONTAINER SAFARI FIX
   =============================== */
#video-container {
    display: block !important;
}

/* Fix Twitter icon overflow on iPad landscape */
.nav-container {
    padding-right: 1px;  /* small extra space to contain icons */
}

.social-media-icons img {
    width: 20px;           /* slightly smaller icons */
    height: auto;
    margin-left: 1px;      /* optional tighter spacing */
}

