@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@400;500;600;700;800&display=swap');


* {
   font-family: 'Dosis', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Dosis', sans-serif;
    background: #1a1a1f;
    color: #ff6b35;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #28282d;
    color: #ff6b35;
    border-bottom: 2px solid #ff6b35;
}

.header-content {
    text-align: center;
}

.site-header {
  position: relative;
  width: 100%;
  height: 160px; 
  overflow: hidden;
  display: block;
  background: #28282d; 
}

.header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;  
  display: block;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 1;
    margin-top: 0.8rem;
    letter-spacing: 0.15em;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

nav {
    background: #28282d;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #ff6b35;
    width: 100%;
}

.nav-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px; 
    background: transparent;
    justify-content: center;
    align-items: stretch;
    gap: 0;
}

.nav-tab {
    margin: 0;
    padding: 0;
    flex: 1 1 0; 
    display: flex;
    min-width: 0;
}

.nav-tab button,
.nav-tab .tab-btn,
.tab-btn {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    

    padding: 16px 50px;
    min-height: 52px;
    
    border: none;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    margin: 0;
    
    background: #fef7e7;
    color: #111;
    
    font-family: 'Dosis', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
    
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
    
    box-sizing: border-box;
}

.nav-tab:last-child button,
.nav-tab:last-child .tab-btn {
    border-right: none;
}

.nav-tab button:hover,
.nav-tab .tab-btn:hover,
.tab-btn:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
}

.nav-tab button:active,
.nav-tab .tab-btn:active,
.tab-btn:active {
    background: #ececec;
    transform: translateY(0);
}

.nav-tab button.active,
.nav-tab .tab-btn.active,
.tab-btn.active {
    background: linear-gradient(180deg, #ffffff, #f9f9f9);
    box-shadow: inset 0 -3px 0 #ff6b35;
    position: relative;
    color: #ff6b35;
}

.nav-tab button.active::after,
.nav-tab .tab-btn.active::after,
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff6b35;
}

@media (max-width: 768px) {
    .nav-tabs {
        max-width: 100%;
        flex-wrap: wrap;
    }
    
    .nav-tab {
        flex: 1 1 45%;
        min-width: 120px;
    }
    
    .nav-tab button,
    .nav-tab .tab-btn,
    .tab-btn {
        padding: 14px 24px;
        font-size: 0.9rem;
        border-right: 1px solid rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 480px) {
    .nav-tab {
        flex: 1 1 100%;
    }
    
    .nav-tab button,
    .nav-tab .tab-btn,
    .tab-btn {
        border-right: none;
    }
}

main {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.top-admin-btn {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 0.85rem;
  padding: 8px 16px; 
  background: rgba(20,20,24,0.9);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  cursor: pointer;
  z-index: 100;  
  transition: transform 0.08s ease, opacity 0.12s ease;
  font-family: 'Dosis', sans-serif;
  font-weight: 600;
}

.top-admin-btn:hover { 
  transform: translateY(-1px); 
  opacity: 0.9;
  background: rgba(255, 107, 53, 0.9);  
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-family: 'Dosis', sans-serif;
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.page-subtitle {
    color: #888;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    background: #28282d;
    border: 2px solid #ff6b35;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 200px;
    background: #1a1a1f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 1px solid #ff6b35;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
   font-family: 'Dosis', sans-serif; 
    font-size: 1.3rem;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-description {
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-meta {
    color: #888;
    font-size: 0.9rem;
}

.team-name {
    font-weight: bold;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 0.2rem 0;
}

.team-name:hover {
    color: #fff;
    transform: translateY(-1px);
}

.team-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #ff6b35;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-name:hover::after {
    transform: scaleX(1);
}

.team-name-clickable {
    text-decoration: none;
    color: inherit;
}

/* Project Page Styles */
.project-page {
    max-width: 1000px;
    margin: 0 auto;
}

.project-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
    justify-content: space-between;
}

.project-header .back-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.description-panel-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.project-page-title {
    font-size: 2.5rem;
    color: #ff6b35;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

.project-content-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.video-section {
    width: 100%;
}

.video-container {
    width: 100%;
    height: 400px;
    background: #1a1a1f;
    border: 2px solid #ff6b35;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    font-size: 1.2rem;
    font-weight: bold;
}

.video-placeholder {
    text-align: center;
    padding: 2rem;
}

.video-section {
    width: 100%;
    margin-bottom: 2rem;
}

.video-container {
    width: 100%;
    height: 400px;
    background: #1a1a1f;
    border: 2px solid #ff6b35;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    font-size: 1.2rem;
    font-weight: bold;
}

.video-placeholder {
    text-align: center;
    padding: 2rem;
}

.manuals-section, .downloads-section, .videos-section {
    background: #28282d;
    border: 2px solid #ff6b35;
    padding: 2rem;
    margin-bottom: 2rem;
}

[class$="-section"] {
    background: #28282d;
    border: 2px solid #ff6b35;
    padding: 2rem;
    margin-bottom: 2rem;
}

.manuals-section h3, .downloads-section h3, .videos-section h3 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Dynamic section titles */
[class$="-section"] h3 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Description Side Panel Styles */
.description-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 31, 0.7);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.description-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.description-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    background: #28282d;
    border-left: 3px solid #ff6b35;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 1002;
}

.description-panel-overlay.active .description-panel {
    transform: translateX(0);
}

.description-panel-header {
    background: #1a1a1f;
    border-bottom: 2px solid #ff6b35;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.description-panel-title {
    color: #ff6b35;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
      margin: 0;
      font-family: 'Dosis', sans-serif;
}

.panel-close-btn {
    background: none;
    border: none;
    color: #ff6b35;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-close-btn:hover {
    color: #fff;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    transform: rotate(90deg);
}

.description-panel-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.description-panel-text {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}

@media (max-width: 768px) {
    .description-panel {
        width: 100%;
        border-left: none;
        border-top: 3px solid #ff6b35;
    }

    .description-panel-header {
        padding: 1.5rem;
    }

    .description-panel-title {
        font-size: 1.2rem;
    }

    .description-panel-content {
        padding: 1.5rem;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .project-header .description-panel-btn {
        align-self: flex-end;
    }
}

.manuals-grid, .videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

[class$="-grid"]:not(.downloads-grid) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.manual-item, .video-item {
    background: #1a1a1f;
    border: 1px solid #ff6b35;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.manual-item:hover, .video-item:hover {
    transform: translateY(-2px);
}

.manual-preview, .video-preview {
    width: 100%;
    height: 120px;
    background: #28282d;
    border: 1px solid #ff6b35;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
}

.file-item {
    background: #1a1a1f;
    border: 1px solid #ff6b35;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-item:hover {
    transform: translateY(-2px);
}

.file-preview {
    width: 100%;
    height: 120px;
    background: #28282d;
    border: 1px solid #ff6b35;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
    overflow: hidden;
}

.file-preview canvas {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 2px;
}

.pdf-loading {
    color: #ff6b35;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
    animation: pulse 1.5s ease-in-out infinite alternate;
}

@keyframes pulse {
    from {
        opacity: 0.6;
    }
    to {
        opacity: 1;
    }
}

.downloads-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #1a1a1f;
    border: 1px solid #ff6b35;
    color: #ccc;
}

.download-item span {
    font-weight: bold;
    color: #ff6b35;
}

/* Collaborated Teams Section */
.collaborated-teams-section {
    background: #28282d;
    border: 2px solid #ff6b35;
    margin-bottom: 3rem;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.teams-content {
    padding: 3rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.teams-title {
    color: #ff6b35;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    background: #1a1a1f;
    border: 2px solid #ff6b35;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.team-number {
    color: #ff6b35;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: 'Dosis', sans-serif;
}

.team-card .team-name {
    color: #ccc;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Team Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 31, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.team-popup {
    background: #28282d;
    border: 3px solid #ff6b35;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.popup-overlay.active .team-popup {
    transform: scale(1) translateY(0);
}

.popup-header {
    background: #1a1a1f;
    border-bottom: 2px solid #ff6b35;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-title {
    color: #ff6b35;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    font-family: 'Dosis', sans-serif;
}

.popup-close {
    background: none;
    border: none;
    color: #ff6b35;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: #fff;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    transform: rotate(90deg);
}

.close-icon {
    font-weight: bold;
   font-family: 'Dosis', sans-serif;
}

.popup-content {
    padding: 2rem;
}

.team-info {
    text-align: center;
    margin-bottom: 2rem;
}

.popup-team-number {
    color: #ff6b35;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}

.popup-team-name {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.popup-team-description {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.team-social-links {
    border-top: 1px solid #ff6b35;
    padding-top: 2rem;
}

.social-header {
    color: #ff6b35;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-align: center;
}

.popup-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.popup-social-link {
    display: block;
    background: #1a1a1f;
    border: 2px solid #ff6b35;
    color: #ff6b35;
    text-decoration: none;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
   font-family: 'Dosis', sans-serif;
}

.popup-social-link:hover {
    color: #28282d;
    background: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.popup-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.popup-social-link:hover::before {
    left: 100%;
}

/* Project Mission Section */
.project-mission-section {
    background: #28282d;
    border: 2px solid #ff6b35;
    margin-bottom: 3rem;
    overflow: hidden;
}

.mission-content {
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-title {
    color: #ff6b35;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.mission-text {
    color: #ccc;
    font-size: 1.2rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 2rem;
}

.mission-content .slide-image-container {
    margin-top: 1rem;
}

.mission-content .slide-image {
    max-height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.mission-content .photo-placeholder-slide {
    height: 200px;
    margin-top: 1rem;
}

/* Slider Styles */
.slider-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    background: #28282d;
    border: 2px solid #ff6b35;
    overflow: hidden;
    touch-action: pan-y;
}

.slider-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.nav-arrow {
    background: rgba(40, 40, 45, 0.9);
    border: 2px solid #ff6b35;
    color: #ff6b35;
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    font-family: 'Dosis', sans-serif;
    user-select: none;
}

.nav-arrow:hover {
    background: #ff6b35;
    color: #28282d;
    transform: scale(1.1);
}

.nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-arrow:disabled:hover {
    background: rgba(40, 40, 45, 0.9);
    color: #ff6b35;
    transform: none;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 300%;
}

.slide {
    width: 33.333%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    box-sizing: border-box;
}

.slide-content {
    text-align: center;
    max-width: 600px;
}

.slide-content h3 {
    color: #ff6b35;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.slide-content p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.photo-placeholder-slide {
    width: 100%;
    height: 200px;
    background: #1a1a1f;
    border: 2px dashed #ff6b35;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    margin-top: 1rem;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    padding: 2rem;
    gap: 1rem;
    background: rgba(26, 26, 31, 0.5);
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #ff6b35;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ff6b35;
}

.indicator:hover {
    transform: scale(1.2);
}

.btn {
    display: block;
    padding: 0.7em 1em;
    background: transparent;
    outline: none;
    border: 0;
    color: #ff6b35;
    letter-spacing: 0.1em;
    font-family: 'Dosis', sans-serif;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
}

.cube {
    position: relative;
    transition: all 0.5s;
    display: inline-block;
    margin: 0.5rem;
}

.cube .bg-top {
    position: absolute;
    height: 10px;
    background: #ff6b35;
    bottom: 100%;
    left: 5px;
    right: -5px;
    transform: skew(-45deg, 0);
    margin: 0;
    transition: all 0.4s;
}

.cube .bg-top .bg-inner {
    bottom: 0;
}

.cube .bg {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    right: 0;
    background: #ff6b35;
    transition: all 0.4s;
}

.cube .bg-right {
    position: absolute;
    background: #ff6b35;
    top: -5px;
    z-index: 0;
    bottom: 5px;
    width: 10px;
    left: 100%;
    transform: skew(0, -45deg);
    transition: all 0.4s;
}

.cube .bg-right .bg-inner {
    left: 0;
}

.cube .bg-inner {
    background: #28282d;
    position: absolute;
    left: 2px;
    right: 2px;
    top: 2px;
    bottom: 2px;
}

.cube .text {
    position: relative;
    transition: all 0.4s;
}

.cube:hover .bg-inner {
    background: #ff6b35;
    transition: all 0.4s;
}

.cube:hover .text {
    color: #28282d;
    transition: all 0.4s;
}

.cube:hover .bg-right,
.cube:hover .bg,
.cube:hover .bg-top {
    background: #28282d;
}

.cube:active {
    z-index: 9999;
    animation: bounce 0.1s linear;
}

@keyframes bounce {
    50% {
        transform: scale(0.9);
    }
}

.form-content {
    background: #28282d;
    padding: 3rem;
    border: 2px solid #ff6b35;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.form-title {
    color: #ff6b35;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-description {
    color: #ccc;
    margin-bottom: 2rem;
}

/* Empty State Styles */
.empty-state {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.empty-content {
    text-align: center;
    max-width: 500px;
    padding: 3rem;
    background: #28282d;
    border: 2px solid #ff6b35;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.empty-title {
    color: #ff6b35;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.empty-description {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Blog Styles */
.blog-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-post {
    background: #28282d;
    border: 2px solid #ff6b35;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.blog-image {
    width: 100%;
    height: 250px;
    background: #1a1a1f;
    border-bottom: 2px solid #ff6b35;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    font-size: 1.2rem;
    font-weight: bold;
    background: #1a1a1f;
}

.blog-content {
    padding: 2rem;
}

.blog-title {
    color: #ff6b35;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
   font-family: 'Dosis', sans-serif;
}

.blog-text {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: justify;
}

/* Simple Social Links Styling */
.social-section {
    background: transparent;
    padding: 3rem 0;
    text-align: center;
}

.social-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.social-title {
    color: #ff6b35;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.social-description {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-link-simple {
    color: cyan;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    position: relative;
}

.social-link-simple:hover {
    color: #fff;
    transform: translateY(-2px);
}

.social-link-simple::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ff6b35;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.social-link-simple:hover::after {
    transform: scaleX(1);
}

/* Blog Submit Button - Right Aligned */
.blog-submit-btn {
    text-decoration: none;
    display: inline-block;
    align-self: flex-end;
    margin-top: 2rem;
}

.blog-submit-btn .cube {
    margin: 0;
}

.blog-submit-btn .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-page-title {
        font-size: 2rem;
    }

    .video-container {
        height: 250px;
    }

    .manuals-grid {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    /* Dynamic grids mobile responsiveness */
    [class$="-grid"]:not(.downloads-grid) {
        grid-template-columns: 1fr;
    }

    .slider-container {
        margin: 0 1rem;
    }

    .slide {
        padding: 2rem 1rem;
        min-height: 400px;
    }

    .slide-content h3 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .photo-placeholder-slide {
        height: 150px;
    }

    .nav-arrow {
        font-size: 1.5rem;
        padding: 0.5rem 1rem;
    }

    .cube {
        margin: 0.25rem;
    }

    .mission-content {
        padding: 2rem;
    }

    .mission-title {
        font-size: 1.5rem;
    }

    .mission-text {
        font-size: 1rem;
    }
    
    .mission-content .slide-image {
        max-height: 180px;
    }
    
    .mission-content .photo-placeholder-slide {
        height: 150px;
    }

    .teams-content {
        padding: 2rem;
    }

    .teams-title {
        font-size: 1.5rem;
    }

    .teams-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .team-card {
        padding: 1rem;
    }

    .team-number {
        font-size: 1.5rem;
    }

    .empty-content {
        padding: 2rem;
        margin: 0 1rem;
    }

    .empty-icon {
        font-size: 3rem;
    }

    .empty-title {
        font-size: 1.2rem;
    }

    .empty-description {
        font-size: 1rem;
    }

    .blog-container {
        margin: 0 1rem;
        gap: 2rem;
    }

    .blog-image {
        height: 200px;
    }

    .blog-content {
        padding: 1.5rem;
    }

    .blog-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .blog-text {
        font-size: 0.95rem;
        text-align: left;
    }

    /* Team Popup Mobile Styles */
    .team-popup {
        width: 95%;
        max-height: 90vh;
        margin: 1rem;
    }

    .popup-header {
        padding: 1rem 1.5rem;
    }

    .popup-title {
        font-size: 1.2rem;
    }

    .popup-content {
        padding: 1.5rem;
    }

    .popup-team-number {
        font-size: 2.5rem;
    }

    .popup-team-name {
        font-size: 1.2rem;
    }

    .popup-team-description {
        font-size: 0.9rem;
    }

    .popup-social-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .popup-social-link {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .social-content {
        padding: 0 1rem;
    }
    
    .social-title {
        font-size: 1.5rem;
    }
    
    .social-description {
        font-size: 1rem;
    }
    
    .social-links-simple {
        gap: 2rem;
        flex-direction: column;
    }
    
    .social-link-simple {
        font-size: 1.1rem;
    }

    .blog-submit-btn {
        align-self: center;
        position: static;
        margin: 1.5rem auto 0;
    }
    
    .blog-submit-btn .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

.slide-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.submit-btn {
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.back-btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.download-btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}


.btn-download{
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid #ff6b35;
  color: #ff6b35;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}
.btn-download:hover{
  background: rgba(255,107,53,0.12);
}

