/* Digiframe.nl Stylesheet */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: #f8f9fa;
}

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

/* Hero Section */
/* Language Selector */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.custom-select {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 140px;
}

.custom-select:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.selected-language {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    justify-content: center;
}

.flag-icon {
    width: 24px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 2px;
}


.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.custom-select.open .language-dropdown {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.language-option:hover {
    background-color: #f8f9fa;
}

.hero {
    background: #e3f0fa;
    color: #212529;
    padding: 24px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}
.hero-logo {
    height: 80px;
    width: auto;
    margin-bottom: 10px;
}
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #db3434;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(219, 52, 52, 0.15);
    opacity: 0.8;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(219, 52, 52, 0.25);
    opacity: 1;
}

/* Microsoft Stack Visualization */
.tech-stack {
    padding: 12px 0;
    background: white;
}

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

.tech-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    border: 1px solid #e3f0fa;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #db3434, #4682b4);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: #e3f0fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4682b4;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
}

.tech-icon.dotnet {
    background-image: url('images/dotnet_icon.svg');
}

.tech-icon.cloud {
    background-image: url('images/azure_cloud_icon.svg');
}

.tech-icon.database {
    background-image: url('images/sql_server_icon.svg');
}

.tech-icon.web {
    background-image: url('images/web_development_icon.svg');
}

/* Hide emoji text when SVG loads successfully */
@supports (background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"></svg>')) {
    .tech-icon {
        font-size: 0;
    }
}

.tech-card h3 {
    color: #212529;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tech-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Client Testimonials */
.testimonials {
    padding: 12px 0;
    background: #f8f9fa;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.testimonial {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
    position: relative;
    border-left: 5px solid #4682b4;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: #4682b4;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    color: #495057;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-logo {
    height: 30px;
    width: auto;
}

.testimonial-author {
    font-weight: 600;
    color: #db3434;
    font-size: 1.1rem;
}

.testimonial-company {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.testimonial .author-info {
    margin-top: 10px;
    color: #db3434;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.testimonial .author-info strong {
    font-weight: 600;
    color: #db3434;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.testimonial-footer .testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.testimonial-footer .testimonial-btn {
    margin-top: 0;
}

/* Testimonial Button */
.testimonial-btn {
    background: #db3434;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(219, 52, 52, 0.3);
    opacity: 0.5;
}

.testimonial-btn:hover {
    background: #aa0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(219, 52, 52, 0.4);
    opacity: 1;
}

/* Testimonial Modal */
.testimonial-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 60px 40px 40px 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: linear-gradient(135deg, #db3434 0%, #aa0000 100%);
    border: 2px solid #db3434;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(219, 52, 52, 0.2);
    backdrop-filter: blur(10px);
    font-weight: 300;
    line-height: 1;
    z-index: 10;
}

.modal-close:hover {
    color: white;
    background: linear-gradient(135deg, #aa0000 0%, #db3434 100%);
    border-color: #aa0000;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(219, 52, 52, 0.4);
}

.modal-close:active {
    transform: scale(0.95);
}

.modal-testimonial {
    position: relative;
    padding-left: 20px;
}

.modal-testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 4rem;
    color: #4682b4;
    opacity: 0.2;
    font-family: serif;
}

.modal-testimonial .testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.modal-testimonial .testimonial-logo {
    height: 40px;
    margin-bottom: 5px;
}

.modal-testimonial .testimonial-company {
    font-size: 1rem;
    margin-bottom: 0;
}

.modal-testimonial .testimonial-author {
}

.modal-testimonial .author-info {
    margin-top: 10px;
    color: #db3434;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.modal-testimonial .author-info strong {
    font-weight: 600;
    color: #db3434;
}

.modal-testimonial .author-info .company-name {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 500;
}

/* Responsive Design for Modals */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 50px 20px 30px 20px;
        width: 95%;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .modal-testimonial .testimonial-text {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .modal-testimonial .testimonial-logo {
        height: 35px;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 1.4rem;
        width: 40px;
        height: 40px;
    }
    
    .testimonial-btn {
        padding: 12px 18px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 5% auto;
        padding: 45px 15px 25px 15px;
        width: 98%;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-testimonial .testimonial-text {
        font-size: 1rem;
    }
    
    .modal-close {
        top: 8px;
        right: 12px;
        font-size: 1.2rem;
        width: 35px;
        height: 35px;
    }
}

/* AI Development Section */
.ai-development {
    padding: 12px 0;
    background: #f8f9fa;
}

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

.ai-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    border: 1px solid #e3f0fa;
    position: relative;
    overflow: hidden;
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #db3434, #4682b4);
}

.ai-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.ai-card .ai-icon {
    width: 60px;
    height: 60px;
    background: #e3f0fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4682b4;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 1px;
    background-size: cover;
    background-position: center;
}

/* Specific icon for faster development */
.ai-card:first-child .ai-icon {
    background-image: url('images/fast_development_icon.svg');
    font-size: 0; /* Hide text when SVG loads */
}

/* Specific icon for lower costs */
.ai-card:nth-child(2) .ai-icon {
    background-image: url('images/lower_costs_icon.svg');
    font-size: 0; /* Hide text when SVG loads */
}

/* Specific icon for faster time-to-market */
.ai-card:nth-child(3) .ai-icon {
    background-image: url('images/faster_time_to_market_icon.svg');
    font-size: 0; /* Hide text when SVG loads */
}

.ai-card h3 {
    color: #212529;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.ai-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Responsive AI Section */
@media (max-width: 768px) {
    .ai-grid {
        grid-template-columns: 1fr;
    }
}

/* Services Section */
.services {
    padding: 12px 0;
    background: white;
}

.service-cards {
    display: grid;
    background: #e3f0fa;
    gap: 16px;
    margin-top: 16px;
}

.service-card {
    background: #fff;
    color: #212529;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e3f0fa;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: all 0.3s ease;
    transform: scale(0);
}

.service-card:hover::before {
    transform: scale(1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.service-number {
    font-size: 3rem;
    font-weight: 700;
    opacity: 0.8;
    margin-bottom: 8px;
    color: #aa0000;
}

.service-card h3 {
    color: #4682b4;
    margin-bottom: 8px;
}

.service-card p {
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Process Flow */
.process {
    padding: 80px 0;
    background: #f8f9fa;
}

.process-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.process-step::after {
    content: '→';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #4682b4;
    opacity: 0.4;
}

.process-step:last-child::after {
    display: none;
}

.process-step h3 {
    color: #212529;
    margin-bottom: 15px;
    font-size: 1.3rem;
    height: 3.2rem; /* Fixed height for consistent alignment */
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step p {
    height: 4.5rem; /* Fixed height for consistent alignment */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.4;
    text-align: center;
}

.process-circle {
    width: 80px;
    height: 80px;
    background: #e3f0fa;
    box-shadow: 0 8px 25px rgba(70, 130, 180, 0.10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4682b4;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #212529;
    margin-top: 0.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-selector {
        top: 15px;
        right: 15px;
    }
    
    .selected-language {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .flag-icon {
        width: 20px;
        height: 13px;
        margin-right: 6px;
        object-fit: cover;
        border-radius: 2px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-logo {
    height: 60px;
    }
    .process-flow {
        flex-direction: column;
    }
    
    .process-step::after {
        display: none;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-logo {
        height: 30px;
    }
    .service-cards {
        grid-template-columns: 1fr;
    }
}

a {
    color: #4682b4;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #db3434;
}

/* Contact Form */
/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

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

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #db3434;
}

.faq-question {
    padding: 18px 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    margin: 0;
    color: #212529;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.faq-icon {
    font-size: 1.5rem;
    color: #db3434;
    font-weight: bold;
    transition: transform 0.3s ease;
    min-width: 20px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 18px 20px;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}

.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info h3 {
    color: #212529;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info p {
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #495057;
}

.contact-item strong {
    color: #212529;
    min-width: 100px;
}

.contact-item a {
    color: #db3434;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: #aa0000;
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.pdf-link:hover {
    transform: scale(1.1);
}

.pdf-icon {
    width: 20px;
    height: 20px;
    margin-left: 5px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
    border-left: 5px solid #db3434;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #212529;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e3f0fa;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #212529;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #db3434;
    box-shadow: 0 0 0 3px rgba(219, 52, 52, 0.1);
}

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

.submit-btn {
    background: #db3434;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(219, 52, 52, 0.3);
    width: 100%;
    position: relative;
}

.submit-btn:hover {
    background: #aa0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(219, 52, 52, 0.4);
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline;
}

/* reCAPTCHA styling */
.g-recaptcha {
    margin-bottom: 20px;
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 0.9rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-info h3 {
        font-size: 1.3rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .contact-item strong {
        min-width: auto;
    }
}