/* Industry Pages Specific Styles */

/* Navigation Styles */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: #0a2540;
    color: white;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links li:last-child {
    margin-left: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #cae9ff;
}

.cta-button {
    background-color: #d00;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    display: inline-block;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0;
}

.cta-button:hover {
    background-color: #ff0000;
    color: white;
}

/* Specific style for the Schedule Your Demo button in industry header */
.industry-header-content .cta-button {
    background-color: #d00;
    color: white;
    border: 2px solid #d00;
}

.industry-header-content .cta-button:hover {
    background-color: #ff0000;
    color: white;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid #1b4965;
    color: #1b4965;
}

.cta-button.secondary:hover {
    background-color: rgba(27, 73, 101, 0.1);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
    height: 100%;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #0a2540;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3), 0 0 0 1px rgba(255, 255, 255, 0.15);
    z-index: 1000;
    border-radius: 5px;
    top: 100%;
    left: 0;
    padding: 8px 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2px);
}

.dropdown-content a {
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9em;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.dropdown-content a:hover, .dropdown-content a.active {
    background-color: rgba(221, 0, 0, 0.8);
    border-left: 3px solid #ff3333;
    padding-left: 25px;
}

.dropdown-content {
    display: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}



/* Add a small arrow indicator for the dropdown */
.dropdown > a::after {
    content: '';
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Industry Header */
.industry-header {
    display: flex;
    align-items: center;
    padding: 60px 40px;
    background-color: #f0f2f5;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23003366' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    flex-wrap: wrap;
}

.industry-header-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.industry-header-content h1 {
    font-size: 2.5em;
    color: #003366;
    margin-bottom: 20px;
}

.industry-header-content p {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.industry-header-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    min-height: 300px;
    position: relative;
    aspect-ratio: 16/9;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.industry-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    display: block;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

/* Industry Challenges Section */
.industry-challenges {
    padding: 60px 40px;
    background-color: #fff;
}

.industry-challenges h2 {
    text-align: center;
    color: #003366;
    font-size: 2em;
    margin-bottom: 40px;
    position: relative;
}

.industry-challenges h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #003366;
    border-radius: 2px;
}

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

.challenge-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.challenge-card h3 {
    color: #003366;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.challenge-card p {
    color: #555;
    line-height: 1.6;
}

/* Industry Solution Section */
.industry-solution {
    padding: 60px 40px;
    background-color: #f0f2f5;
}

.industry-solution h2 {
    text-align: center;
    color: #003366;
    font-size: 2em;
    margin-bottom: 40px;
    position: relative;
}

.industry-solution h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #003366;
    border-radius: 2px;
}

.solution-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.solution-text {
    flex: 1;
    min-width: 300px;
}

.solution-text h3 {
    color: #1b4965;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.solution-text p {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.solution-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
    aspect-ratio: 16/9;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.solution-img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    object-fit: cover;
    display: block;
}

/* Case Study Highlight */
.case-study-highlight {
    padding: 60px 40px;
    background-color: #fff;
}

.case-study-highlight h2 {
    text-align: center;
    color: #003366;
    font-size: 2em;
    margin-bottom: 40px;
    position: relative;
}

.case-study-highlight h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #003366;
    border-radius: 2px;
}

.case-study-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.case-study-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
    aspect-ratio: 16/9;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.case-img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    object-fit: cover;
    display: block;
}

.case-study-text {
    flex: 1;
    min-width: 300px;
}

.case-study-text h3 {
    color: #1b4965;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.case-study-text p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.case-results {
    list-style-type: none;
    padding: 0;
    margin-bottom: 25px;
}

.case-results li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #333;
    position: relative;
    padding-left: 25px;
}

.case-results li::before {
    content: '✓';
    color: #1b4965;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.download-link {
    display: inline-block;
    color: #1b4965;
    text-decoration: none;
    font-weight: 600;
    padding: 5px 0;
    border-bottom: 2px solid #1b4965;
    transition: all 0.3s ease;
}

.download-link:hover {
    color: #003366;
    border-bottom-color: #003366;
}

/* FAQ Section */
.faq-section {
    padding: 60px 40px;
    background-color: #f0f2f5;
}

.faq-section h2 {
    text-align: center;
    color: #003366;
    font-size: 2em;
    margin-bottom: 40px;
    position: relative;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #003366;
    border-radius: 2px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background-color: #fff;
}

.faq-question {
    padding: 20px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #003366;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5em;
    color: #1b4965;
    font-weight: bold;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8f9fa;
}

.faq-answer p {
    padding: 20px 0;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 60px 40px;
    background-color: #003366;
    color: white;
    text-align: center;
    border-radius: 10px;
    margin: 40px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.cta-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.response-promise {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #001a33;
    color: white;
    padding: 60px 40px 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.3em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #1b4965;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #cae9ff;
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

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

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9em;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-nav {
        padding: 15px 20px;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        height: 0;
        width: 100%;
        background-color: #003366;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        transition: height 0.3s ease;
        z-index: 99;
    }
    
    .nav-links.active {
        height: calc(100vh - 60px);
        padding: 20px 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .dropdown-content {
        position: static;
        background-color: transparent;
        box-shadow: none;
        display: none;
        padding-left: 20px;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .industry-header, 
    .industry-challenges, 
    .industry-solution, 
    .case-study-highlight, 
    .faq-section {
        padding: 40px 20px;
    }
    
    .industry-header-content,
    .solution-text,
    .case-study-text {
        padding-right: 0;
    }
    
    .cta-section {
        margin: 20px;
        padding: 40px 20px;
    }
    
    footer {
        padding: 40px 20px 20px;
    }
}
