/* Blufox Technologies Style Information */

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    background: #f7f9fb;
    color: #222;
}

/* Cookie Banner Styles */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 51, 102, 0.96);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #00bfff;
}

#cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #00bfff;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

.cookie-banner-text a {
    color: #00bfff;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: white;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: #00bfff;
    color: #003366;
}

.cookie-btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
}

.cookie-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Mobile responsiveness for cookie banner */
@media (max-width: 768px) {
    #cookie-banner {
        padding: 1.2rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .cookie-banner-text {
        min-width: auto;
        text-align: center;
    }
    
    .cookie-banner-buttons {
        justify-content: center;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    #cookie-banner {
        padding: 1rem;
    }
    
    .cookie-banner-text h3 {
        font-size: 1rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.85rem;
    }
    
    .cookie-btn {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
}

main {
    margin: 0.5rem auto;
    padding: 2rem 3rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
header {
    background: #003366;
    color: #fff;
    padding: 0.25rem 0;
}

.site-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-left: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Content styling for detailed sections */
.services-content h3,
.solutions-content h3,
.tech-content h3,
.about-content h3,
.insights-content h3 {
    color: #003366;
    margin-bottom: 0.8rem;
    margin-top: 2rem;
    font-size: 1.12rem;
    line-height: 1.3;
}

.services-content h4,
.solutions-content h4,
.tech-content h4,
.about-content h4,
.insights-content h4 {
    color: #003366;
    margin-bottom: 0.6rem;
    margin-top: 1.5rem;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

.services-content,
.solutions-content,
.tech-content,
.about-content,
.insights-content {
    line-height: 1.7;
    font-size: 0.9rem;
}

.services-content p,
.solutions-content p,
.tech-content p,
.about-content p,
.insights-content p {
    margin-bottom: 1.5rem;
}

.services-content ul,
.solutions-content ul,
.tech-content ul,
.about-content ul,
.insights-content ul {
    margin-bottom: 1.5rem;
}

.services-content li,
.solutions-content li,
.tech-content li,
.about-content li,
.insights-content li {
    margin-bottom: 0.8rem;
}

.tech-content p strong {
    color: #003366;
    font-weight: 600;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    height: 48px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

/* Mobile menu styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    margin-left: 1rem;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        gap: 1rem;
        background: #003366;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 2rem 1.5rem;
        z-index: 100;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        box-sizing: border-box;
    }
    nav ul.open {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .section {
        padding: 2rem 0 1rem 0;
        margin: 0.5rem 0;
    }
    main {
        padding: 1rem;
        margin: 0.25rem auto;
    }
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
nav a:hover {
    color: #00bfff;
}
.section {
    padding: 2.8rem 3rem;
    border-bottom: 1px solid #e0e6ed;
        margin: 1rem 0;
        border-radius: 12px;
        background: #f2f6fa;
        box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
h2 {
    color: #003366;
    margin-bottom: 1.6rem;
    font-size: 1.8rem;
    line-height: 1.3;
}
/* Contact page layout */
.contact-container {
    display: flex;
    gap: 3rem;
    margin-top: 1.5rem;
    align-items: flex-start;
}

.contact-form-container {
    flex: 1;
    max-width: 500px;
    background: #f8fafe;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.contact-form label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}
.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #b0c4de;
    border-radius: 4px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-form button {
    background: #003366;
    color: #fff;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-form button:hover {
    background: #00bfff;
}

/* Contact information styling */
.contact-info {
    flex: 1;
    background: #f8fafe;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
    max-width: 350px;
}

.contact-info h3 {
    color: #003366;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.info-section {
    margin-bottom: 2rem;
}

.info-section h4 {
    color: #003366;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
    font-weight: 600;
}

.address-info, .contact-number, .company-number {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.6;
}

.address-info div, .contact-number div, .company-number div {
    margin-bottom: 0.2rem;
}

/* Mobile responsiveness for contact page */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-form-container,
    .contact-info {
        max-width: 100%;
        padding: 1.5rem;
    }
}

/* reCAPTCHA styling */
.recaptcha-container {
    margin: 1rem 0;
    text-align: center;
}

.recaptcha-note {
    display: block;
    margin-top: 0.3rem;
    color: #666;
    font-size: 0.8rem;
    line-height: 1.4;
}

.recaptcha-note a {
    color: #003366;
    text-decoration: none;
}

.recaptcha-note a:hover {
    text-decoration: underline;
}

/* Center the reCAPTCHA widget */
.g-recaptcha {
    display: inline-block;
}

/* Accordion styles */
.accordion-container {
    margin-top: 2rem;
}

.accordion-item {
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.accordion-item.active {
    border-color: #003366;
    box-shadow: 0 4px 12px rgba(0,51,102,0.15);
}

.accordion-header {
    padding: 1.1rem;
    background: #f7f9fb;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #f0f4f8;
}

.accordion-item.active .accordion-header {
    background: #e8f2ff;
}

.accordion-header h3 {
    margin: 0 0 0.4rem 0;
    color: #003366;
    font-size: 1.075rem;
    padding-right: 1.1rem;
    line-height: 1.2;
}

.accordion-subtitle {
    margin: 0;
    color: #666;
    font-size: 0.912rem;
    line-height: 1.3;
    font-style: italic;
}

.accordion-icon {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    font-size: 1.152rem;
    font-weight: bold;
    color: #003366;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 1.6rem;
    background: #fff;
    border-top: 1px solid #e0e6ed;
    line-height: 1.6;
}

.accordion-content p {
    margin-bottom: 1.2rem;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .accordion-header {
        padding: 0.8rem;
    }
    
    .accordion-header h3 {
        font-size: 0.922rem;
        padding-right: 0.8rem;
        line-height: 1.2;
    }
    
    .accordion-subtitle {
        font-size: 0.691rem;
        line-height: 1.3;
    }
    
    .accordion-icon {
        top: 0.8rem;
        right: 0.8rem;
        font-size: 0.998rem;
    }
    
    .accordion-content {
        padding: 1.2rem;
    }
}
/* Section image styling */
.section-image {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
footer {
    background: #003366;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* Landing page navigation links */
.landing-link {
    display: inline-block;
    background: #003366;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s, color 0.2s;
}
.landing-link:hover {
    background: #00bfff;
    color: #003366;
}

/* Home page hero section with background */
.home-hero {
    background-image: url('images/home.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 400px;
    text-align: left;
    padding: 3.2rem 2.4rem;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    flex: 1;
    max-width: 60%;
    padding-right: 2.4rem;
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
}

.hero-content h1 {
    font-size: 2.24rem;
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.04rem;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin-bottom: 0;
}

.hero-navigation {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.96rem;
    max-width: 256px;
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
    padding-left: 1.6rem;
}

/* Pyramid staircase effect for navigation buttons (only on larger screens) */
.hero-navigation a:nth-child(1) { margin-left: 0; }
.hero-navigation a:nth-child(2) { margin-left: 0.8rem; }
.hero-navigation a:nth-child(3) { margin-left: 1.6rem; }
.hero-navigation a:nth-child(4) { margin-left: 0.8rem; }
.hero-navigation a:nth-child(5) { margin-left: 0; }
.hero-navigation a:nth-child(6) { margin-left: -0.8rem; }

/* Reset pyramid effect on tablets and smaller */
@media (max-width: 1024px) {
    .hero-navigation a:nth-child(1),
    .hero-navigation a:nth-child(2),
    .hero-navigation a:nth-child(3),
    .hero-navigation a:nth-child(4),
    .hero-navigation a:nth-child(5),
    .hero-navigation a:nth-child(6) {
        margin-left: 0;
    }
}

.home-hero .landing-link {
    background: rgba(0, 51, 102, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: 144px;
    text-align: center;
}

.home-hero .landing-link:hover {
    background: rgba(0, 191, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.4);
}

/* Mobile responsiveness for home hero */
@media (max-width: 768px) {
    .home-hero {
        flex-direction: column;
        text-align: center;
        min-height: 480px;
        justify-content: center;
        padding: 2.4rem 1.2rem;
    }
    
    .hero-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 2.4rem;
        margin-top: 0.8rem;
    }
    
    .hero-content h1 {
        font-size: 1.76rem;
    }
    
    .hero-content p {
        font-size: 0.88rem;
    }
    
    .hero-navigation {
        max-width: 100%;
        align-items: center;
        padding-left: 0;
        margin-top: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .home-hero .landing-link {
        width: 176px;
        text-align: center;
    }
}

/* Insight box styling for better responsiveness */
.insight-box {
    margin-top: 8rem;
    width: 45%;
    min-width: 280px;
    max-width: 400px;
    background: white;
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 1200px) {
    .insight-box {
        width: 50%;
        min-width: 260px;
    }
}

@media (max-width: 768px) {
    .insight-box {
        width: 85%;
        min-width: 240px;
        margin-top: 4rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .insight-box {
        width: 95%;
        min-width: 200px;
        margin-top: 3rem;
        padding: 0.8rem;
    }
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: rgba(242, 246, 250, 0.8);
    padding: 0.8rem 0;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(224, 230, 237, 0.6);
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    margin: 0;
}

.breadcrumb a {
    color: #003366;
    text-decoration: none;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.breadcrumb a:hover {
    color: #00bfff;
    background: rgba(0, 191, 255, 0.1);
}

.breadcrumb .current {
    color: #666;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #999;
    margin: 0 0.3rem;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .breadcrumb-container {
        padding: 0 1rem;
    }
    
    .breadcrumb {
        margin-bottom: 0.5rem;
    }
    
    .breadcrumb ol {
        font-size: 0.8rem;
    }
}

/* 404 Error Page Styling */
.error-404 {
    text-align: center;
    padding: 3rem 2rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-graphic {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.error-number {
    font-size: 6rem;
    font-weight: 800;
    color: #003366;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 51, 102, 0.1);
}

.error-icon {
    color: #00bfff;
    opacity: 0.8;
}

.error-404 h1 {
    color: #003366;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.error-404 h2 {
    color: #666;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.error-message {
    margin-bottom: 2.5rem;
}

.error-message p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.primary-button, .secondary-button {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
}

.primary-button {
    background: #003366;
    color: white;
}

.primary-button:hover {
    background: #00bfff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
}

.secondary-button {
    background: transparent;
    color: #003366;
    border-color: #003366;
}

.secondary-button:hover {
    background: #003366;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}

.error-suggestions {
    border-top: 1px solid #e0e6ed;
    padding-top: 2rem;
    margin-top: 2rem;
}

.error-suggestions h3 {
    color: #003366;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.suggestion-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.suggestion-link {
    display: block;
    padding: 1rem;
    background: rgba(242, 246, 250, 0.6);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(224, 230, 237, 0.6);
}

.suggestion-link:hover {
    background: rgba(0, 191, 255, 0.1);
    border-color: #00bfff;
    transform: translateY(-2px);
}

.suggestion-link strong {
    display: block;
    color: #003366;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.suggestion-link span {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .error-404 {
        padding: 2rem 1rem;
        min-height: 50vh;
    }
    
    .error-number {
        font-size: 4rem;
    }
    
    .error-404 h1 {
        font-size: 1.8rem;
    }
    
    .error-404 h2 {
        font-size: 1.1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-button, .secondary-button {
        width: 200px;
        text-align: center;
    }
    
    .suggestion-links {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}
