/* Base Layout */
.vertical-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vertical-stack-item {
    height: 100%;
    width: 100%;
}

.alternating-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

.midaligned {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Theme Colors */
.lightTheme {
    background-color: whitesmoke;
    color: #404030;
}

.darkTheme {
    background: linear-gradient(160deg, #506070 0%, #3a4a5a 40%, #2a3540 100%);
    color: whitesmoke;
}

/* Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    background-color: whitesmoke;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 0.3em;
}

h2 {
    font-size: 1.8em;
    font-weight: 500;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 1.4em;
    font-weight: 500;
    margin-bottom: 0.5em;
}

ul {
    padding-inline-start: 0;
    padding-left: 1.2em;
}

ul li {
    list-style-type: disc;
    margin-bottom: 1em;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #455565 0%, #2d3a47 100%);
    color: whitesmoke;
    padding: 60px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero .brand {
    font-size: 2.8em;
    font-weight: 500;
    margin-bottom: 0.2em;
    letter-spacing: 1px;
}

.hero .brand .logo-slashes {
    color: #8b2323;
    font-size: 1.3em;
    margin-right: 0.1em;
    font-weight: 300;
}

.hero .tagline {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: 2.5em;
    opacity: 0.95;
}

.hero .subtagline {
    font-size: 1.1em;
    font-weight: 300;
    opacity: 0.85;
    margin-bottom: 1.5em;
}

.hero .problem-statement {
    font-size: 1.2em;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 2em;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #e67e22;
    color: white;
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

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

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

/* Services Section */
.services-section {
    padding: 50px 20px;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 1.5em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.services-grid-5 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
}

@media (max-width: 900px) {
    .services-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .services-grid-5 {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-grid-5 .service-card {
    padding: 20px;
}

.services-grid-5 .service-card ul {
    font-size: 0.95em;
}

.services-grid-5 .service-card li {
    margin-bottom: 0.6em;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    color: #e67e22;
    margin-bottom: 15px;
}

.service-icon svg {
    display: block;
}

.service-card h3 {
    color: #455565;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e67e22;
}

.service-card ul {
    margin: 0;
}

.service-card-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
    border: 2px dashed #e67e22;
}

.service-card-cta .cta-text {
    flex-grow: 1;
    margin: 0 0 1em 0;
}

.cta-button-small {
    display: inline-block;
    background-color: #e67e22;
    color: white;
    padding: 10px 20px;
    font-size: 0.95em;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button-small:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

.service-card li {
    margin-bottom: 0.8em;
}

/* Trust/Experience Section */
.trust-section {
    padding: 50px 20px;
}

.trust-section h2 {
    text-align: center;
    margin-bottom: 1em;
}

.trust-content {
    max-width: 900px;
    margin: 0 auto;
}

.experience-highlight {
    text-align: center;
    font-size: 1.3em;
    font-weight: 500;
    margin-bottom: 1.5em;
    color: whitesmoke;
}

.experience-highlight span {
    font-size: 1.5em;
    font-weight: 700;
    color: #e67e22;
}

.references-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2em 0;
}

.references-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    list-style-type: none;
    padding-left: 25px;
    position: relative;
}

.references-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #e67e22;
    font-weight: bold;
}

/* Technology Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 1.5em;
}

.badge {
    background-color: rgba(255, 255, 255, 0.15);
    color: whitesmoke;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: 400;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* About Section */
.about-section {
    padding: 50px 20px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 1em;
}

/* Contact Section */
.contact-section {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(160deg, #3a4550 0%, #2a3540 40%, #1a2530 100%);
}

.contact-section h2 {
    margin-bottom: 0.5em;
}

.contact-section p {
    margin-bottom: 1.5em;
}

.contact-email {
    font-size: 1.3em;
    font-weight: 500;
}

.contact-email a {
    color: #e67e22;
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 30px 20px;
    background-color: #2d3a47;
    color: rgba(255, 255, 255, 0.8);
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer h3 {
    color: whitesmoke;
    font-size: 1.1em;
    margin-bottom: 0.8em;
}

.footer p {
    margin: 0.3em 0;
    font-size: 0.95em;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer a:hover {
    color: whitesmoke;
    text-decoration: underline;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.language-switcher a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.language-switcher a:hover,
.language-switcher a.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: whitesmoke;
}

/* Language Selection Page */
.language-selection {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #455565 0%, #2d3a47 100%);
    color: whitesmoke;
    text-align: center;
    padding: 20px;
}

.language-selection h1 {
    margin-bottom: 0.5em;
}

.language-selection .logo-slashes {
    color: #8b2323;
    font-size: 1.3em;
    margin-right: 0.1em;
}

.language-selection p {
    margin-bottom: 2em;
    opacity: 0.9;
}

.language-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.language-option {
    display: block;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: whitesmoke;
    padding: 20px 40px;
    font-size: 1.2em;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.language-option:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Section Spacing */
section {
    padding: 40px 0;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .hero .brand {
        font-size: 2em;
    }

    .hero .tagline {
        font-size: 1.2em;
    }

    .hero .subtagline {
        font-size: 1em;
    }

    h2 {
        font-size: 1.5em;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .language-switcher {
        justify-content: center;
    }
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 0 auto 2em auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.2em;
}

.form-group label {
    display: block;
    margin-bottom: 0.4em;
    font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    font-size: 1em;
    font-family: inherit;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: whitesmoke;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f5f5f5' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-group select option {
    background-color: #455565;
    color: whitesmoke;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group-half {
    flex: 1;
    margin-bottom: 1.2em;
}

@media (max-width: 500px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #e67e22;
    background-color: rgba(255, 255, 255, 0.15);
}

.contact-form button[type="submit"] {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* Success/Thank You Page */
.success-page {
    min-height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #455565 0%, #2d3a47 100%);
    color: whitesmoke;
    padding: 40px 20px;
}

.success-content {
    max-width: 600px;
    text-align: center;
}

.success-icon {
    font-size: 4em;
    color: #27ae60;
    margin-bottom: 0.3em;
    background-color: rgba(39, 174, 96, 0.15);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    margin: 0 auto 0.5em auto;
}

.success-page h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.success-message {
    font-size: 1.2em;
    opacity: 0.95;
    margin-bottom: 2em;
}

.next-steps {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 2em;
    text-align: left;
}

.next-steps h2 {
    font-size: 1.3em;
    margin-bottom: 0.8em;
    text-align: center;
}

.next-steps ol {
    margin: 0;
    padding-left: 1.5em;
}

.next-steps li {
    margin-bottom: 0.8em;
    list-style-type: decimal;
}

.success-actions {
    margin-bottom: 2em;
}

.success-actions .cta-button-secondary {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
}

.success-contact {
    font-size: 0.95em;
    opacity: 0.85;
}

.success-contact a {
    color: #e67e22;
    text-decoration: none;
}

.success-contact a:hover {
    text-decoration: underline;
}
