{"version":3,"file":"FAQSection_1.l7CjdlQJ.mjs","names":["useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/5DibaDu1Y38GlAkvJOZS/ad4xn9WDgl6xhgIdFXae/FAQSection_1.js"],"sourcesContent":["// FAQ section with expandable questions and a contact card\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function FAQSection(props){const{title,titleFont,titleColor,faqs,questionFont,questionColor,answerFont,answerColor,iconColor,dividerColor,backgroundColor,showContactCard,contactTitle,contactSubtitle,contactTitleFont,contactSubtitleFont,contactTextColor,contactButtonText,contactButtonFont,contactButtonColor,contactButtonTextColor,contactCardBackground,style}=props;const[openIndex,setOpenIndex]=useState(null);const toggleFAQ=index=>{startTransition(()=>{setOpenIndex(openIndex===index?null:index);});};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @media (max-width: 768px) {\n                    .faq-container {\n                        padding: 40px 20px !important;\n                        gap: 40px !important;\n                    }\n                    .faq-content {\n                        min-width: 100% !important;\n                    }\n                    .faq-title {\n                        font-size: 32px !important;\n                        margin-bottom: 40px !important;\n                    }\n                    .faq-item-button {\n                        padding: 24px 0 !important;\n                        gap: 16px !important;\n                    }\n                    .faq-question {\n                        font-size: 18px !important;\n                    }\n                    .faq-answer {\n                        font-size: 15px !important;\n                        padding-bottom: 24px !important;\n                    }\n                    .contact-card {\n                        min-width: 100% !important;\n                        max-width: 100% !important;\n                        padding: 40px 24px !important;\n                        gap: 20px !important;\n                    }\n                    .contact-title {\n                        font-size: 24px !important;\n                    }\n                    .contact-subtitle {\n                        font-size: 24px !important;\n                    }\n                    .contact-button {\n                        padding: 14px 28px !important;\n                        font-size: 15px !important;\n                    }\n                }\n                @media (min-width: 769px) and (max-width: 1024px) {\n                    .faq-container {\n                        padding: 60px 32px !important;\n                        gap: 48px !important;\n                    }\n                    .faq-title {\n                        font-size: 40px !important;\n                        margin-bottom: 48px !important;\n                    }\n                    .faq-question {\n                        font-size: 19px !important;\n                    }\n                    .contact-card {\n                        padding: 48px 32px !important;\n                    }\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{className:\"faq-container\",style:{...style,width:\"100%\",backgroundColor,padding:\"80px 40px\",display:\"flex\",gap:\"60px\",alignItems:\"flex-start\",justifyContent:\"space-between\",flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsxs(\"div\",{className:\"faq-content\",style:{flex:1,minWidth:\"300px\",maxWidth:\"800px\"},children:[/*#__PURE__*/_jsx(\"h1\",{className:\"faq-title\",style:{...titleFont,color:titleColor,margin:\"0 0 60px 0\"},children:title}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:\"0\"},children:faqs.map((faq,index)=>/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsxs(\"button\",{className:\"faq-item-button\",onClick:()=>toggleFAQ(index),style:{width:\"100%\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",padding:\"32px 0\",background:\"none\",border:\"none\",cursor:\"pointer\",textAlign:\"left\",gap:\"20px\"},\"aria-expanded\":openIndex===index,children:[/*#__PURE__*/_jsx(\"span\",{className:\"faq-question\",style:{...questionFont,color:questionColor,flex:1},children:faq.question}),/*#__PURE__*/_jsx(motion.div,{animate:{rotate:openIndex===index?45:0},transition:{duration:.2},style:{width:\"24px\",height:\"24px\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0},children:/*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M12 5V19M5 12H19\",stroke:iconColor,strokeWidth:\"2\",strokeLinecap:\"round\"})})})]}),/*#__PURE__*/_jsx(AnimatePresence,{initial:false,children:openIndex===index&&/*#__PURE__*/_jsx(motion.div,{initial:{height:0,opacity:0},animate:{height:\"auto\",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},style:{overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"div\",{className:\"faq-answer\",style:{...answerFont,color:answerColor,paddingBottom:\"32px\"},children:faq.answer})})}),index<faqs.length-1&&/*#__PURE__*/_jsx(\"div\",{style:{height:\"1px\",backgroundColor:dividerColor}})]},index))})]}),showContactCard&&/*#__PURE__*/_jsxs(\"div\",{className:\"contact-card\",style:{backgroundColor:contactCardBackground,borderRadius:\"24px\",padding:\"60px 40px\",textAlign:\"center\",minWidth:\"300px\",maxWidth:\"400px\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:\"24px\",alignSelf:\"center\"},children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h2\",{className:\"contact-title\",style:{...contactTitleFont,color:contactTextColor,margin:\"0 0 8px 0\"},children:contactTitle}),/*#__PURE__*/_jsx(\"p\",{className:\"contact-subtitle\",style:{...contactSubtitleFont,color:contactTextColor,margin:0},children:contactSubtitle})]}),/*#__PURE__*/_jsx(\"button\",{className:\"contact-button\",style:{...contactButtonFont,backgroundColor:contactButtonColor,color:contactButtonTextColor,border:\"none\",borderRadius:\"100px\",padding:\"16px 32px\",cursor:\"pointer\"},onClick:()=>{if(typeof window!==\"undefined\"){window.location.href=\"mailto:Hello@govconedu.com\";}},children:contactButtonText})]})]})]});}addPropertyControls(FAQSection,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Frequently Answered Questions\"},titleFont:{type:ControlType.Font,title:\"Title Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"48px\",variant:\"Bold\",letterSpacing:\"-0.02em\",lineHeight:\"1.1em\"}},titleColor:{type:ControlType.Color,title:\"Title Color\",defaultValue:\"#000000\"},faqs:{type:ControlType.Array,title:\"FAQs\",control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Question\",defaultValue:\"What makes this community different?\"},answer:{type:ControlType.String,title:\"Answer\",displayTextArea:true,defaultValue:\"Our community is built on authentic connections and meaningful interactions between founders and investors.\"}}},defaultValue:[{question:\"What is GovCon Giants?\",answer:\"GovCon Giants is the nation's largest training and mentorship platform for small businesses pursuing federal contracts. We provide expert guidance, tools, and resources to help you win more opportunities and grow your business in the government market.\"},{question:\"How can GovCon Giants help me win contracts?\",answer:\"We equip small businesses with the right knowledge, tools, and community support — from finding opportunities and crafting proposals to securing funding and managing awards.\"},{question:\"What is OpnGovIQ?\",answer:\"OpnGovIQ is our AI-powered federal contracting and CRM platform that helps you research, track, and manage opportunities — simplifying compliance, proposal writing, and project organization.\"},{question:\"What is the Federal Help Center?\",answer:\"The Federal Help Center is your starting point — a free community where you can access step-by-step guidance, live Q&As, templates, and expert support from experienced government contractors.\"},{question:\"How do I get started?\",answer:\"Join the Federal Help Center to begin your GovCon journey. You'll get access to free resources, expert insights, and a supportive community designed to help you win your first federal contract.\"}]},questionFont:{type:ControlType.Font,title:\"Question Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"20px\",variant:\"Regular\",letterSpacing:\"-0.01em\",lineHeight:\"1.4em\"}},questionColor:{type:ControlType.Color,title:\"Question Color\",defaultValue:\"#000000\"},answerFont:{type:ControlType.Font,title:\"Answer Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Regular\",letterSpacing:\"-0.01em\",lineHeight:\"1.5em\"}},answerColor:{type:ControlType.Color,title:\"Answer Color\",defaultValue:\"#666666\"},iconColor:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#000000\"},dividerColor:{type:ControlType.Color,title:\"Divider Color\",defaultValue:\"#E0E0E0\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#F5F5F0\"},showContactCard:{type:ControlType.Boolean,title:\"Show Contact Card\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},contactTitle:{type:ControlType.String,title:\"Contact Title\",defaultValue:\"We are here to help\",hidden:({showContactCard})=>!showContactCard},contactSubtitle:{type:ControlType.String,title:\"Contact Subtitle\",defaultValue:\"Chat with Us ?\",hidden:({showContactCard})=>!showContactCard},contactTitleFont:{type:ControlType.Font,title:\"Contact Title Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"28px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"},hidden:({showContactCard})=>!showContactCard},contactSubtitleFont:{type:ControlType.Font,title:\"Contact Subtitle Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"28px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"},hidden:({showContactCard})=>!showContactCard},contactTextColor:{type:ControlType.Color,title:\"Contact Text Color\",defaultValue:\"#000000\",hidden:({showContactCard})=>!showContactCard},contactButtonText:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Contact Us\",hidden:({showContactCard})=>!showContactCard},contactButtonFont:{type:ControlType.Font,title:\"Button Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"},hidden:({showContactCard})=>!showContactCard},contactButtonColor:{type:ControlType.Color,title:\"Button Color\",defaultValue:\"#2D4A3E\",hidden:({showContactCard})=>!showContactCard},contactButtonTextColor:{type:ControlType.Color,title:\"Button Text Color\",defaultValue:\"#FFFFFF\",hidden:({showContactCard})=>!showContactCard},contactCardBackground:{type:ControlType.Color,title:\"Card Background\",defaultValue:\"#E8E8E0\",hidden:({showContactCard})=>!showContactCard}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQSection\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":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