:root {
    --primary-color: #00b8d4;
    --secondary-color: #0097a7;
    --dark-bg: #1a1a1a;
    --slightly-lighter-bg: #222222;
    --text-color: #ffffff;
    --accent-color: #00b8d4;
    --border-color: #333333;
    --warning-color: #FFC107;
    --error-color: #FF5252;
    --success-color: #4CAF50;
}
.cover-slide {
    border-radius:10px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.9);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Slides container */
.slides-container {
    width: 100%;
    max-width: 1366px;
    margin: 0 auto;
    position: relative;
}

/* Slide styling */
.slide {
    width: 100%;
    min-height: 100vh;
    padding-bottom: 40px; /* Space for footer */
    background-color: var(--dark-bg);
    position: relative;
}

.slide-content {
    padding: 0 6%;
}

/* Header with bottom line */
.slide-header {
    padding-top: 50px;
    margin-bottom: 30px;
    position: relative;
}

.slide-pre-title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 500;
}

.slide-title {
    font-family: 'Racing Sans One', sans-serif;
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 15px;
    position: relative;
    text-transform: uppercase;
}



.slide-description {
    font-size: 16px;
    margin: 25px 0 30px;
    max-width: 90%;
    opacity: 0.9;
}

/* Cover slide styling */
.cover-slide {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.cover-content {
    position: relative;
    z-index: 2;
    padding: 0 6%;
    max-width: 50%;
}

.cover-title {
    font-family: 'Racing Sans One', sans-serif;
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.cover-subtitle {
    font-size: 68px;
    line-height:74px;
    line-height: 1;
    margin-bottom: 40px;
    text-transform: uppercase;
    margin-top:10%;
}

.cover-subtitle span:first-child {
    color: white;
    font-weight: 700;
}

.cover-subtitle span:last-child {
    color: var(--primary-color);
    font-weight: 700;
}

.client-info {
    margin-top: 50px;
    font-size: 16px;
}

.client-info p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--dark-bg) 0%, rgba(26, 26, 26, 0.8) 40%, rgba(26, 26, 26, 0) 100%);
    z-index: 2;
}

/* Content layouts */
.content-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-content {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.9;
    word-wrap: break-word;
}

.section-image {
    margin: 30px 0;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.section-image img {
    width: 100%;
    display: block;
}

.image-caption {
    font-size: 14px;
    color: #888;
    text-align: center;
    margin-top: 10px;
}

/* Two-column layout */
.two-columns {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.column {
    flex: 1;
        border: 1px solid #454545;
    border-radius: 10px;
    padding: 20px;
}

.column-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.column-content {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.9;
}

/* Table styling */
.table-responsive {
    overflow-x: auto;
    margin: 30px 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 5px;
    overflow: hidden;
}

.data-table thead {
    background-color: var(--slightly-lighter-bg);
}

.data-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.data-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* List styling */
ul.custom-list {
    list-style: none;
    margin: 20px 0;
    padding-left: 15px;
    padding-top: 20px;
    border: 1px solid #454545;
    border-radius: 10px;
    padding: 20px;
}

ul.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

ul.custom-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Status indicators */
.warning-indicator {
    color: var(--warning-color);
}

.error-indicator {
    color: var(--error-color);
}

.success-indicator {
    color: var(--success-color);
}

/* Navigation */
.slide-controls {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    display: flex;
    gap: 15px;
}

.nav-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 184, 212, 0.2);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Progress bar */
.progress-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 0;
    transition: width 0.3s ease;
}

/* Footer with logo */
.slide-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 6%;
    background: linear-gradient(90deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.8) 50%, var(--dark-bg) 100%);
}

.footer-logo img {
    height: 25px;
    width: auto;
}

/* End slide */
.end-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
}

.end-title {
    font-family: 'Racing Sans One', sans-serif;
    font-size: 60px;
    margin-bottom: 30px;
}

.end-title span:first-child {
    color: var(--primary-color);
}

.contact-info {
    margin-top: 50px;
    font-size: 18px;
}

.contact-info p {
    margin-bottom: 10px;
    opacity: 0.9;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
    .slide-title {
        font-size: 36px;
    }
    
    .cover-content {
        max-width: 100%;
        padding: 0 6%;
    }
    
    .cover-title {
        font-size: 40px;
    }
    
    .cover-subtitle {
        font-size: 50px;
        line-height:55px;
    }
    
    .image-container {
        position: absolute;
        top: auto;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 50%;
    }
    
    .image-overlay {
        background: linear-gradient(0deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.8) 80%, var(--dark-bg) 100%);
    }
    
    .two-columns {
        flex-direction: column;
        gap: 20px;
    }
    
    .slide-content {
        padding: 0 20px;
    }
    
    .section-image {
        margin: 20px 0;
    }
    
    .data-table {
        font-size: 14px;
    }
    
    .slide-controls {
        bottom: 20px;
        right: 20px;
    }
    
    .nav-button {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767px) {
    .slide-title {
        font-size: 28px;
    }
    
    .slide-subtitle {
        font-size: 24px;
    }
    
    .cover-title {
        font-size: 32px;
    }
    
    .cover-subtitle {
        font-size: 36px;
        line-height:44px;
    }
    
    .end-title {
        font-size: 36px;
    }
    
    .slide-pre-title {
        font-size: 14px;
    }
    
    .table-responsive {
        overflow-x: scroll;
    }
}

/* Print styles */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    .slide {
        page-break-after: always;
        height: 100%;
        background-color: white;
    }
    
    .slide-footer, .slide-controls, .progress-container {
        display: none;
    }
}

header {
  position: absolute;
  z-index: 999;
  width: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1366px;
padding-left: 65px;
    padding-top: 10px;
}

@media (max-width: 768px) {
  header {
    padding: 0 0.5rem;
  }
}

/* Add this to your styles.css file */

/* Improved mobile cover slide styling */
@media (max-width: 991px) {
    .cover-slide {
        position: relative;
    }
    
    /* Full overlay for mobile */
    .cover-slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 26, 26, 0.85);
        z-index: 1;
    }
    
    .cover-content {
        position: relative;
        z-index: 2;
        max-width: 100%;
        padding: 0 6%;
        text-align: center;
    }
    
    .image-container {
        opacity: 0.5;
    }
    
    /* Make text larger and more visible */
    .cover-title {
        font-size: 36px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .cover-subtitle {
        font-size: 42px;
        line-height:48px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .client-info {
        background-color: rgba(26, 26, 26, 0.7);
        padding: 15px;
        border-radius: 5px;
        margin-top: 30px;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .cover-title {
        font-size: 28px;
    }
    
    .cover-subtitle {
        font-size: 32px;
        line-height:44px;
    }
}

/* Mobile-specific fixes */
@media (max-width: 991px) {
    /* Fix cover slide padding */
    .show-logo {
        display:none;
    }
    .cover-slide {
        padding-top: 0 !important;
        margin-top: -30px;
    }
    
    .cover-content {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    /* Make sure text is nicely stacked with minimal spacing */
    .cover-title {
        margin-bottom: 10px !important;
        font-size: 32px;
    }
    
    .cover-subtitle {
        margin-bottom: 15px !important;
        font-size: 38px;
        line-height:44px;
    }
    
    .client-info {
        margin-top: 10px !important;
        margin-bottom: 0 !important;
        padding: 10px;
        background-color: rgba(26, 26, 26, 0.7);
    }
    
    /* Adjust image container to be directly under the text */
    .image-container {
        top: auto !important;
        right: auto !important;
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        margin-top: 0 !important;
    }
    
    /* Entelech logo styling */
    .entelech-header-logo {
        display: block !important;
        text-align: center !important;
        margin: 0 auto !important;
        padding: 10px 0 !important;
    }
    
    .entelech-header-logo img {
        height: 50px !important;
        width: auto !important;
    }
}

/*new adjustemt */ 
/* Maintain the existing two-columns structure but ensure images are at the bottom */
.two-columns {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.column {
    flex: 1;
    border: 1px solid #454545;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.column-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.column-content {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* This ensures the section-image is pushed to the bottom */
.column .section-image {
    margin-top: auto;
    margin-bottom: 0;
}

/* Preserve responsiveness */
@media (max-width: 991px) {
    .two-columns {
        flex-direction: column;
        gap: 20px;
    }
    
    .column {
        width: 100%;
    }
}

.two-columns .section-image {
    max-height: 430px;
}

.section-image {
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform-origin: center center;
  will-change: transform;
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform-origin: center center;
  will-change: transform;
}

.section-image:hover img {
  transform: scale(1.08);
}

/* Optional: add a subtle shadow effect on hover */
.section-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
  pointer-events: none;
}

.section-image:hover::after {
  background: rgba(0, 0, 0, 0.05);
}

/*new header animation */
.slide-header {
  position: relative;
  padding-bottom: 10px;
  transition: all 0.4s ease;
}

.slide-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px; /* Initial short line width */
  height: 5px;
 background: linear-gradient(90deg, #00c3ff 0%, #00b8d49e 50%, #00b8d44a 100%);
  transform-origin: left center;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: width;
  border-radius: 2px;
}

.slide-header:hover::after {
  width: 100%; /* Extend to full width on hover */
  background: linear-gradient(90deg, #00c3ff 0%, #007bff 50%, #0043ff 100%);
}

/* Optional shadow effect for enhanced depth */
.slide-header:hover::after {
  box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

/* Optimize animation performance */
.slide-header {
  will-change: transform;
  backface-visibility: hidden;
}

/* Ensure the container allows proper positioning */
.slide-header {
  display: inline-block;
  overflow: visible;
}
/*header animation end*/

/*visual port*/
.slide-header.animate-line::after {
  width: 100%; /* Extend to full width when class is added */
  box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

.slide-header:hover::after {
  width: 100%; /* Extend to full width on hover */
  background: linear-gradient(90deg, #00c3ff 0%, #007bff 50%, #0043ff 100%);
  box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

/* Optimize animation performance */
.slide-header {
  will-change: transform;
  backface-visibility: hidden;
  display: inline-block;
  overflow: visible;
}

/*extended */
/*new header animation */
.slide-header {
  position: relative;
  padding-bottom: 10px;
  transition: all 0.4s ease;
}

.slide-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px; /* Initial short line width */
  height: 5px;
  background: linear-gradient(90deg, #00c3ff 0%, #00b8d49e 50%, #00b8d44a 100%);
  transform-origin: left center;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: width;
  border-radius: 2px;
}

/* Add this new class for scroll-based animation */
.slide-header.header-animated::after {
  width: 100%; /* Extend to full width when scrolled into view */
  background: linear-gradient(90deg, #00c3ff 0%, #007bff 50%, #0043ff 100%);
  box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

.slide-header:hover::after {
  width: 100%; /* Extend to full width on hover */
  background: linear-gradient(90deg, #00c3ff 0%, #007bff 50%, #0043ff 100%);
}

/* Optional shadow effect for enhanced depth */
.slide-header:hover::after {
  box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

/* Optimize animation performance */
.slide-header {
  will-change: transform;
  backface-visibility: hidden;
}

/* Ensure the container allows proper positioning */
.slide-header {
  display: inline-block;
  overflow: visible;
}
/*header animation end*/

/*extended end */
