/* Base Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #003366;
    --accent-color: #ff6b00;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --white-color: #fff;
    --black-color: #000;
    --bg-primary: #fff;
    --bg-secondary: #f8f9fa;
    --text-primary: #333;
    --text-secondary: #6c757d;
    --text-transparent: rgba(51, 51, 51, 0.527);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(0, 86, 179, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 6px 18px rgba(0, 86, 179, 0.35);
    transform: translateY(-2px);
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: var(--white-color);
    text-decoration: none;
    margin-left: 20px;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.contact-info i {
    margin-right: 5px;
}

/* Navigation */
.navbar {
    background-color: var(--bg-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    max-width: 150px; /* Adjust the size as needed */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure proper alignment */
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo span {
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(230, 240, 255, 0.3) 100%);
    padding: 100px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: block;
    height: 309px;
    width: 454px;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Badges Section */
.badges {
    background-color: var(--bg-primary);
    padding: 40px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.badges .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.badge-item {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 250px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.badge-item:hover {
    transform: translateY(-10px);
}

.badge-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.badge-item:hover i {
    color: var(--accent-color);
    transform: scale(1.2);
}

.badge-item h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* About Section */
.about-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 20px 0;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--secondary-color);
    margin: 20px 0 10px;
}

.about-text ul {
    list-style: none;
    margin: 15px 0;
}

.about-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.about-text ul li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.sla-list li::before {
    content: none;
}

.sla-list i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.company-highlights {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 8px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-item {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.highlight-item h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.highlight-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}


.coverage h3 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.cities div{
    
    display: block;
}

.city-tag {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    margin: 5px;
}

.city-tag:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.map-placeholder {
    padding-top: 25px;
    width: 100%;
    height: 300px;
    background-color: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services Section */
.services-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 12px 30px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab-btn:hover:not(.active) {
    color: var(--dark-color);
    border-bottom: 3px solid var(--accent-color);
    transform: translateY(-2px);
}

.tab-content {
    display: none;
}

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

.service-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.service-row {
    display: flex;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.service-row:hover:not(.header) {
    background-color: rgba(0, 86, 179, 0.05);
    padding-left: 10px;
}

.service-row.header {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 600;
}

.service-cell {
    flex: 1;
    padding: 15px;
}

.service-details {
    background-color: var(--bg-secondary);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.service-details h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.service-details ul {
    list-style: none;
    margin-left: 0;
}

.service-details ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: var(--text-secondary);
}

.service-details ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.hardware-item {
    background-color: var(--bg-primary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.hardware-item:hover {
    transform: translateY(-10px);
}

.hardware-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hardware-item h3 {
    padding: 20px;
    text-align: center;
    color: var(--secondary-color);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.quality-item {
    background-color: var(--bg-primary);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.quality-item:hover {
    transform: translateY(-10px);
}

.quality-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.quality-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

select#service {
  /* inherit primary site font */
  font-family: inherit;
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 8px 12px;
  background-color: var(--bg-primary);
  width: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
}

select#service:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 86, 179, 0.1);
}

select#service:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

/* Management Section */
.executive-team {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.executive-card {
    background-color: var(--bg-primary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    display: flex;
    transition: transform 0.3s ease;
}

.executive-card:hover {
    transform: translateY(-10px);
}

.executive-image {
    position: relative;
    width: 40%;
}

.executive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.executive-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 86, 179, 0.8);
    color: var(--white-color);
    padding: 10px;
    text-align: center;
    font-weight: 600;
}

.executive-details {
    width: 60%;
    padding: 30px;
}

.executive-details h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.executive-details ul {
    list-style: none;
    margin: 20px 0;
}

.executive-details ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.executive-details ul li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.certification {
    background-color: var(--bg-secondary);
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
    margin-top: 15px;
}

/* Roadmap Section */
.roadmap-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.objectives {
    flex: 1;
}

.objectives h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.objectives ul {
    list-style: none;
    margin-bottom: 40px;
}

.objectives ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.objectives ul li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.values {
    flex: 1;
}

.values h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.value-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 8px;
}

.value-item:hover {
    background-color: rgba(0, 86, 179, 0.05);
    transform: translateX(10px);
}

.value-icon {
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    background-color: var(--accent-color);
    transform: scale(1.2) rotate(10deg);
}

.value-text h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

/* Blog Section */
.blog {
    background-color: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.blog-post {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-header {
    margin-bottom: 20px;
}

.blog-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.blog-header h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-date {
    display: inline-block;
    color: var(--gray-color);
    font-size: 0.85rem;
}

.blog-post p {
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--accent-color);
}

/* Resources Section */
.resources-section {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 8px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.resource-item {
    text-align: center;
    padding: 25px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--white-color) 100%);
    transition: all 0.3s ease;
}

.resource-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.resource-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.resource-item:hover i {
    color: var(--white-color);
}

.resource-item h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.resource-item:hover h4 {
    color: var(--white-color);
}

.resource-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.resource-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.resource-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
    transition: all 0.3s ease;
    padding: 20px;
    background-color: var(--bg-secondary);
    border-radius: 6px;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background-color: var(--accent-color);
    transform: scale(1.15);
}

.contact-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-form {
    flex: 1;
    background-color: var(--bg-primary);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact form inherits form-standard for consistency */
.contact-form.form-standard .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover {
    border-color: var(--primary-color);
    background-color: var(--white-color);
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.1);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white-color);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--primary-color);
    background-color: var(--white-color);
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white-color);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    background-color: #003366;
    color: var(--white-color);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo {
    color: var(--white-color);
    margin-bottom: 15px;
}

.footer-logo .logo img {
    max-width: 260px;
    height: auto;
    display: block;
}

.footer-logo p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-links h3,
.footer-services h3,
.footer-social h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.774);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--white-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.confidential {
    font-style: italic;
    margin-top: 10px;
}

/* Management image preview modal */
.image-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.85);
    z-index: 1200;
    padding: 20px;
}

.image-modal.open {
    display: flex;
}

.image-modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

/* Close button */
.image-modal-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    color: #111;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make management images look clickable */
.management img,
.executive-image img {
    cursor: zoom-in;
    transition: transform 0.18s ease;
}

.management img:hover,
.executive-image img:hover {
    transform: scale(1.02);
}

/* prevent page scroll when modal open */
body.modal-open {
    overflow: hidden;
}

/* Legal Pages (Privacy Policy, Terms of Service) */
.legal-page {
    background-color: var(--bg-primary);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.legal-content h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-content ul {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
}

.legal-content ul li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.legal-content ol {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
}

.legal-content ol li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.last-updated {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

/* FAQ Section */
.faq {
    background-color: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-category {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-category:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.faq-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
}

.faq-category h3 i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-secondary);
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 15px 0;
}

.faq-answer p {
    margin-bottom: 12px;
    line-height: 1.7;
}

.faq-answer ul {
    margin: 12px 0 12px 25px;
    line-height: 1.7;
}

.faq-answer ul li {
    margin-bottom: 8px;
}

.faq-answer ol {
    margin: 12px 0 12px 25px;
    line-height: 1.7;
}

.faq-answer ol li {
    margin-bottom: 8px;
}

.faq-cta {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.faq-cta h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.faq-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Footer Legal Links */
.footer-legal {
    display: flex;
    flex-direction: column;
}

.footer-legal h3 {
    color: #f8f9fa;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-legal ul {
    list-style: none;
}

.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-legal a {
    color:#fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-legal a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Custom Alert Modal */
.custom-alert-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    padding: 20px;
}

.custom-alert-overlay.show {
    display: flex;
}

.custom-alert-box {
    background-color: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
    max-width: 420px;
    text-align: center;
    animation: slideUp 0.3s ease-out;
}

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

.custom-alert-icon {
    margin-bottom: 20px;
}

.custom-alert-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

#alertTitle {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

#alertMessage {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

#alertButton {
    min-width: 120px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    font-size: 1rem;
    cursor: pointer;
}

#alertButton:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* ============================================
   AUTHENTICATION SECTION
   ============================================ */

.auth-section {
    background-color: var(--bg-secondary);
    padding: 80px 0;
    min-height: 70vh;
}

.auth-container {
    max-width: 450px;
    margin: 0 auto;
}

.auth-form-wrapper {
    display: none;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.auth-form-wrapper.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.auth-form-wrapper h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
}

.auth-form .form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.auth-form .form-group input,
.auth-form .form-group select {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.auth-form .form-group input:focus,
.auth-form .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.auth-form .form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.auth-form .form-group.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.auth-form .form-group.checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.95rem;
}

.auth-form .form-group.checkbox a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-form .form-group.checkbox a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.auth-form .btn {
    margin-top: 10px;
}

.auth-toggle {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.auth-toggle p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-toggle a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-toggle a:hover {
    color: var(--accent-color);
}

/* ============================================
   DASHBOARD SECTION
   ============================================ */

.dashboard-section {
    background-color: var(--bg-secondary);
    padding: 80px 0;
    min-height: 80vh;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 50px;
}

.dashboard-header h2 {
    color: var(--secondary-color);
}

.dashboard-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

/* Sidebar Navigation */
.dashboard-sidebar {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.sidebar-btn:hover {
    color: var(--primary-color);
    padding-left: 18px;
}

.sidebar-btn.active {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    background-color: rgba(0, 86, 179, 0.05);
}

.sidebar-btn i {
    font-size: 1.1rem;
}

/* Main Dashboard Content */
.dashboard-main {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dashboard-tab {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

.dashboard-tab h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

/* Dashboard Cards */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.dashboard-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.1);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.card-content h3 {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 500;
}

.card-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

/* Recent Activity & Tickets */
.recent-activity,
.tickets-filter,
.ticket-form,
.profile-form {
    margin-top: 30px;
}

.recent-activity h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.no-data {
    padding: 30px;
    text-align: center;
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    border-radius: 8px;
}

.sidebar-btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.sidebar-btn-link:hover {
    color: var(--accent-color);
}

/* Tickets Filter */
.tickets-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background-color: var(--bg-primary);
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

/* Tickets List */
.tickets-list {
    display: grid;
    gap: 15px;
}

.ticket-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 20px;
    background-color: var(--bg-primary);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ticket-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ticket-info h4 {
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.ticket-meta {
    display: flex;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.ticket-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ticket-status {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.ticket-status.open {
    background-color: #ffeaa7;
    color: #d63031;
}

.ticket-status.in-progress {
    background-color: #74b9ff;
    color: #0056b3;
}

.ticket-status.resolved {
    background-color: #55efc4;
    color: #00b894;
}

/* Forms */
.ticket-form,
.profile-form {
    display: grid;
    gap: 20px;
}

.ticket-form .form-group,
.profile-form .form-group {
    display: flex;
    flex-direction: column;
}

.ticket-form label,
.profile-form label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.ticket-form input,
.ticket-form textarea,
.ticket-form select,
.profile-form input,
.profile-form textarea,
.profile-form select {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.ticket-form input:focus,
.ticket-form textarea:focus,
.ticket-form select:focus,
.profile-form input:focus,
.profile-form textarea:focus,
.profile-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.ticket-form textarea,
.profile-form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Montserrat', sans-serif;
}

.ticket-form small,
.profile-form small {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 20px 0;
}

.profile-form h4 {
    color: var(--secondary-color);
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Modal Enhancements */
.ticket-modal-box {
    max-width: 500px !important;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

#modal-ticket-id {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.modal-ticket-content {
    display: grid;
    gap: 12px;
}

.modal-ticket-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        height: auto;
        padding: 20px;
    }

    .sidebar-nav {
        flex-direction: row;
        gap: 10px;
    }

    .sidebar-btn {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .sidebar-btn.active {
        border-left: none;
        border-bottom: 3px solid var(--primary-color);
    }
}

@media (max-width: 768px) {
    .auth-form-wrapper {
        padding: 30px 20px;
    }

    .dashboard-main {
        padding: 25px 20px;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .ticket-item {
        grid-template-columns: 1fr;
    }

    .ticket-status {
        justify-self: start;
        margin-top: 10px;
    }

    .tickets-filter {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .auth-section {
        padding: 60px 0;
        min-height: auto;
    }

    .auth-container {
        max-width: 100%;
    }

    .auth-form-wrapper {
        padding: 25px 15px;
        border-radius: 0;
    }

    .dashboard-header {
        margin-bottom: 30px;
    }

    .dashboard-header h2 {
        font-size: 1.5rem;
    }

    .dashboard-main {
        padding: 20px 15px;
    }

    .dashboard-tab h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .card-icon {
        font-size: 1.5rem;
    }

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

    .ticket-meta {
        flex-direction: column;
        gap: 8px;
    }

    .modal-close {
        top: 15px;
        right: 15px;
    }

    .ticket-modal-box {
        max-height: 90vh;
        padding: 30px 20px !important;
    }
}

/* ============================================
   TICKET SYSTEM - NEW STYLES
   ============================================ */

/* Ticket Section */
.ticket-section {
    background-color: var(--bg-secondary);
    padding: 80px 0;
    min-height: 70vh;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    margin-top: 10px;
}

/* Ticket Form Wrapper */
.ticket-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Standard Form */
.form-standard {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-standard .form-group {
    display: flex;
    flex-direction: column;
}

.form-standard label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-standard input,
.form-standard textarea,
.form-standard select {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-standard input:focus,
.form-standard textarea:focus,
.form-standard select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-standard textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Montserrat', sans-serif;
}

.form-standard small {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Checkbox with notice */
.checkbox-notice {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-notice input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-notice label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-notice a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-notice a:hover {
    text-decoration: underline;
}

/* Info Banner */
.info-banner {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.info-banner p {
    margin: 0;
    font-size: 0.95rem;
}

.info-banner a {
    margin-left: 15px;
    text-decoration: none;
    font-weight: 600;
}

.info-banner a:hover {
    text-decoration: underline;
}

/* Account Prompt */
.ticket-account-prompt {
    margin-top: 60px;
    padding: 40px;
    background-color: var(--bg-primary);
    border-radius: 8px;
    text-align: center;
}

.ticket-account-prompt h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.ticket-account-prompt p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Lookup Wrapper */
.ticket-lookup-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

/* Ticket Details */
.ticket-details-wrapper {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.ticket-header h3 {
    color: var(--secondary-color);
    margin: 0;
    font-size: 1.5rem;
}

.ticket-status-badge {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.ticket-status-badge.status-open {
    background-color: #ffc107;
    color: #000;
}

.ticket-status-badge.status-in-progress {
    background-color: #17a2b8;
    color: #fff;
}

.ticket-status-badge.status-resolved {
    background-color: #28a745;
    color: #fff;
}

.ticket-status-badge.status-closed {
    background-color: #6c757d;
    color: #fff;
}

/* Ticket Info Grid */
.ticket-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--bg-primary);
    border-radius: 4px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.info-item p {
    color: var(--text-primary);
    margin: 0;
    font-size: 1rem;
    word-break: break-word;
}

/* Ticket Description */
.ticket-description {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--bg-primary);
    border-radius: 4px;
}

.ticket-description label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.ticket-description p {
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Ticket Updates */
.ticket-updates {
    margin-top: 30px;
}

.ticket-updates h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.update-item {
    padding: 15px 20px;
    background-color: var(--bg-primary);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.update-header strong {
    color: var(--secondary-color);
}

.update-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.update-item p {
    color: var(--text-primary);
    margin: 0;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Help Section */
.ticket-help {
    margin-top: 60px;
    padding: 40px;
    background-color: var(--bg-primary);
    border-radius: 8px;
    text-align: center;
}

.ticket-help h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.ticket-help p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Error Message */
.error-message {
    margin-top: 20px;
}

.error-message p {
    padding: 15px 20px;
    background-color: #fff5f5;
    border-left: 4px solid #d63031;
    border-radius: 4px;
    color: #d63031;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Navigation Dropdown (for user menu) */
.nav-dropdown {
    position: relative;
}

.nav-account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary) !important;
    text-decoration: none !important;
    font-weight: 500;
    cursor: pointer;
}

.nav-account-btn:hover {
    color: var(--primary-color) !important;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white-color);
    border: 1px solid #dee2e6;
    border-radius: 4px;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    margin-top: 10px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 15px;
    color: var(--text-primary) !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-dropdown-menu a:hover {
    background-color: var(--bg-primary);
    color: var(--primary-color) !important;
}

.nav-dropdown-menu hr {
    margin: 8px 0;
    border: none;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ticket-form-wrapper {
        padding: 25px 15px;
    }

    .ticket-details-wrapper {
        padding: 25px 15px;
    }

    .ticket-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .ticket-header h3 {
        font-size: 1.3rem;
    }

    .ticket-account-prompt {
        padding: 25px 15px;
    }

    .ticket-help {
        padding: 25px 15px;
    }
}

@media (max-width: 576px) {
    .ticket-section {
        padding: 60px 0;
    }

    .ticket-form-wrapper {
        padding: 20px;
        box-shadow: none;
    }

    .ticket-details-wrapper {
        padding: 20px;
        box-shadow: none;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .form-standard .form-group {
        gap: 8px;
    }

    .form-standard label {
        font-size: 0.9rem;
    }

    .form-standard input,
    .form-standard textarea,
    .form-standard select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .update-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .checkbox-notice {
        gap: 8px;
    }

    .checkbox-notice input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    .nav-dropdown-menu {
        right: auto;
        left: 0;
    }
}

/* ============================================
   ENHANCED MOBILE RESPONSIVENESS (2026 Update)
   ============================================ */

/* Mobile Navigation (768px and below) */
@media (max-width: 768px) {
    /* Top Bar - Stack vertically on smaller screens */
    .top-bar {
        padding: 8px 0;
        font-size: 0.85rem;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .contact-info {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .contact-info a {
        margin-left: 0;
        padding: 5px 10px;
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 3px;
        font-size: 0.8rem;
    }

    /* Navigation - Show hamburger menu */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .nav-list {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-list.active {
        left: 0;
    }

    .nav-list li {
        margin-left: 0;
        padding: 15px 0;
        border-bottom: 1px solid #e9ecef;
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list a {
        font-size: 1rem;
        display: block;
        padding: 10px 20px;
    }

    .nav-list a::after {
        display: none; /* Remove underline animation on mobile */
    }

    /* Logo sizing on mobile */
    .logo img {
        height: 35px;
        width: auto;
    }

    /* Hero section on mobile */
    .hero .container {
        flex-direction: column;
        gap: 30px;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        width: 100%;
        height: auto;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Buttons - Full width on mobile */
    .btn {
        width: 100%;
        max-width: 300px;
        display: inline-block;
    }

    /* Section title sizing */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .section-title::after {
        width: 60px;
    }

    /* Contact form mobile */
    .contact-content {
        flex-direction: column;
    }

    .contact-info {
        grid-template-columns: 1fr;
        margin-bottom: 30px;
    }

    .contact-form {
        padding: 25px 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }

    /* Form improvements */
    .form-standard input,
    .form-standard textarea,
    .form-standard select,
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents auto-zoom on iOS */
        padding: 12px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-standard label,
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    /* Checkbox on mobile */
    .checkbox-notice {
        flex-direction: column;
        gap: 10px;
    }

    .checkbox-notice input[type="checkbox"] {
        margin-top: 0;
    }

    .checkbox-notice label {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Services section */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 20px;
    }

    /* Footer on mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo,
    .footer-links,
    .footer-services,
    .footer-legal,
    .footer-social {
        margin-bottom: 30px;
    }

    .social-icons {
        justify-content: center;
    }

    /* Table responsiveness */
    table {
        font-size: 0.9rem;
    }

    table th,
    table td {
        padding: 10px 8px;
    }

    /* Modal on mobile */
    .custom-alert-box,
    .ticket-modal-box {
        width: 90vw;
        max-width: 100%;
        padding: 25px 20px;
        margin: 20px;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        font-size: 1.5rem;
    }
}

/* Extra small devices (576px and below) */
@media (max-width: 576px) {
    /* Tighten spacing further */
    section {
        padding: 50px 0;
    }

    .container {
        padding: 0 15px;
    }

    /* Top bar even more compact */
    .top-bar {
        padding: 6px 0;
    }

    .top-bar .container {
        gap: 6px;
    }

    .registration {
        font-size: 0.75rem;
    }

    .contact-info a {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    /* Navigation hamburger */
    .bar {
        width: 20px;
        height: 2.5px;
        margin: 4px auto;
    }

    /* Hero section extra small */
    .hero {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero-btns {
        gap: 10px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        max-width: 280px;
    }

    /* Section titles */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .section-title::after {
        width: 50px;
        height: 3px;
        margin-top: 10px;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    /* Form spacing */
    .form-standard {
        gap: 15px;
    }

    .form-standard input,
    .form-standard textarea,
    .form-standard select {
        padding: 11px 12px;
        font-size: 16px;
    }

    .form-standard label {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }

    .form-standard small {
        font-size: 0.75rem;
        margin-top: 3px;
    }

    .form-standard textarea {
        min-height: 100px;
        max-height: 250px;
    }

    /* Contact info items */
    .contact-item {
        margin-bottom: 20px;
    }

    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .contact-item h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    /* Cards and grid items */
    .badge {
        min-width: 150px;
        font-size: 0.85rem;
    }

    .service-card {
        padding: 20px 15px;
        border-radius: 6px;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Dashboard on mobile */
    .dashboard-header h2 {
        font-size: 1.3rem;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .dashboard-card {
        padding: 20px;
    }

    .card-number {
        font-size: 1.8rem;
    }

    .card-label {
        font-size: 0.85rem;
    }

    /* Modal full width on mobile */
    .custom-alert-overlay {
        padding: 10px;
    }

    .custom-alert-box {
        width: 100%;
        padding: 20px;
    }

    .custom-alert-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .custom-alert-box h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .custom-alert-box p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .custom-alert-box button {
        width: 100%;
        margin-top: 15px;
    }

    /* Responsive table */
    table {
        font-size: 0.8rem;
    }

    th, td {
        padding: 8px 6px;
    }

    /* Alert and success messages */
    .alert, .success {
        padding: 12px 15px;
        font-size: 0.9rem;
        margin-bottom: 15px;
        border-radius: 4px;
    }

    /* Info banner */
    .info-banner {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .info-banner p {
        line-height: 1.4;
    }

    /* Accessibility improvements for touch */
    button, a, input[type="checkbox"], input[type="radio"] {
        min-height: 44px; /* Apple recommended touch target */
    }

    input[type="checkbox"],
    input[type="radio"] {
        min-width: 44px;
        cursor: pointer;
    }

    /* Ticket card on mobile */
    .ticket-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px;
    }

    .ticket-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .ticket-status {
        justify-self: start;
    }

    /* Menu spacing */
    .nav-list li {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-list a {
        font-size: 0.95rem;
        padding: 8px 15px;
    }
}