/* ==================== Shared Detail Page Styles ==================== */
/* Used by: index_rov.html, index_mins.html, index_micro.html */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
     padding: 60px 0 0 0;
     margin: 0;
     font-family: 'Poppins', 'Roboto', sans-serif;
     font-size: 2vh;
     background-color: #0d1b2a;
     color: #e0e0e0;
}

:root {
     --dark-color: #19283f;
     --accent: #5da4d0;
     --accent-glow: rgba(93, 164, 208, 0.3);
}

/* Container */
.container-sec {
     margin-right: auto;
     margin-left: auto;
     padding-left: 15px;
     padding-right: 15px;
     padding-top: 10px;
}

@media (min-width:768px) {
     .container-sec {
          max-width: 860px;
     }
}

@media (min-width:992px) {
     .container-sec {
          max-width: 930px;
     }
}

@media (min-width:1200px) {
     .container-sec {
          max-width: 1170px;
     }
}

/* ==================== Hero Logo Section ==================== */
.logo {
     height: calc(100vh - 60px);
     background: url(../images/background.jpg);
     display: flex;
     justify-content: center;
     align-items: center;
     background-size: cover;
     background-attachment: fixed;
     position: relative;
}

.logo::after {
     content: '';
     position: absolute;
     inset: 0;
     background: linear-gradient(180deg, rgba(13, 27, 42, 0.3) 0%, rgba(13, 27, 42, 0.8) 100%);
     pointer-events: none;
}

.section1 {
     background-color: rgba(0, 0, 0, 0.5);
     border-radius: 16px;
     backdrop-filter: blur(8px);
     padding: 1rem;
     position: relative;
     z-index: 1;
     max-width: 90%;
     border: 1px solid rgba(93, 164, 208, 0.15);
}

.log,
#log {
     max-width: 100%;
     max-height: 60vh;
     height: auto;
     object-fit: contain;
}

/* ==================== Abstract / Content Sections ==================== */
.abstract {
     background: linear-gradient(135deg, rgba(10, 40, 70, 0.6) 0%, rgba(15, 30, 50, 0.8) 100%);
     border-radius: 20px;
     border: 1px solid rgba(93, 164, 208, 0.12);
     backdrop-filter: blur(4px);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.abstract:hover {
     box-shadow: 0 8px 32px var(--accent-glow);
     transform: translateY(-2px);
}

.text {
     font-size: 2.2vh;
     line-height: 1.8;
}

.abstract h1 {
     color: var(--accent);
     text-align: center;
     background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(10, 25, 50, 0.5));
     padding: 16px 24px;
     font-size: clamp(1.2rem, 4vh, 1.8rem) !important;
     font-weight: 700;
     border-radius: 12px;
     margin-bottom: 20px;
     letter-spacing: 1px;
     text-transform: uppercase;
     border: 1px solid rgba(93, 164, 208, 0.15);
}

.abstract .row {
     flex-wrap: wrap-reverse !important;
}

.abstract .container {
     padding-top: 10px;
}

.abstract p {
     margin: 0;
     color: rgba(255, 255, 255, 0.85);
}

/* ==================== Carousel ==================== */
.carousel-inner {
     overflow: hidden;
     height: 100% !important;
     border-radius: 16px;
}

.carousel {
     height: 420px;
     border-radius: 16px;
     overflow: hidden;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.carousel img {
     max-width: 100%;
     height: 450px;
     object-fit: cover;
     width: 100%;
     transition: transform 0.5s ease;
}

.carousel-control-prev,
.carousel-control-next {
     opacity: 0.7;
     transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
     opacity: 1;
}

@media screen and (min-width: 1000px) {
     .carousel img {
          height: 650px;
     }
}

/* ==================== Sections ==================== */
.sectionns {
     background: linear-gradient(to right, rgba(10, 40, 70, .7), rgba(0, 0, 0, .8));
     border-top: 4px solid var(--accent);
}

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

     .logo {
          height: auto;
          min-height: 40vh;
          padding: 2rem 1rem;
          background-attachment: scroll;
     }

     .log,
     #log {
          max-height: 35vh;
     }

     .section1 {
          max-width: 85%;
     }

     .abstract {
          margin-left: 1rem !important;
          margin-right: 1rem !important;
          border-radius: 16px;
     }

     .abstract h1 {
          font-size: 1rem !important;
          padding: 12px 16px;
     }

     .text {
          font-size: 14px;
     }

     .text p {
          font-size: 14px !important;
     }

     .carousel {
          height: 250px;
     }

     .carousel img {
          height: 250px;
     }

     .carousel-inner {
          border-radius: 12px;
     }
}

@media (max-width: 450px) {
     .text {
          font-size: 13px !important;
     }

     .logo {
          min-height: 30vh;
          padding: 1.5rem 0.75rem;
     }

     .log,
     #log {
          max-height: 25vh;
     }

     .abstract {
          margin-left: 0.5rem !important;
          margin-right: 0.5rem !important;
     }

     .carousel {
          height: 200px;
     }

     .carousel img {
          height: 200px;
     }
}