/* General Reset and Body Styles */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #e6f7ff; /* Light Blue Background */
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Navigation Bar */
#nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background-color: #003a63; /* Dark Blue */
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.nav-links a, .ddclass {
    text-decoration: none;
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 500;
}

.ddclass {
    background-color: #ffc107; /* Amber */
    color: #212529; /* Dark Gray */
    font-weight: bold;
}

.ddclass:hover {
    background-color: #001e36; /* Darker Blue */
    color: #ffc107; /* Amber */
}

.nav-links a:hover {
    background-color: #f8f9fa; /* Light Gray */
    color: #212529; /* Dark Gray */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    font-size: 32px;
    color: #ffc107; /* Amber */
}

.Hbutton {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: color 0.3s;
}

.Hbutton:hover {
    color: #ffc107; /* Amber */
}

/* Responsive Navigation */
@media (max-width: 768px) {
    #nav {
        flex-wrap: wrap;
        justify-content: center;
        padding: 15px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        font-size: 28px;
        color: white;
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .nav-links a, .ddclass {
        padding: 10px 12px;
        font-size: 14px;
    }

    .logo i {
        font-size: 26px;
    }

    .Hbutton {
        font-size: 18px;
    }
}

/* Animation Styles */
.ani {
    height: 35px;
    width: 35px;
    background-color: #ffc107; /* Amber */
    border-radius: 50%;
    border: 8px solid #003a63; /* Dark Blue */
    animation: rotateAnimation 2s linear infinite;
}

@keyframes rotateAnimation {
    to {
        transform: rotate(360deg);
    }
}

/* Header Section */
.nav_cls {
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding: 30px;
    background-color: #003a63; /* Dark Blue */
    background-image: url(PHOTOS/b_2_0.jpg);
    background-size: cover;
    background-position: center;
    animation: backgroundImageAnimation 8s infinite ease-in-out;
    color: white;
    text-align: center;
}

@keyframes backgroundImageAnimation {
    0% { background-image: url(PHOTOS/b_2_0.jpg); }
    25% { background-image: url(PHOTOS/b_3.jpg); }
    50% { background-image: url(PHOTOS/b_4.jpg); }
    75% { background-image: url(PHOTOS/b_2.jpg); }
    100% { background-image: url(PHOTOS/b_2_0.jpg); }
}

.hii {
    max-width: 500px;
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.highlight {
    color: #ffc107; /* Amber */
}

.button button {
    background-color: #dc3545; /* Red */
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button button:hover {
    background-color: #c82333; /* Darker Red */
}

.button a {
    text-decoration: none;
    color: inherit;
}

.follow {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    justify-content: center;
}

.I_link {
    color: inherit;
    text-decoration: none;
    font-size: 2rem;
    transition: color 0.3s;
}

.I_link:hover {
    color: #ffc107; /* Amber */
}

.imga {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img {
    border-radius: 50%;
    width: 220px;
    height: 220px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive Header */
@media (max-width: 992px) {
    .hii {
        font-size: 3rem;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .nav_cls {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .hii {
        font-size: 2.5rem;
        margin-top: 30px;
    }

    .profile-img {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hii {
        font-size: 2rem;
    }

    .button button {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    .follow {
        gap: 15px;
    }

    .I_link {
        font-size: 1.6rem;
    }
}

/* Table Styles */
.table-section {
    margin: 30px auto;
    width: 95%; /* Adjust as needed */
    max-width: 1400px;
    overflow-x: auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

thead {
    background-color: #ffc107; /* Amber */
    color: #212529; /* Dark Gray */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 18px; /* Increase padding for larger cells */
    border-bottom: 1px solid #ddd;
    text-align: center;
    font-size: 1.5rem; /* Increase font size */
    font-weight: 500; /* Make text bolder */
}

th {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

tbody tr:hover {
    background-color: #f9f9f9;
}

/* Responsive Table */
@media (max-width: 768px) {
    .table-section {
        padding: 10px;
    }

    table {
        font-size: 1.1rem; /* Adjust font size for smaller screens */
    }

    th, td {
        padding: 12px; /* Adjust padding for smaller screens */
    }
}

/* Form Styles */
.upload-section, .controls, .search-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 25px auto;
    max-width: 700px;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

label {
    font-weight: bold;
    margin-bottom: 10px;
    color: #555;
}


.portfolio-container{
    height: 10%;
}

input[type="file"], select, input[type="date"], input[type="time"] {
    width: 60%;
    padding: 12px;
    margin-bottom: 25px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="file"]:focus, select:focus, input[type="date"]:focus, input[type="time"]:focus {
    border-color: #007bff; /* Blue */
    outline: none;
}

/* Button Styles */
button {
    padding: 12px 25px;
    background-color: #007bff; /* Blue */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3; /* Darker Blue */
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    background-color: #003a63; /* Dark Blue */
    color: white;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

/* Utility Classes */
.datetime {
    margin-top: 8px;
    font-size: 1.1rem;
    color: #555;
}

/* Deep Pain Section Styles */
#deepPainSection {
    margin-top: 30px;
}

#deepPainTable {
    width: 100%;
    border-collapse: collapse;
    background: #f8f9fa; /* Light Gray */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

#deepPainTable th, #deepPainTable td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: center;
}

#deepPainTable th {
    background: #e9ecef; /* Lighter Gray */
    color: #333;
    font-weight: bold;
}

#deepPainSearch {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 300px;
    margin-bottom: 15px;
}

/* Merged Input Styles */
.merged-input {
    text-align: center;
    border: none;
    font-size: 1.1rem;
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    background-color: #f8f9fa; /* Light Gray */
    transition: background-color 0.3s;
}

.merged-input:focus {
    outline: none;
    background-color: #fff;
    border: 1px solid #007bff; /* Blue */
}

/* Table Bordered Styles */
.table.table-bordered {
    border: 1px solid #ddd;
    border-radius: 10px;
}

.table.table-bordered th, .table.table-bordered td {
    /* border: 1px solid #ddd; */
}
.table.table-bordered td{
    border: none;
    color :#001e36;
    background-color: white;
}
.table.table-bordered {
  border-collapse: collapse;  /* prevents double borders */
}

.table.table-bordered th,
.table.table-bordered tfoot td {
  border: 1px solid #333;  /* thin dark border */
}
.table.table-bordered tfoot td {
  border-top: 2px solid #000; /* thicker line on top only */
  border-bottom: none;        /* remove bottom border */
  font-weight: bold;
  background: #000;           /* dark background */
  color: #fff;                /* white text */
}
.table.table-bordered, tbody td{
    border: none;
}
/* Responsive Design for Tables */
@media (max-width: 768px) {
    .table-section {
        overflow-x: auto;
    }

    table {
        width: auto;
        min-width: 100%;
    }
}

/* Hide Columns */
.hide-col {
    display: none !important;
}
.animated-element {
    animation: fadeIn 2s ease-in-out infinite alternate;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
#summaryTable {
    width: 30%;
    margin: auto;
}
/* ⚡ Talkie Talkie Section Styles */
.talkie-projection {
  position: relative;
  background: linear-gradient(120deg, #000000 0%, #001a00 100%);
  color: #00ff99;
  text-align: center;
  padding: 100px 20px;
  overflow: hidden;
}

.talkie-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0,255,153,0.15), rgba(0,0,0,0.9));
  animation: move-bg 10s linear infinite alternate;
  z-index: 1;
}

@keyframes move-bg {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100% 100%;
  }
}

.talkie-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  backdrop-filter: blur(6px);
  border-radius: 16px;
  border: 2px solid #00ff99;
  box-shadow: 0 0 40px rgba(0, 255, 100, 0.3);
  padding: 60px 30px;
}

.talkie-title {
  font-size: 54px;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 0 25px #00ff99;
  animation: glow-text 2s ease-in-out infinite alternate;
}

@keyframes glow-text {
  from {
    text-shadow: 0 0 10px #00ff99, 0 0 20px #00ff99;
  }
  to {
    text-shadow: 0 0 30px #00ff99, 0 0 60px #00ffcc;
  }
}

.projection-date {
  margin-top: 15px;
  font-size: 22px;
  color: #b6ffcc;
  text-shadow: 0 0 10px #00ff99;
}

.talkie-description {
  margin-top: 25px;
  font-size: 20px;
  line-height: 1.8;
  color: #a8ffb0;
}

.talkie-description .brand {
  color: #00ffcc;
  font-weight: 600;
  text-shadow: 0 0 10px #00ffcc;
}

.ticker {
  width: 100%;
  overflow: hidden;
  margin-top: 50px;
  border-top: 1px solid rgba(0,255,150,0.4);
  border-bottom: 1px solid rgba(0,255,150,0.4);
  padding: 15px 0;
}

.ticker-text {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 20s linear infinite;
  font-size: 20px;
  color: #00ffcc;
  text-shadow: 0 0 10px #00ffcc;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.action-btn {
  margin-top: 40px;
  background: #00ff99;
  border: none;
  color: #000;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px #00ff99;
}

.action-btn:hover {
  background: #00cc77;
  transform: scale(1.05);
  box-shadow: 0 0 40px #00ff99;
}

/* Responsive Design */
@media (max-width: 768px) {
  .talkie-title {
    font-size: 36px;
  }
  .talkie-description {
    font-size: 18px;
  }
  .ticker-text {
    font-size: 16px;
  }
  .action-btn {
    font-size: 18px;
    padding: 12px 30px;
  }
}
