/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #f5f5f5 !important;  /* Dark background - force apply */
    color: #0f172a;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAVBAR - DARK THEME with Transparent Effect ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0f172a !important;  /* Dark slate background */
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 1rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.transparent {
    background: rgba(15, 23, 42, 0.7) !important;  /* 70% opacity dark slate - force apply */
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);  /* Lighter gradient for dark bg */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: #f1f5f9 !important;  /* Light text for dark background */
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #60a5fa !important;  /* Lighter blue on hover */
}

.btn-primary {
    background: #3b82f6 !important;  /* Brighter blue for button */
    color: white !important;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #f1f5f9 !important;  /* Light color for dark bg */
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: #60a5fa !important;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 5rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #2563eb, #7c3aed, #db2777);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 2rem;
}

.stats-grid {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.stat p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 30px;
    padding: 2rem;
    height: 450px;
    transition: box-shadow 0.3s ease;
}

.hero-image:hover {
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.hero-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.section-header p {
    font-size: 1.2rem;
    color: #475569;
}

/* ===== SERVICES SECTION (Home Page) ===== */
.services-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
    border-color: #2563eb;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.service-card p {
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    color: #475569;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: "✓";
    color: #2563eb;
    font-weight: bold;
}

/* ===== WHY CHOOSE SECTION ===== */
.why-choose-section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.feature-item p {
    color: #475569;
    line-height: 1.6;
}

/* ===== TECHNOLOGIES SECTION (Dark Theme) ===== */
.tech-section-new {
    padding: 5rem 0;
    background: #f8fafc;
}

.tech-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.tech-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-category {
    background: #1e293b;
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid #334155;
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: #3b82f6;
}

.tech-category h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-item {
    background: #334155;
    color: #f1f5f9;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #475569;
}

.tech-item:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.05);
    border-color: #3b82f6;
}

.tech-image-container {
    background: white;
    border-radius: 30px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.tech-image-container img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ===== TEAM SECTION ===== */
.team-section {
    padding: 5rem 0;
    background: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
    border-color: #2563eb;
}

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #2563eb;
}

.team-icon {
    font-size: 3rem;
}

.team-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.team-position {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.team-bio {
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== CENTER IMAGE SECTION - FULL WIDTH ===== */
.center-image-section {
    padding: 5rem 0;
    background: #ffffff;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.image-container-70 {
    width: 80%;
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    transition: all 0.4s ease;
    border: 4px solid #2563eb;
}

.image-container-70 img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-container-70:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.25);
    border-color: #7c3aed;
}

.image-container-70:hover img {
    transform: scale(1.05);
}

/* ===== INQUIRY FORM SECTION ===== */
.inquiry-section {
    padding: 5rem 0;
    background: #ffffff;
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.inquiry-image {
    background: #f8fafc;
    border-radius: 30px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
}

.inquiry-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.inquiry-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.inquiry-form-container {
    background: white;
    border-radius: 30px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.inquiry-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    color: #0f172a;
}

.inquiry-form-container p {
    color: #475569;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: #0f172a;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: #ffffff;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2563eb;
}

.checkbox-group label {
    font-size: 0.95rem;
    color: #475569;
    cursor: pointer;
}

.submit-btn {
    background: #2563eb;
    color: white;
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.form-message {
    margin-top: 1rem;
    padding: 0.875rem;
    border-radius: 12px;
    display: none;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-message.success {
    background: #10b98120;
    color: #065f46;
    border: 1px solid #10b981;
    display: block;
}

.form-message.error {
    background: #ef444420;
    color: #991b1b;
    border: 1px solid #ef4444;
    display: block;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: white;
    color: #0f172a !important;
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255,255,255,0.3);
}

/* ===== BACK TO HOME SECTION ===== */
.back-to-home-section {
    padding: 3rem 0;
    text-align: center;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.back-to-home-btn {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.back-to-home-btn:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.footer-quick-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 1rem;
}

.footer-quick-links a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-quick-links a:hover {
    color: #2563eb;
}

.footer-quick-links span {
    color: #cbd5e1;
}

/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: #1d4ed8;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.back-to-top.show {
    display: flex;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block !important;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0f172a !important;  /* Dark background for mobile menu */
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid #334155;
        z-index: 999;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.5rem;
        color: #f1f5f9 !important;
    }

    .nav-links .btn-primary {
        margin-top: 0.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero p {
        max-width: 100%;
    }
    .stats-grid {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-image {
        height: 300px;
        padding: 1rem;
        margin-top: 2rem;
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
    .service-card {
        padding: 1.5rem;
    }
    .service-card h3 {
        font-size: 1.5rem;
    }
    .tech-badge {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
    .image-container-70 {
        width: 90%;
        border-width: 3px;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Technologies Section Responsive */
    .tech-grid-new {
        grid-template-columns: 1fr;
    }
    .tech-boxes {
        grid-template-columns: 1fr;
    }
    
    /* Inquiry Section Responsive */
    .inquiry-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .inquiry-image {
        order: 2;
        padding: 1rem;
    }
    .inquiry-form-container {
        order: 1;
        padding: 1.5rem;
    }
    .inquiry-form-container h2 {
        font-size: 1.5rem;
    }
    .checkbox-group {
        flex-wrap: wrap;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .inquiry-form-container {
        padding: 1.2rem;
    }
    .form-group input,
    .form-group select,
    .submit-btn {
        padding: 0.75rem;
    }
    .back-to-home-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    .footer-quick-links {
        gap: 1rem;
    }
}

/* Desktop: Show back-to-home section */
@media (min-width: 769px) {
    .back-to-home-section {
        display: block;
    }
}