/* Troubleshoot App Page Styles */

/* Header Section */
/* Header Section - FIXED */
/* Header Section - CORRECTED */
/* Header Section - FIXED */
.troubleshoot-header {
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    color: white;
    padding: 120px 0 80px; /* Increased top padding */
    position: relative;
    overflow: hidden;
    margin-top: -80px; /* This pushes it up behind the navbar */
}

.troubleshoot-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 100px; /* Add this to push content down below navbar */
}
.troubleshoot-header .header-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.troubleshoot-header h1 {
     font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.troubleshoot-header .header-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 500;
    opacity: 0.9;
}

.troubleshoot-header .header-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* UPDATED: Changed from circular to square with rounded corners */
.troubleshoot-header .image-placeholder {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px; /* Changed from 50% to 20px for square with rounded corners */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .troubleshoot-header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .troubleshoot-header .header-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .troubleshoot-header h1 {
        font-size: 2.5rem;
    }
    
    .troubleshoot-header .header-subtitle {
        font-size: 1.3rem;
    }
    
    .troubleshoot-header .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }
}

@media (max-width: 480px) {
    .troubleshoot-header h1 {
        font-size: 2rem;
    }
    
    .troubleshoot-header .header-subtitle {
        font-size: 1.1rem;
    }
    
    .troubleshoot-header .image-placeholder {
        width: 180px;
        height: 180px;
        font-size: 4rem;
    }
}

/* Main Content Section */
.main-content-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.main-content-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.content-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1a3a5f;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

/* Troubleshoot Grid */
.troubleshoot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.troubleshoot-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.troubleshoot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.troubleshoot-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: #f0f7ff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.troubleshoot-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a3a5f;
}

.troubleshoot-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #666;
}

.troubleshoot-link {
    display: inline-block;
    padding: 10px 20px;
    background: #2c5a8a;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: auto;
}

.troubleshoot-link:hover {
    background: #1a3a5f;
}

/* Issues Section */
.issues-section {
    padding: 80px 0;
    background: white;
}

.issues-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a3a5f;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.issue-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.issue-item:hover {
    transform: translateY(-5px);
}

.issue-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.issue-item h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1a3a5f;
}

.issue-item ul {
    list-style-type: none;
    padding-left: 0;
}

.issue-item li {
    padding: 8px 0;
    border-bottom: 1px solid #eaeaea;
    position: relative;
    padding-left: 20px;
}

.issue-item li:before {
    content: "•";
    color: #2c5a8a;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.issue-item li:last-child {
    border-bottom: none;
}

/* Tools Section */
.tools-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.tools-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tool-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a3a5f;
}

.tool-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #666;
}

.tool-button {
    padding: 12px 25px;
    background: #2c5a8a;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tool-button:hover {
    background: #1a3a5f;
}

/* Support Section */
.support-section {
    padding: 80px 0;
    background: white;
}

.support-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.support-content {
    text-align: center;
}

.support-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #1a3a5f;
}

.support-content p {
    font-size: 1.1rem;
    margin-bottom: 50px;
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.support-option {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.support-option:hover {
    transform: translateY(-5px);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.support-option h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a3a5f;
}

.support-option p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #666;
}

.support-link {
    display: inline-block;
    padding: 10px 20px;
    background: #2c5a8a;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.support-link:hover {
    background: #1a3a5f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .troubleshoot-header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .troubleshoot-header .header-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .troubleshoot-header h1 {
        font-size: 2.5rem;
    }
    
    .troubleshoot-header .header-subtitle {
        font-size: 1.3rem;
    }
    
    .content-text h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .support-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .troubleshoot-header h1 {
        font-size: 2rem;
    }
    
    .troubleshoot-header .header-subtitle {
        font-size: 1.1rem;
    }
    
    .troubleshoot-grid,
    .issues-grid,
    .tools-grid,
    .support-options {
        grid-template-columns: 1fr;
    }
}

/* Header Image - Medium/Fit Size without outline */
.troubleshoot-header .header-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    width: 100%;
    max-width: 280px; /* Medium size */
    height: 210px; /* Fit size */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Shows full image without cropping */
    transition: transform 0.6s ease;
}

.header-img:hover {
    transform: scale(1.04);
}

/* Remove the old image-placeholder styles */
.troubleshoot-header .image-placeholder {
    display: none;
}

/* Responsive adjustments for the image */
@media (max-width: 768px) {
    .image-container {
        max-width: 240px; /* Medium size for tablet */
        height: 180px;
    }
}

@media (max-width: 480px) {
    .image-container {
        max-width: 200px; /* Medium size for mobile */
        height: 150px;
    }
}


/* Header Image - Slightly Larger Medium/Fit Size without outline */
.troubleshoot-header .header-image {
    flex: 0 0 320px; /* Increased from 300px */
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    width: 100%;
    max-width: 320px; /* INCREASED from 280px to 320px */
    height: 300px; /* INCREASED from 210px to 240px */
   
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Shows full image without cropping */
    transition: transform 0.6s ease;
}

.header-img:hover {
    transform: scale(1.04);
}

/* Remove the old image-placeholder styles */
.troubleshoot-header .image-placeholder {
    display: none;
}

/* Responsive adjustments for the image */
@media (max-width: 768px) {
    .image-container {
        max-width: 280px; /* INCREASED from 240px to 280px */
        height: 210px; /* INCREASED from 180px to 210px */
    }
}

@media (max-width: 480px) {
    .image-container {
        max-width: 240px; /* INCREASED from 200px to 240px */
        height: 180px; /* INCREASED from 150px to 180px */
    }
}