/* ==========================================================================
   1. COLOR PALETTE & GLOBAL RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
:root {
    --primary-blue: #0087cb;
    --dark-blue: #005a8b;
    --text-dark: #222222;
    --text-light: #555555;
    --bg-light: #f4f7f9;
    --white: #ffffff;
    --whatsapp-green: #25D366;
}
html {
    scroll-behavior: smooth;
}
body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* ==========================================================================
   2. HEADER NAVIGATION (IDENTICAL BRANDING)
   ========================================================================== */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}
.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}
.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-text .brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-blue);
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.logo-text .brand-tag {
    font-size: 11px;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}
nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
}
nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: width 0.25s ease;
}
nav ul li a:hover, nav ul li a.active {
    color: var(--primary-blue);
}
nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-blue);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ==========================================================================
   3. HERO BANNER WITH FADE-UP ANIMATION
   ========================================================================== */
.hero-banner {
    position: relative;
    width: 100%;
    margin-top: 74px;
    min-height: 380px;
    background-image: url('Implementing-AI-driven-automation-in-Manufacturing-Industrys.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 60px 20px;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 58, 90, 0.92), rgba(0, 135, 203, 0.82));
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeUpHero 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.hero-content p {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
}

@keyframes fadeUpHero {
    0% {
        opacity: 0;
        transform: translateY(35px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   4. QUOTE FORM & OFFICE INFO GRID
   ========================================================================== */
.quote-page-section {
    padding: 70px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.quote-grid-container {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Form Card */
.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.form-card h2 {
    color: var(--dark-blue);
    font-size: 26px;
    margin-bottom: 8px;
}
.form-instruction {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 12px;
}
.form-instruction span { color: #e74c3c; font-weight: bold; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.form-group label span { color: #e74c3c; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-dark);
    background-color: #fafafa;
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 135, 203, 0.15);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-group input[type="file"] {
    font-size: 13px;
    color: var(--text-light);
}

.form-group.has-error input {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}
.error-msg {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}
.form-group.has-error .error-msg {
    display: block;
}

.radio-group {
    display: flex;
    gap: 25px;
    margin-top: 5px;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 135, 203, 0.25);
}
.submit-btn:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 90, 139, 0.35);
}

.success-alert {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background-color: #e8f8f0;
    color: #1e7e44;
    border: 1px solid #b7ebca;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.error-alert {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background-color: #fdecea;
    color: #b42318;
    border: 1px solid #f5c2c0;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

/* Right Info Card & Map */
.info-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.map-wrapper {
    height: 320px;
    width: 100%;
}
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.address-details-box {
    padding: 30px;
}
.address-details-box h3 {
    color: var(--dark-blue);
    font-size: 20px;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
}
.office-info-list {
    list-style: none;
}
.office-info-list li {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.7;
}
.office-info-list li strong {
    color: var(--text-dark);
}
.office-info-list a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}
.office-info-list a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   5. THREE CONTACT CARDS SECTION
   ========================================================================== */
.contact-cards-section {
    padding: 40px 20px 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.info-badge-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}
.info-badge-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 135, 203, 0.18);
}
.badge-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--white);
}
.icon-sales { background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%); }
.icon-support { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.icon-info { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); }

.info-badge-card h3 {
    color: var(--dark-blue);
    font-size: 20px;
    margin-bottom: 12px;
}
.info-badge-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    min-height: 42px;
}
.card-contact-line {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.card-contact-line i {
    color: var(--primary-blue);
    margin-right: 6px;
}
.card-contact-line a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.card-contact-line a:hover {
    color: var(--primary-blue);
}

/* ==========================================================================
   6. FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
    background-color: var(--white);
    padding: 80px 20px;
}
.faq-inner-container {
    max-width: 900px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--dark-blue);
    margin-bottom: 12px;
    font-weight: 700;
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 45px;
    font-size: 16px;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.accordion-item {
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.accordion-item.active {
    border-color: var(--primary-blue);
}
.accordion-header {
    width: 100%;
    padding: 20px;
    background: var(--bg-light);
    border: none;
    outline: none;
    text-align: left;
    font-size: 17px;
    font-weight: 700;
    color: var(--dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}
.accordion-header:hover {
    background: #eaeff3;
}
.acc-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}
.accordion-item.active .acc-icon {
    transform: rotate(180deg);
    color: var(--primary-blue);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
    background: var(--white);
}
.accordion-item.active .accordion-content {
    padding: 20px;
    max-height: 250px;
}
.accordion-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ==========================================================================
   7. CALL TO ACTION & FOOTER
   ========================================================================== */
.cta-banner-section {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    color: var(--white);
    padding: 70px 20px;
    text-align: center;
}
.cta-banner-content {
    max-width: 800px;
    margin: 0 auto;
}
.cta-banner-content h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
}
.cta-banner-content p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.92);
}
.cta-banner-btn {
    background-color: var(--white);
    color: var(--dark-blue);
    padding: 14px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.cta-banner-btn:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

.footer-bg { background-color: #111a24; color: #bdc8d3; padding: 60px 20px 20px 20px; }
.footer-grid {
    max-width: 1200px; margin: 0 auto; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px;
    border-bottom: 1px solid #223142; padding-bottom: 40px;
}
.footer-col h3 { color: var(--white); margin-bottom: 20px; font-size: 18px; position: relative; }
.footer-col h3::after { content: ''; display: block; width: 30px; height: 2px; background-color: var(--primary-blue); margin-top: 8px; }
.footer-col p, .footer-col li { font-size: 14px; line-height: 1.8; margin-bottom: 10px; }
.footer-col a { color: #bdc8d3; text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--white); }

/* Floating WhatsApp Button */
.whatsapp-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    text-decoration: none;
}
.whatsapp-label {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    white-space: nowrap;
}
.floating-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: whatsappPulse 2s infinite;
}
@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    width: 48px;
    height: 48px;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 135, 203, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.bottom-bar {
    max-width: 1200px; margin: 20px auto 0 auto;
    display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
    .quote-grid-container { grid-template-columns: 1fr; }
    .cards-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    nav.active { max-height: 320px; }
    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }
    .form-row { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 30px; }
    .hero-content p { font-size: 15px; }
    .form-card { padding: 25px 20px; }
    .whatsapp-label { display: none; }
}