/* === Base Styling === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin-left: 180px;           /* space for left sidebar */
    margin-right: 80px;          /* space for right banner */
    padding-bottom: 100px;        /* prevent footer overlap */
    overflow-x: hidden;           /* prevent horizontal scroll */
    scroll-behavior: smooth;      /* smooth anchor scrolls */

    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom right, #0e1014, #1a1d24);
    color: #d6d6d6;
    line-height: 1.7;
}


/* === Structural Depth === */
.main-wrapper {
    max-width: 1000px;
    margin: auto;
    padding: 40px 20px;
    position: relative;

}

#banner {
    width: 100%;
    background: linear-gradient(to right, #1a1d24, #0e1014); /* smooth dark gradient */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-content h1 {
    font-size: 3rem;
    color: #c2f3ff;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
}

.banner-content p {
    font-size: 1.3rem;
    color: #aee7f8;
    opacity: 0.8;
    letter-spacing: 0.5px;
    margin-left: 200px;
}


/* === Embossed Panel Sections === */
section {
    position: relative;
    background: rgba(32, 36, 44, 0.85); /* Charcoal panel */
    backdrop-filter: blur(10px);
    padding: 40px;
    margin: 40px auto;
    max-width: 900px;
    border-radius: 12px;
    box-shadow:      inset 0 0 24px rgba(0, 255, 255, 0.05), /* Inner soft glow (cyan tint) */
                            0 0 15px rgba(100, 200, 255, 0.4),            /* Outer subtle shadow */
                                0 0 30px rgba(200, 100, 255, 0.25); /* New purple outer glow */

    z-index: 1;
    overflow: hidden;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../assets/p1.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.05;  /* Subtlety matters */
    z-index: -1;
}

p {
    text-align: justify;
    text-justify: inter-word;
    letter-spacing: 0.2px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.text-block {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}


/* === Headings === */
h1 {
    font-size: 2.4rem;
    color: #c2f3ff;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 0 4px rgba(0,255,255,0.1);
}

h2 {
    font-size: 1.5rem;
    color: #aee7f8;
    margin-top: 20px;
}

/* === Typography === */
p, li {
    font-size: 1.05rem;
    color: #cccccc;
    margin-bottom: 1em;
}

/* === Interactive / Accent Elements === */
a {
    color: #76e0ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00d6ff;
    text-decoration: underline;
}

/* === Glyph-Inspired Sidebar or Border (optional) === */
body::before, body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 0;
    opacity: 0.2;
    background-repeat: repeat;
    background-position: center;
    background-size: cover;
}

body::before {
    left: 0;
    background-image: url("../assets/p6.jpg");
}

body::after {
    right: 0;
    background-image: url("../assets/p2.jpg");
}

/* === Navigation (optional sticky top) === */
header {
    background: rgba(14, 16, 20, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 2px 6px rgba(0, 255, 255, 0.05);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

nav ul li a {
    color: #b2f2ff;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
}

nav ul li a:hover {
    color: #00e1ff;
}


html {
  scroll-behavior: smooth;
}





.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-size: 0.95rem;
    color: #b2f2ff;
    text-decoration: none;
    border-bottom: 1px dashed #76e0ff;
    padding: 8px 12px;
    background-color: #1a1d24; /* Match your dark background */
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
    transition: background-color 0.3s, transform 0.3s, border-bottom-color 0.3s;
    z-index: 1001;
}

.back-to-top:hover {
    background-color: #333; /* Darker background on hover */
    transform: translateY(-3px); /* Soft floating effect */
    border-bottom-color: #b2f2ff; /* Slight change or keep same */
}

.home-logo2 img {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.home-logo2 img:hover {
    opacity: 1;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

input, textarea {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    background: rgba(255,255,255,0.1);
    color: #eee;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

button {
    padding: 10px 20px;
    border: none;
    background-color: #00e1ff;
    color: #0e1014;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #00b4cc;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    margin-top: 40px;
}

.contact-container form {
    flex: 1 1 350px;
    min-width: 300px;
}

.contact-text {
    flex: 1 1 350px;
    min-width: 300px;
    background: rgba(32, 36, 44, 0.7);
    backdrop-filter: blur(6px);
    padding: 20px;
    border-radius: 12px;
    box-shadow: inset 0 0 12px rgba(0,255,255,0.04);
}

.contact-text h2 {
    color: #c2f3ff;
    margin-bottom: 15px;
}

.contact-text p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 60px auto 20px;
    text-align: center;
}

footer {
    text-align: center;
    padding: 40px 20px;
    color: #8ca3b8;
    font-size: 0.9rem;
    background: rgba(14, 16, 20, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 -2px 8px rgba(0, 255, 255, 0.02);
    margin-top: 60px;
}

/* sidebar left */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 150px;
    background-color: #1a1d24;
    padding-top: 20px;
    overflow-y: auto;
    height: 100vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.sidebar-links {
  flex: 1;
  overflow-y: auto;
}

.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

.sidebar ul li {
    margin: 10px 0;
    text-align: center;
    padding-left: 20px;
    display: block;
    width: 100%;
}

.sidebar ul li a {
    color: #d6d6d6;
    text-decoration: none;
    font-weight: bold;
    display: block;
    padding: 10px;
}




.sidebar ul li a:hover {
    background-color: #333;
    border-radius: 8px;
}




/* Right Banner */
.right-banner {
    position: fixed;
    top: 0;
    right: 0;
    width: 140px;
    height: 1000vh;
    background-color: #1a1d24;
   background-image: url("../assets/p4.jpg");
    background-repeat: repeat-y;
    background-size: contain;
    padding-top: 0px;
    z-index: 1000;
}

.right-banner img {
    width: 130px;
    height: 1000px;
    margin: 10px 0;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s;
}

.right-banner img:hover {
    transform: scale(1.05);
}



/* Green tick style */
.green-tick {
    font-size: 3rem;
    color: #4caf50; /* soft green */
    margin-bottom: 20px;
}

/* Optional: Animate Thank You appearance */
#thank-you-message {
    animation: fadeIn 0.8s ease-in forwards;
}

/* Simple fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.home-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1001; /* Higher than nav to stay on top */
    display: flex;
    align-items: center;
    text-decoration: none;
}

.home-logo img {
    height: 50px; /* adjust size */
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-logo img:hover {
    opacity: 1;
    transform: scale(1.05); /* gentle hover effect */
}

.home-logo-sidebar {
    height: 100px;
    top: 30px;
    left: 40px;
    z-index: 1001; /* Higher than nav to stay on top */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.home-logo-sidebar img {
    height: 70px;
    width: 70px;
    filter: brightness(85%);
    transition: filter 0.3s ease, transform 0.3s ease;
    background-color: #0e1014;
}


.home-logo-sidebar img:hover {
  opacity: 1;
  transform: scale(1.05);

}

.corner-logo {
    position: fixed;
    z-index: 1002;
    width: 50px; /* or whatever size looks good */
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.corner-logo img {
    width: 100%;
    height: auto;
}

/* Specific positioning for each */
.top-left {
    top: 20px;
    left: 20px;
}

.top-right {
    top: 20px;
    right: 20px;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
}

/* Hover effects */
.corner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}


.Page-image {
   width: 450px;
  height: 300px;
  display: block;
  right: 150px;
  z-index: 10;
  opacity: 0.9;
  object-fit: cover;
  transition: all 0.3s ease;
  margin-left: 20px; /* space from other elements */
  margin-right: 20px;
  filter: contrast(1.2) brightness(1.1);
  box-shadow:
  inset 2px 2px 5px rgba(255, 255, 255, 0.1),
  inset -2px -2px 5px rgba(0, 0, 0, 0.2),
  0 0 10px rgba(0, 255, 255, 0.4);

}

.Nyreth1-img {
  width: 200px;
  height: 200px;
  position: fixed;
  top: 35px;
  right: 120px;
  z-index: 10;
  opacity: 0.9;
  object-fit: cover;
  box-shadow:
    inset 1px 1px 3px rgba(255, 255, 255, 0.05),
    inset -1px -1px 3px rgba(0, 0, 0, 0.15),
    0 0 15px rgba(0, 255, 255, 0.4);
  transition: all 0.3s ease;
  border-radius: 10px;
}


.Page-image:hover {
    transform: scale(1.2);
}
/* Default styling (unchanged or improved) */

iframe {
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  max-width: 100%;
}

.comparison-table,
.sch-eva-table,
.sch-elements-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
  overflow-x: auto;
}

.comparison-table th,
.comparison-table td,
.sch-eva-table th,
.sch-eva-table td,
.sch-elements-table th,
.sch-elements-table td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background-color: rgba(157, 64, 207, 0.25);
  font-weight: 600;
}

.sch-eva-table th {
  background-color: #e45d5d;
  font-weight: 600;
}

.sch-elements-table {
  margin-top: 2rem;
  font-family: "Georgia", serif;
  font-size: 1rem;
  color: #e4cfcf;
}

.sch-elements-table td {
  font-style: italic;
}

.sch-elements-table thead th {
  background-color: #e86363;
  font-weight: 600;
}

details {
  margin: 1em 0;
  border: 1px solid #3b4c4b;
  border-radius: 5px;
  padding: 0.5em 1em;
  background-color: #3b4c4b;
}

details[open] {
  background-color: #323953;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

summary {
  font-weight: bold;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

.details-content {
  margin: 0.5em 0;
  padding: 0 10px;
}

/* Responsive Overrides for Mobile/Tablets */
@media screen and (max-width: 768px) {

  body {
    margin: 0 !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .sidebar,
  .right-banner,
  body::before,
  body::after {
    display: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    left: -9999px !important;
    top: -9999px !important;
    visibility: hidden !important;
  }

  .main-wrapper,
  section {
    margin: 0 auto !important;
    padding: 10px 10px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .banner-content p {
    margin-left: 0 !important;
    padding: 0 10px !important;
    text-align: center !important;
  }

  .Page-image,
  pre img,
  .comparison-table,
  .sch-eva-table,
  .sch-elements-table {
    margin-bottom: 20px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  iframe {
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .comparison-table,
  .sch-eva-table,
  .sch-elements-table {
    font-size: 0.9rem !important;
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }

  .comparison-table th,
  .comparison-table td,
  .sch-eva-table th,
  .sch-eva-table td,
  .sch-elements-table th,
  .sch-elements-table td {
    padding: 6px 10px !important;
  }

  .details-content {
    margin: 0 !important;
    padding: 0 10px !important;
  }

  summary {
    font-weight: bold !important;
    cursor: pointer !important;
    color: #aee7f8 !important;
    font-size: 1.1rem !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-radius: 5px !important;
    padding: 6px 10px !important;
    margin-bottom: 10px !important;
  }

  pre {
    margin: 0 10px 20px 10px !important;
    padding: 0 10px !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    overflow-x: auto !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  pre img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
  }

}
