/* ===========================
   Logo CSS (Stitch)
=========================== */
.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1;
}

.brand-icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #00F0FF;
    border-radius: 0.75rem;
    position: relative;
    flex-shrink: 0;
}

.brand-icon-text {
    color: #00F0FF;
    font-size: 1.25rem;
    font-weight: 800;
}

.brand-icon-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #00F0FF;
    border-radius: 50%;
}

.brand-icon-dot.top-right {
    top: 4px;
    right: 4px;
}

.brand-icon-dot.bottom-left {
    bottom: 4px;
    left: 4px;
}

/* Base text style (uppercase, bold) */
.brand-text-wrapper {
    display: flex;
    align-items: baseline;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    color: #ffffff;
    /* Default to WHITE for transparent/dark header */
    margin-left: 0.5rem;
    transition: color 0.3s ease;
    /* Smooth transition */
}

/* Sticky Header State: Change text to Dark Blue */
.header.sticky .brand-text,
.navbar-area.sticky .brand-text {
    color: #24126A;
}

/* Footer override: Ensure white text */
.footer .brand-text {
    color: #ffffff !important;
}

.footer .brand-logo-container .brand-text {
    color: #ffffff;
}

.footer .single-footer.f-about p {
    margin-top: 20px;
}

.brand-text .highlight {
    color: #00F0FF;
}

/* ===========================
   Contact Section Redesign
=========================== */
.contact-section-redesign {
    padding: 100px 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc;
    /* Light Clean Background */
}

/* Left components */
.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #24126A;
    /* Navy Dark */
}

.contact-hero-text {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 90%;
}

/* Brochure Card */
.brochure-card {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    max-width: 400px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-decoration: none;
    /* Ensure link doesn't have underline */
}

.brochure-card:hover {
    border-color: #00F0FF;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

.brochure-icon {
    font-size: 2.5rem;
    color: #24126A;
    margin-right: 1.5rem;
    display: flex;
    /* proper icon alignment */
}

.brochure-info h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #24126A;
    margin-bottom: 0.25rem;
}

.brochure-info span {
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* Right Form Area */
.contact-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.contact-tab-link {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    background: none;
    border: none;
    padding: 0 0 1rem 0;
    cursor: pointer;
    position: relative;
    margin-bottom: -1px;
    /* Overlap border */
    transition: color 0.3s;
    text-decoration: none;
}

.contact-tab-link:hover {
    color: #24126A;
}

.contact-tab-link.active {
    color: #24126A;
}

.contact-tab-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #24126A;
}


/* Form Inputs */
.custom-form-group {
    margin-bottom: 1.5rem;
}

.custom-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.custom-input {
    width: 100%;
    background-color: #f1f5f9;
    /* Slightly darker input bg */
    border: 1px solid transparent;
    border-bottom: 2px solid #cbd5e1;
    /* Underline style */
    border-radius: 4px 4px 0 0;
    padding: 12px 16px;
    font-size: 1rem;
    color: #1e293b;
    transition: all 0.3s;
}

.custom-input:focus {
    outline: none;
    border-bottom-color: #24126A;
    background-color: #e2e8f0;
}

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

.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    display: block;
}


/* Submit Button */
.submit-btn-arrow {
    background-color: #0f172a;
    /* Black/Dark Navy */
    color: #ffffff;
    border: none;
    padding: 16px 48px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    /* Sharp or slight radius */
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    float: right;
}

.submit-btn-arrow:hover {
    background-color: #00F0FF;
    color: #0B0B47;
    transform: translateX(4px);
}

/* ===========================
   Locations Section
=========================== */
.locations-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-title-center {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-center h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #24126A;
    margin-bottom: 1rem;
}

.section-title-center p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Location Card (Left) */
.location-overview {
    padding-right: 2rem;
}

.location-image {
    width: 100%;
    height: 240px;
    background-color: #e2e8f0;
    /* Placeholder color */
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    /* Use a gradient placeholder if image missing */
    background-image: linear-gradient(135deg, #f6f8f9 0%, #e5ebee 100%);
}

.country-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.country-flag {
    width: 40px;
    height: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.country-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #24126A;
    text-transform: uppercase;
    margin: 0;
}

.address-block {
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
    border-left: 4px solid #00F0FF;
    /* Brand accent */
    padding-left: 1rem;
}

.address-block strong {
    display: block;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Contact Grid (Right) */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-card {
    background-color: #f8fafc;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #00F0FF;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.contact-card-icon {
    font-size: 2.5rem;
    color: #24126A;
    margin-bottom: 1.5rem;
    display: block;
}

.contact-card-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.contact-card-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    word-break: break-all;
}

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

    .location-overview {
        padding-right: 0;
        margin-bottom: 3rem;
    }
}

/* ===========================
   Software Development Page Inspired
=========================== */
.service-hero-section {
    padding: 120px 0 80px;
    background-color: #ffffff;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #24126A;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Service Cards Grid */
.service-card-inspired {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    border: 1px solid #f1f5f9;
    margin-bottom: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    top: 0;
}

.service-card-inspired:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.card-header-gradient {
    height: 6px;
    width: 100%;
}

.card-content {
    padding: 35px 30px;
}

.icon-box {
    transition: transform 0.3s ease;
}

.service-card-inspired:hover .icon-box {
    transform: scale(1.1);
}

.card-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.card-content p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}

.learn-more {
    color: #2575fc;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.learn-more:hover {
    gap: 12px;
    color: #6a11cb;
}

/* Tech Stack */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 0;
}

.tech-item {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: #00F0FF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.tech-item h4 {
    margin-top: 15px;
    font-size: 1.25rem;
    color: #24126A;
    font-weight: 700;
}

.tech-item p {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 5px;
}

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

/* Stats */
.stat-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #24126A 0%, #00F0FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    display: inline-block;
}

/* Feature Cards (Case Studies) */
.feature-card {
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.05);
    background: #fff;
    border-color: #cbd5e1;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}

.feature-card ul li {
    margin-bottom: 10px;
    color: #64748b;
    display: flex;
    align-items: center;
}

.feature-card ul li i {
    color: #2575fc;
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Process Accordion */
.process-accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.accordion-button {
    font-weight: 600;
    padding: 20px 25px;
    background: #fff;
    color: #1e293b;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: #2575fc;
    background-color: #f0f6ff;
}

.accordion-body {
    padding: 25px;
    color: #64748b;
    line-height: 1.7;
}

/* Expertise Cards */
.expertise-card {
    padding: 30px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: all 0.3s ease;
}

.expertise-card:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: #2575fc;
}

.expertise-card i {
    font-size: 32px;
    color: #2575fc;
    margin-bottom: 20px;
    display: inline-block;
}

.expertise-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.expertise-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}