diy-template-components 0.2.73 → 0.2.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.es.js CHANGED
@@ -338,117 +338,118 @@ const colorMixer = (hex1, weightage = 1, hex2 = colors.white) => {
338
338
  };
339
339
  };
340
340
 
341
- const buttonStyles = createUseStyles(theme => ({
342
- primary: {
343
- width: ({
344
- fluid
345
- } = {}) => fluid ? '100%' : '',
346
- borderRadius: theme?.shape?.borderRadius?.regular,
347
- fontWeight: '700',
348
- fontSize: '14px',
349
- lineHeight: '18px',
350
- textAlign: 'center',
351
- color: ({
352
- disabled
353
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
354
- background: ({
355
- disabled
356
- } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
357
- border: ({
358
- disabled
359
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
360
- textDecoration: 'none',
361
- cursor: ({
362
- disabled
363
- } = {}) => disabled ? 'not-allowed' : 'pointer',
364
- maxWidth: '100%',
365
- display: 'inline-block',
366
- wordBreak: 'break-word',
367
- flexShrink: '0'
368
- },
369
- secondary: {
370
- width: ({
371
- fluid
372
- } = {}) => fluid ? '100%' : '',
373
- borderRadius: theme?.shape?.borderRadius?.regular,
374
- fontSize: '14px',
375
- fontWeight: '700',
376
- display: 'inline-block',
377
- textDecoration: 'none',
378
- lineHeight: '18px',
379
- color: ({
380
- disabled
381
- } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
382
- background: ({
383
- disabled
384
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
385
- border: ({
386
- disabled
387
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
388
- cursor: ({
389
- disabled
390
- } = {}) => disabled ? 'not-allowed' : 'pointer',
391
- maxWidth: '100%',
392
- display: 'inline-block',
393
- wordBreak: 'break-word',
394
- flexShrink: '0'
395
- },
396
- tertiary: {
397
- width: ({
398
- fluid
399
- } = {}) => fluid ? '100%' : '',
400
- fontWeight: '400',
401
- fontSize: '16px',
402
- lineHeight: '20px',
403
- display: 'flex',
404
- alignItems: 'center',
405
- border: 'none',
406
- color: ({
407
- disabled
408
- } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
409
- background: ({
410
- disabled
411
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
412
- cursor: ({
413
- disabled
414
- } = {}) => disabled ? 'not-allowed' : 'pointer',
415
- maxWidth: '100%',
416
- display: 'inline-block',
417
- wordBreak: 'break-word',
418
- flexShrink: '0',
419
- '&:hover': {
420
- background: theme.palette.primary.lightest,
421
- borderRadius: '4px'
341
+ const buttonStyles = createUseStyles(theme => {
342
+ console.log('themexxxxdsfb', theme);
343
+ return {
344
+ primary: {
345
+ width: ({
346
+ fluid
347
+ } = {}) => fluid ? '100%' : '',
348
+ borderRadius: theme?.shape?.borderRadius?.regular,
349
+ fontWeight: '700',
350
+ fontSize: '14px',
351
+ lineHeight: '18px',
352
+ textAlign: 'center',
353
+ color: ({
354
+ disabled
355
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.isGradient ? theme?.themeGradient?.CtaTextColor : theme?.themeColors?.CtaTextColor,
356
+ background: ({
357
+ disabled
358
+ } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.isGradient ? theme?.themeGradient?.ctaColor : theme?.themeColors?.ctaColor,
359
+ border: 'none',
360
+ textDecoration: 'none',
361
+ cursor: ({
362
+ disabled
363
+ } = {}) => disabled ? 'not-allowed' : 'pointer',
364
+ maxWidth: '100%',
365
+ display: 'inline-block',
366
+ wordBreak: 'break-word',
367
+ flexShrink: '0'
422
368
  },
423
- '&$active': {
369
+ secondary: {
370
+ width: ({
371
+ fluid
372
+ } = {}) => fluid ? '100%' : '',
373
+ borderRadius: theme?.shape?.borderRadius?.regular,
374
+ fontSize: '14px',
424
375
  fontWeight: '700',
425
- background: theme.palette.primary.lightest,
426
- borderRadius: theme.shape.borderRadius.small,
427
- color: theme.palette.primary.main
428
- }
429
- },
430
- anchorClass: {
431
- textDecoration: 'none'
432
- },
433
- active: {},
434
- large: {
435
- padding: '20px 24px'
436
- },
437
- medium: {
438
- padding: '16px 24px'
439
- },
440
- small: {
441
- padding: '12px 16px'
442
- },
443
- '@media screen and (max-width: 767px)': {
444
- active: {
445
- fontWeight: 'initial',
446
- background: theme?.palette?.background?.default,
447
- borderRadius: '0',
448
- color: theme.palette.primary.main
376
+ display: 'inline-block',
377
+ textDecoration: 'none',
378
+ lineHeight: '18px',
379
+ color: ({
380
+ disabled
381
+ } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.themeColors?.CtaTextColor,
382
+ background: ({
383
+ disabled
384
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.isGradient ? theme?.themeGradient?.ctaColor : theme?.themeColors?.ctaColor,
385
+ border: ({
386
+ disabled
387
+ } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.themeColors?.ctaColor}`,
388
+ cursor: ({
389
+ disabled
390
+ } = {}) => disabled ? 'not-allowed' : 'pointer',
391
+ maxWidth: '100%',
392
+ display: 'inline-block',
393
+ wordBreak: 'break-word',
394
+ flexShrink: '0'
395
+ },
396
+ tertiary: {
397
+ width: ({
398
+ fluid
399
+ } = {}) => fluid ? '100%' : '',
400
+ fontWeight: '400',
401
+ fontSize: '16px',
402
+ lineHeight: '20px',
403
+ display: 'flex',
404
+ alignItems: 'center',
405
+ border: 'none',
406
+ color: ({
407
+ disabled
408
+ } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
409
+ background: ({
410
+ disabled
411
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
412
+ cursor: ({
413
+ disabled
414
+ } = {}) => disabled ? 'not-allowed' : 'pointer',
415
+ maxWidth: '100%',
416
+ display: 'inline-block',
417
+ wordBreak: 'break-word',
418
+ flexShrink: '0',
419
+ '&:hover': {
420
+ background: theme.palette.primary.lightest,
421
+ borderRadius: '4px'
422
+ },
423
+ '&$active': {
424
+ fontWeight: '700',
425
+ background: theme.palette.primary.lightest,
426
+ borderRadius: theme.shape.borderRadius.small,
427
+ color: theme.palette.primary.main
428
+ }
429
+ },
430
+ anchorClass: {
431
+ textDecoration: 'none'
432
+ },
433
+ active: {},
434
+ large: {
435
+ padding: '20px 24px'
436
+ },
437
+ medium: {
438
+ padding: '16px 24px'
439
+ },
440
+ small: {
441
+ padding: '12px 16px'
442
+ },
443
+ '@media screen and (max-width: 767px)': {
444
+ active: {
445
+ fontWeight: 'initial',
446
+ background: theme?.palette?.background?.default,
447
+ borderRadius: '0',
448
+ color: theme.palette.primary.main
449
+ }
449
450
  }
450
- }
451
- }));
451
+ };
452
+ });
452
453
 
453
454
  function useLinkBuilder(data) {
454
455
  const {
@@ -1912,20 +1913,99 @@ const palettes = {
1912
1913
  rust: rustPalette
1913
1914
  };
1914
1915
 
1915
- function getTheme(colorTheme = 'blue', fontFamily = 'Arial') {
1916
+ const baseFactor = 8;
1917
+ const mobileMargin = {
1918
+ tiny: baseFactor * 2,
1919
+ small: baseFactor * 2,
1920
+ regular: baseFactor * 3,
1921
+ medium: baseFactor * 6
1922
+ };
1923
+ const margin = {
1924
+ tiny: baseFactor * 4,
1925
+ small: baseFactor * 4 * 2,
1926
+ regular: baseFactor * 4 * 4,
1927
+ medium: baseFactor * 4 * 6,
1928
+ large: baseFactor * 4 * 8,
1929
+ xLarge: baseFactor * 4 * 12
1930
+ };
1931
+ const mobilePadding = {
1932
+ tiny: baseFactor * 2,
1933
+ // 16px
1934
+ small: baseFactor * 2,
1935
+ //16px
1936
+ regular: baseFactor * 3,
1937
+ // 24px
1938
+ medium: baseFactor * 6 // 48px
1939
+ };
1940
+
1941
+ const padding = {
1942
+ minute: baseFactor * 2,
1943
+ // 16px
1944
+ tiny: baseFactor * 4,
1945
+ // 32px
1946
+ small: baseFactor * 4 * 2,
1947
+ // 64px
1948
+ xSmall: baseFactor * 3 * 3,
1949
+ // 72px
1950
+ regular: baseFactor * 4 * 3,
1951
+ // 96 px
1952
+ medium: baseFactor * 4 * 4,
1953
+ // 128 px
1954
+ large: baseFactor * 4 * 5,
1955
+ // 160px
1956
+ xLarge: baseFactor * 4 * 6 // 192px
1957
+ };
1958
+
1959
+ const fontSize = {
1960
+ h1: 72,
1961
+ h2: 56,
1962
+ h3: 40,
1963
+ h4: 32,
1964
+ h5: 24,
1965
+ h6: 20,
1966
+ subHead: 16,
1967
+ body: 14
1968
+ };
1969
+ const fontSizeMob = {
1970
+ h1: 40,
1971
+ h2: 20,
1972
+ h3: 32,
1973
+ h4: 16,
1974
+ h5: 16,
1975
+ h6: 14,
1976
+ subHead: 14,
1977
+ body: 14
1978
+ };
1979
+ const fontWeight = {
1980
+ light: 300,
1981
+ regular: 400,
1982
+ medium: 500,
1983
+ semiBold: 600,
1984
+ bold: 700,
1985
+ superBold: 900
1986
+ };
1987
+
1988
+ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
1916
1989
  const palette = palettes[colorTheme] || palettes['blue'];
1917
1990
  const typography = {
1918
- fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`
1991
+ fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
1992
+ fontSize: isMobile ? fontSizeMob : fontSize,
1993
+ fontWeight
1919
1994
  };
1920
1995
  const shape = {
1921
1996
  borderRadius
1922
1997
  };
1998
+ const spacing = {
1999
+ padding: isMobile ? mobilePadding : padding,
2000
+ margin: isMobile ? mobileMargin : margin
2001
+ };
1923
2002
  return {
1924
2003
  palette,
1925
2004
  shape,
1926
2005
  typography,
1927
2006
  shadows: generateShadows(palette),
1928
- borders: generateBorders(palette)
2007
+ borders: generateBorders(palette),
2008
+ spacing
1929
2009
  };
1930
2010
  }
1931
2011
 
@@ -2126,20 +2206,137 @@ function PageRenderer$1({
2126
2206
  }))));
2127
2207
  }
2128
2208
 
2209
+ const GRADIENT = `linear-gradient`;
2210
+ const solidBaseColors = {
2211
+ white: '#FFFFFF',
2212
+ blue: '#1676F3',
2213
+ tertiaryblue: '#F4F9FF',
2214
+ orange: '#FF9000',
2215
+ tertiaryorange: '#FFF6EA',
2216
+ pink: '#F72585',
2217
+ tertiarypink: '#FEE9F3',
2218
+ green: '#8ECE19',
2219
+ tertiarygreen: '#F4FAEB',
2220
+ violet: '#6269C9',
2221
+ tertiaryviolet: '#F4F6FF',
2222
+ red: '#F41828',
2223
+ tertiaryred: '#FFF2F3',
2224
+ maroon: '#9B2226',
2225
+ tertiarymaroon: '#FFF0F0',
2226
+ blue2: '#00ADE7',
2227
+ tertiaryblue2: '#F2FCFF'
2228
+ };
2229
+ const gradientColors = {
2230
+ white: '#FFFFFF',
2231
+ black: '#000000',
2232
+ // Blue gradient
2233
+
2234
+ blue: '#1676F3',
2235
+ bluegradient: `${GRADIENT}(#5418D1,#2C88FF)`,
2236
+ tertiaryblue: '#F4F9FF',
2237
+ // Orange gradient
2238
+
2239
+ orange: '#FF9000',
2240
+ orangegradient: `${GRADIENT}(#E96263 , #EAAE4C)`,
2241
+ tertiaryorange: '#FFF6EA',
2242
+ // Pink gradient
2243
+
2244
+ pink: '#F72585',
2245
+ pinkgradient: `${GRADIENT}(#F97794,#623AA2)`,
2246
+ tertiarypink: '#FEE9F3',
2247
+ // Violet gradient
2248
+
2249
+ violet: '#6026A8',
2250
+ violetgradient: `${GRADIENT}(#B66EC0 , #460FA1)`,
2251
+ tertiaryviolet: '#F5F2FA',
2252
+ // Green gradient
2253
+
2254
+ green: '#46A9A9',
2255
+ greengradient: `${GRADIENT}(#0E5CAD, #79F1A4)`,
2256
+ tertiarygreen: '#F4FAFA'
2257
+ };
2258
+
2259
+ // temporary , will move this
2260
+
2261
+ let fontFamily = 'Arial';
2262
+ const typography = {
2263
+ fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
2264
+ fontSize: fontSize,
2265
+ fontWeight
2266
+ };
2267
+ const spacing = {
2268
+ padding: padding,
2269
+ margin: margin
2270
+ };
2271
+
2272
+ // till here
2273
+
2274
+ const generateTheme = (theme, isGradient) => {
2275
+ console.log('isGradient', isGradient);
2276
+ const themeColors = {
2277
+ font1: solidBaseColors?.black,
2278
+ font2: solidBaseColors?.black,
2279
+ font3: solidBaseColors?.black,
2280
+ font4: solidBaseColors?.black,
2281
+ AccentColor: solidBaseColors[theme],
2282
+ background1: solidBaseColors?.white,
2283
+ background2: solidBaseColors['tertiary' + theme],
2284
+ background3: solidBaseColors['tertiary' + theme],
2285
+ ctaColor: solidBaseColors[theme],
2286
+ CtaTextColor: solidBaseColors?.white,
2287
+ icon: solidBaseColors[theme],
2288
+ iconBg: solidBaseColors['tertiary' + theme],
2289
+ stripBg: solidBaseColors[theme],
2290
+ stripText: solidBaseColors?.white,
2291
+ inputBorderColor: solidBaseColors?.blue2,
2292
+ tertiaryBlue2: solidBaseColors?.tertiaryblue2
2293
+ };
2294
+ const themeGradient = {
2295
+ font1: gradientColors?.white,
2296
+ font2: gradientColors?.black,
2297
+ font3: gradientColors?.black,
2298
+ font4: gradientColors?.white,
2299
+ AccentColor: gradientColors[theme],
2300
+ background1: gradientColors[theme + 'gradient'],
2301
+ background2: gradientColors['tertiary' + theme],
2302
+ background3: gradientColors[theme + 'gradient'],
2303
+ ctaColor: gradientColors[theme + 'gradient'],
2304
+ CtaTextColor: gradientColors?.white,
2305
+ icon: gradientColors[theme],
2306
+ iconBg: gradientColors['tertiary' + theme],
2307
+ stripBg: gradientColors?.black,
2308
+ stripText: gradientColors?.white
2309
+ };
2310
+ return {
2311
+ ...getTheme(theme),
2312
+ themeColors,
2313
+ typography,
2314
+ spacing,
2315
+ isGradient,
2316
+ themeGradient
2317
+ };
2318
+ };
2319
+
2129
2320
  const useSectionStyles$8 = createUseStyles(theme => ({
2130
2321
  bannerCarouselRightSection: {
2131
2322
  position: 'relative',
2323
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
2324
+ padding: ({
2325
+ isMobile
2326
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2327
+ backgroundColor: generateTheme('blue')?.background2,
2132
2328
  '&, & *, & *:before, & *:after': {
2133
2329
  fontFamily: theme?.typography?.fontFamily,
2134
2330
  boxSizing: 'border-box'
2135
- },
2136
- '& h2,& h3': {
2137
- fontWeight: '500',
2138
- '& b,& strong': {
2139
- fontWeight: '700'
2140
- }
2141
2331
  }
2332
+ // '& h2,& h3': {
2333
+ // fontWeight: '500',
2334
+ // '& b,& strong': {
2335
+ // fontWeight: '700'
2336
+ // }
2337
+ // }
2142
2338
  },
2339
+
2143
2340
  sectionContainer: {
2144
2341
  margin: '0 auto',
2145
2342
  maxWidth: ({
@@ -2152,24 +2349,19 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2152
2349
  justifyContent: 'center',
2153
2350
  position: 'relative'
2154
2351
  },
2155
- partialBackground: {
2156
- width: '61%',
2157
- position: 'absolute',
2158
- backgroundColor: theme?.palette?.background?.primary,
2159
- height: '100%',
2160
- top: '0',
2161
- left: '0'
2162
- },
2163
2352
  contentContainer: {
2164
2353
  position: 'relative',
2165
2354
  width: '100%',
2166
2355
  zIndex: '1',
2167
- display: 'grid',
2168
- gridTemplateColumns: 'repeat(2,minmax(0, 1fr))',
2169
- maxWidth: '100%'
2356
+ // display: 'grid',
2357
+ // gridTemplateColumns: 'repeat(2,minmax(0, 1fr))',
2358
+ display: 'flex',
2359
+ flexDirection: 'row',
2360
+ alignItems: 'center',
2361
+ maxWidth: '100%',
2362
+ gap: '72px'
2170
2363
  },
2171
2364
  textContainer: {
2172
- padding: '140px 18%',
2173
2365
  textAlign: 'left',
2174
2366
  margin: '0 auto',
2175
2367
  maxWidth: '100%'
@@ -2177,23 +2369,28 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2177
2369
  imageContainer: {
2178
2370
  width: '100%',
2179
2371
  position: 'relative',
2180
- height: '90%'
2372
+ height: '100%',
2373
+ display: 'flex',
2374
+ justifyContent: 'center',
2375
+ alignItems: 'center',
2376
+ borderRadius: '8px',
2377
+ overflow: 'hidden'
2181
2378
  },
2182
2379
  subTitleHeading: {
2183
2380
  marginBottom: '8px',
2184
- fontSize: '16px',
2381
+ fontSize: theme.typography.fontSize.subHead,
2185
2382
  color: theme?.palette?.font?.tertiary,
2186
2383
  wordBreak: 'break-word',
2187
2384
  maxWidth: '100%'
2188
2385
  },
2189
2386
  heading: {
2190
2387
  margin: '0',
2191
- fontSize: '72px',
2388
+ fontSize: theme.typography.fontSize.h1,
2192
2389
  color: theme?.palette?.font?.default,
2193
2390
  wordBreak: 'break-word'
2194
2391
  },
2195
2392
  description: {
2196
- margin: '40px 0',
2393
+ margin: `${theme.spacing.margin.tiny}px 0px`,
2197
2394
  color: theme?.palette?.font?.primary,
2198
2395
  lineHeight: '24px',
2199
2396
  wordBreak: 'break-word'
@@ -2208,30 +2405,24 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2208
2405
  display: 'flex',
2209
2406
  gap: '20px',
2210
2407
  justifyContent: 'center',
2211
- bottom: '25px',
2212
- position: 'absolute',
2408
+ marginTop: theme.spacing.margin.tiny,
2213
2409
  width: '100%'
2214
2410
  },
2411
+ partialBackground: {
2412
+ display: 'none'
2413
+ },
2215
2414
  '@media screen and (max-width: 767px)': {
2216
2415
  partialBackground: {
2217
2416
  display: 'none'
2218
2417
  },
2219
- sectionContainer: {
2220
- paddingBottom: '50px'
2221
- },
2222
2418
  contentContainer: {
2223
2419
  display: 'flex',
2224
- flexFlow: 'column-reverse',
2225
- paddingBottom: '20px'
2420
+ flexFlow: 'column',
2421
+ paddingBottom: '48px',
2422
+ gap: '24px'
2226
2423
  },
2227
2424
  textContainer: {
2228
- padding: '20px 20px 0'
2229
- },
2230
- heading: {
2231
- fontSize: '40px'
2232
- },
2233
- description: {
2234
- margin: '16px 0'
2425
+ textAlign: 'center'
2235
2426
  },
2236
2427
  linkButton: {
2237
2428
  padding: '12px 16px'
@@ -2264,7 +2455,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2264
2455
  '& .slick-dots': {
2265
2456
  bottom: ({
2266
2457
  buttonContainerClass
2267
- } = {}) => !!buttonContainerClass ? '20px' : 'unset',
2458
+ } = {}) => !!buttonContainerClass ? '10px' : 'unset',
2268
2459
  position: ({
2269
2460
  buttonContainerClass
2270
2461
  } = {}) => !!buttonContainerClass ? 'absolute' : 'inherit',
@@ -2274,7 +2465,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2274
2465
  textAlign: 'center',
2275
2466
  paddingBottom: '0',
2276
2467
  '& ul': {
2277
- margin: '0',
2468
+ margin: theme.spacing.margin.regular,
2278
2469
  padding: '0',
2279
2470
  '& li': {
2280
2471
  width: 'unset',
@@ -2298,7 +2489,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2298
2489
  display: 'flex',
2299
2490
  gap: '20px',
2300
2491
  justifyContent: 'center',
2301
- marginTop: '40px'
2492
+ marginTop: theme.spacing.margin.tiny
2302
2493
  },
2303
2494
  dots: {
2304
2495
  width: '4px',
@@ -2315,6 +2506,15 @@ const useCarouselStyles = createUseStyles(theme => ({
2315
2506
  background: ({
2316
2507
  inverted
2317
2508
  } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
2509
+ },
2510
+ '@media screen and (max-width: 767px)': {
2511
+ sliderClass: {
2512
+ '& .slick-dots': {
2513
+ '& ul': {
2514
+ margin: '0px'
2515
+ }
2516
+ }
2517
+ }
2318
2518
  }
2319
2519
  }));
2320
2520
 
@@ -2341,7 +2541,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
2341
2541
  height: sizeHandler,
2342
2542
  border: ({
2343
2543
  inverted
2344
- }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
2544
+ }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.themeColors?.ctaColor}`,
2345
2545
  borderRadius: '50%',
2346
2546
  display: 'flex',
2347
2547
  justifyContent: 'center',
@@ -2363,7 +2563,7 @@ function ArrowButton(props) {
2363
2563
  }, /*#__PURE__*/React.createElement(Icon, {
2364
2564
  height: props.size === 'small' ? '12px' : '18px',
2365
2565
  name: "Angle",
2366
- color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
2566
+ color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.themeColors?.ctaColor,
2367
2567
  inverted: true
2368
2568
  }));
2369
2569
  }
@@ -2474,7 +2674,8 @@ function Section$4({
2474
2674
  isCustomWebsite
2475
2675
  } = useContext(PageContext);
2476
2676
  const classes = useSectionStyles$8({
2477
- isCustomWebsite
2677
+ isCustomWebsite,
2678
+ isMobile
2478
2679
  });
2479
2680
  return /*#__PURE__*/React.createElement("div", {
2480
2681
  className: classes.centerData
@@ -2523,12 +2724,14 @@ function BannerCarouselRight({
2523
2724
  sectionIndex
2524
2725
  }) {
2525
2726
  const {
2727
+ isMobile,
2526
2728
  layout: {
2527
2729
  containerWidth
2528
2730
  }
2529
2731
  } = useContext(PageContext);
2530
2732
  const classes = useSectionStyles$8({
2531
- containerWidth
2733
+ containerWidth,
2734
+ isMobile
2532
2735
  });
2533
2736
  const [{
2534
2737
  bannerCarousel
@@ -2554,191 +2757,183 @@ var index$l = /*#__PURE__*/Object.freeze({
2554
2757
  'default': BannerCarouselRight
2555
2758
  });
2556
2759
 
2557
- const useSectionStyles$7 = createUseStyles(theme => ({
2558
- section: {
2559
- width: '100%',
2560
- padding: '70px 0',
2561
- display: 'flex',
2562
- justifyContent: 'center',
2563
- flexDirection: 'column',
2564
- alignItems: 'center',
2565
- backgroundColor: theme?.palette?.background?.default,
2566
- '&, & *, & *:before, & *:after': {
2567
- fontFamily: theme?.typography?.fontFamily,
2568
- boxSizing: 'border-box'
2569
- },
2570
- '& h2,& h3': {
2571
- fontWeight: '500',
2572
- '& b,& strong': {
2573
- fontWeight: '700'
2574
- }
2575
- }
2576
- },
2577
- sectionContainer: {
2578
- margin: '0 auto',
2579
- maxWidth: ({
2580
- containerWidth
2581
- } = {}) => containerWidth
2582
- },
2583
- subTitleHeading: {
2584
- marginBottom: '8px',
2585
- fontSize: '16px',
2586
- color: theme?.palette?.font?.tertiary,
2587
- alignItems: 'center',
2588
- textAlign: 'center',
2589
- wordBreak: 'break-word'
2590
- },
2591
- heading: {
2592
- margin: '0',
2593
- fontSize: '72px',
2594
- color: theme?.palette?.font?.default,
2595
- textAlign: 'center',
2596
- wordBreak: 'break-word'
2597
- },
2598
- contentContainer: {
2599
- display: 'flex',
2600
- flexDirection: 'column',
2601
- alignItems: 'center',
2602
- justifyContent: 'center',
2603
- width: '770px',
2604
- margin: 'auto'
2605
- },
2606
- content: {
2607
- display: 'flex',
2608
- width: 'calc(100% - 100px)',
2609
- alignItems: 'center',
2610
- background: theme?.palette?.background?.default,
2611
- boxShadow: theme?.shadows?.primary,
2612
- borderRadius: theme?.shape?.borderRadius?.regular,
2613
- overflow: 'hidden',
2614
- minHeight: 200,
2615
- margin: '16px 0',
2616
- position: 'relative',
2617
- '&:nth-child(2n)': {
2618
- alignSelf: 'flex-end',
2619
- '& $contentNumber': {
2620
- right: '0'
2621
- },
2622
- '& $contentText': {
2623
- marginRight: '200px'
2624
- }
2625
- },
2626
- '&:nth-child(2n+1)': {
2627
- alignSelf: 'flex-start',
2628
- '& $contentNumber': {
2629
- left: '0'
2630
- },
2631
- '& $contentText': {
2632
- marginLeft: '200px'
2760
+ const useSectionStyles$7 = createUseStyles(theme => {
2761
+ console.log('sdkjfndkjsnfk', theme);
2762
+ return {
2763
+ section: {
2764
+ width: '100%',
2765
+ padding: ({
2766
+ isMobile
2767
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2768
+ display: 'flex',
2769
+ justifyContent: 'center',
2770
+ flexDirection: 'column',
2771
+ alignItems: 'center',
2772
+ backgroundColor: theme?.palette?.background?.default,
2773
+ '&, & *, & *:before, & *:after': {
2774
+ fontFamily: theme?.typography?.fontFamily,
2775
+ boxSizing: 'border-box'
2633
2776
  }
2777
+ // '& h2,& h3': {
2778
+ // fontWeight: '500',
2779
+ // '& b,& strong': {
2780
+ // fontWeight: '700'
2781
+ // }
2782
+ // }
2634
2783
  },
2635
- '&:nth-child(7n+1) $contentNumber': {
2636
- background: palettes.purple.primary.lightest
2637
- },
2638
- '&:nth-child(7n+2) $contentNumber': {
2639
- background: palettes.orange.primary.lightest
2784
+
2785
+ sectionContainer: {
2786
+ margin: '0 auto',
2787
+ maxWidth: ({
2788
+ containerWidth
2789
+ } = {}) => containerWidth
2640
2790
  },
2641
- '&:nth-child(7n+3) $contentNumber': {
2642
- background: palettes.red.primary.lightest
2791
+ subTitleHeading: {
2792
+ marginBottom: '8px',
2793
+ fontSize: theme.typography.fontSize.subHead,
2794
+ color: theme?.palette?.font?.tertiary,
2795
+ alignItems: 'center',
2796
+ textAlign: 'center',
2797
+ wordBreak: 'break-word',
2798
+ textTransform: 'uppercase'
2643
2799
  },
2644
- '&:nth-child(7n+4) $contentNumber': {
2645
- background: palettes.green.primary.lightest
2646
- },
2647
- '&:nth-child(7n+5) $contentNumber': {
2648
- background: palettes.pink.primary.lightest
2649
- },
2650
- '&:nth-child(7n+6) $contentNumber': {
2651
- background: palettes.blue.primary.lightest
2652
- },
2653
- '&:nth-child(7n) $contentNumber': {
2654
- background: palettes.rust.primary.lightest
2655
- }
2656
- },
2657
- contentNumber: {
2658
- position: 'absolute',
2659
- top: '0',
2660
- fontWeight: '700',
2661
- fontSize: '72px',
2662
- letterSpacing: '-3px',
2663
- display: 'flex',
2664
- alignItems: 'center',
2665
- justifyContent: 'center',
2666
- height: '100%',
2667
- color: theme?.palette?.font?.default,
2668
- width: '200px',
2669
- wordBreak: 'break-word'
2670
- },
2671
- contentText: {
2672
- padding: '20px 0'
2673
- },
2674
- contentHeading: {
2675
- fontStyle: 'normal',
2676
- fontSize: '24px',
2677
- lineHeight: '32px',
2678
- color: theme?.palette?.font?.default,
2679
- margin: '0 48px',
2680
- wordBreak: 'break-word'
2681
- },
2682
- contentPara: {
2683
- fontStyle: 'normal',
2684
- fontSize: '16px',
2685
- lineHeight: '32px',
2686
- color: theme?.palette?.font?.primary,
2687
- margin: '20px 48px 0 48px',
2688
- wordBreak: 'break-word'
2689
- },
2690
- '@media screen and (max-width: 767px)': {
2691
- section: {
2692
- padding: '70px 20px'
2693
- },
2694
- textContainer: {
2695
- padding: '20px',
2696
- width: '100%'
2697
- },
2698
- heading: {
2699
- fontSize: '24px',
2700
- margin: '4px 0 12px 0'
2800
+ heading: {
2801
+ marginBottom: theme.spacing.margin.tiny,
2802
+ fontSize: theme.typography.fontSize.h2,
2803
+ color: theme?.palette?.font?.default,
2804
+ fontWeight: theme.typography.fontWeight.bold,
2805
+ textAlign: 'center',
2806
+ wordBreak: 'break-word'
2701
2807
  },
2702
2808
  contentContainer: {
2703
- width: '100%'
2809
+ display: 'flex',
2810
+ flexDirection: 'column',
2811
+ alignItems: 'center',
2812
+ justifyContent: 'center',
2813
+ width: '770px',
2814
+ margin: 'auto'
2704
2815
  },
2705
2816
  content: {
2706
2817
  display: 'flex',
2707
- flexDirection: 'column',
2708
- borderRadius: theme.shape.borderRadius.large,
2709
- margin: '20px 0 10px 0',
2710
- width: '100%',
2711
- height: 'auto',
2818
+ width: 'calc(100% - 100px)',
2819
+ alignItems: 'center',
2820
+ background: theme?.palette?.background?.default,
2821
+ boxShadow: theme?.shadows?.primary,
2822
+ borderRadius: theme?.shape?.borderRadius?.regular,
2823
+ overflow: 'hidden',
2824
+ minHeight: 200,
2825
+ marginBottom: theme.spacing.margin.small,
2826
+ position: 'relative',
2712
2827
  '&:nth-child(2n)': {
2713
- marginLeft: '0',
2828
+ alignSelf: 'flex-end',
2829
+ '& $contentNumber': {
2830
+ right: '0'
2831
+ },
2714
2832
  '& $contentText': {
2715
- marginRight: '0',
2716
- alignSelf: 'flex-start',
2717
- padding: '0'
2833
+ marginRight: '170px'
2718
2834
  }
2719
2835
  },
2720
2836
  '&:nth-child(2n+1)': {
2721
- marginRight: '0',
2837
+ alignSelf: 'flex-start',
2838
+ '& $contentNumber': {
2839
+ left: '0'
2840
+ },
2722
2841
  '& $contentText': {
2723
- marginLeft: '0',
2724
- alignSelf: 'flex-start',
2725
- padding: '0'
2842
+ marginLeft: '170px'
2726
2843
  }
2844
+ },
2845
+ '&:nth-child(7n+1) $contentNumber': {
2846
+ background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
2847
+ },
2848
+ '&:nth-child(7n+2) $contentNumber': {
2849
+ background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
2850
+ },
2851
+ '&:nth-child(7n+3) $contentNumber': {
2852
+ background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
2853
+ },
2854
+ '&:nth-child(7n+4) $contentNumber': {
2855
+ background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
2856
+ },
2857
+ '&:nth-child(7n+5) $contentNumber': {
2858
+ background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
2859
+ },
2860
+ '&:nth-child(7n+6) $contentNumber': {
2861
+ background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
2862
+ },
2863
+ '&:nth-child(7n) $contentNumber': {
2864
+ background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
2727
2865
  }
2728
2866
  },
2729
2867
  contentNumber: {
2730
- width: '100%',
2731
- padding: '40px 0',
2732
- position: 'static'
2868
+ position: 'absolute',
2869
+ top: '0',
2870
+ fontWeight: '700',
2871
+ fontSize: '72px',
2872
+ letterSpacing: '-3px',
2873
+ display: 'flex',
2874
+ alignItems: 'center',
2875
+ justifyContent: 'center',
2876
+ padding: '48px',
2877
+ height: '100%',
2878
+ color: theme?.isGradient ? theme?.themeGradient?.font4 : theme?.themeColors?.font4,
2879
+ wordBreak: 'break-word'
2880
+ },
2881
+ contentText: {
2882
+ padding: theme.spacing.padding.tiny
2733
2883
  },
2734
2884
  contentHeading: {
2735
- margin: '20px 20px 0 20px'
2885
+ fontStyle: 'normal',
2886
+ fontSize: theme.typography.fontSize.h5,
2887
+ fontWeight: theme.typography.fontWeight.bold,
2888
+ lineHeight: '32px',
2889
+ marginBottom: '8px',
2890
+ color: theme?.palette?.font?.default,
2891
+ wordBreak: 'break-word'
2736
2892
  },
2737
2893
  contentPara: {
2738
- margin: '16px 20px 24px 20px'
2894
+ fontStyle: 'normal',
2895
+ fontSize: theme.typography.fontSize.subHead,
2896
+ lineHeight: '32px',
2897
+ color: theme?.palette?.font?.primary,
2898
+ wordBreak: 'break-word'
2899
+ },
2900
+ '@media screen and (max-width: 767px)': {
2901
+ contentContainer: {
2902
+ width: '100%'
2903
+ },
2904
+ content: {
2905
+ display: 'flex',
2906
+ flexDirection: 'column',
2907
+ borderRadius: theme.shape.borderRadius.large,
2908
+ width: '100%',
2909
+ height: 'auto',
2910
+ '&:nth-child(2n)': {
2911
+ marginLeft: '0',
2912
+ '& $contentText': {
2913
+ marginRight: '0',
2914
+ alignSelf: 'flex-start'
2915
+ // padding: '0'
2916
+ }
2917
+ },
2918
+
2919
+ '&:nth-child(2n+1)': {
2920
+ marginRight: '0',
2921
+ '& $contentText': {
2922
+ marginLeft: '0',
2923
+ alignSelf: 'flex-start'
2924
+ // padding: '0'
2925
+ }
2926
+ }
2927
+ },
2928
+
2929
+ contentNumber: {
2930
+ width: '100%',
2931
+ padding: '24px',
2932
+ position: 'static'
2933
+ }
2739
2934
  }
2740
- }
2741
- }));
2935
+ };
2936
+ });
2742
2937
 
2743
2938
  function List({
2744
2939
  sectionData
@@ -2746,10 +2941,12 @@ function List({
2746
2941
  const {
2747
2942
  layout: {
2748
2943
  containerWidth
2749
- }
2944
+ },
2945
+ isMobile
2750
2946
  } = useContext(PageContext);
2751
2947
  const classes = useSectionStyles$7({
2752
- containerWidth
2948
+ containerWidth,
2949
+ isMobile
2753
2950
  });
2754
2951
  const [nodeData] = sectionData.components;
2755
2952
  const getNumber = val => {
@@ -2766,7 +2963,7 @@ function List({
2766
2963
  dangerouslySetInnerHTML: {
2767
2964
  __html: nodeData.cardHeading.metadata.value
2768
2965
  }
2769
- })), /*#__PURE__*/React.createElement("h2", {
2966
+ })), /*#__PURE__*/React.createElement("div", {
2770
2967
  className: classes.heading
2771
2968
  }, /*#__PURE__*/React.createElement("span", {
2772
2969
  ref: nodeData?.title?.refSetter,
@@ -2783,13 +2980,13 @@ function List({
2783
2980
  className: classes.contentNumber
2784
2981
  }, getNumber(ind + 1)), /*#__PURE__*/React.createElement("div", {
2785
2982
  className: classes.contentText
2786
- }, /*#__PURE__*/React.createElement("h3", {
2983
+ }, /*#__PURE__*/React.createElement("div", {
2787
2984
  ref: dt?.contentHeading?.refSetter,
2788
2985
  className: classes.contentHeading,
2789
2986
  dangerouslySetInnerHTML: {
2790
2987
  __html: dt.contentHeading.metadata.value
2791
2988
  }
2792
- }), /*#__PURE__*/React.createElement("p", {
2989
+ }), /*#__PURE__*/React.createElement("div", {
2793
2990
  ref: dt?.contentPara?.refSetter,
2794
2991
  className: classes.contentPara,
2795
2992
  dangerouslySetInnerHTML: {
@@ -2813,29 +3010,33 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2813
3010
  '&, & *, & *:before, & *:after': {
2814
3011
  fontFamily: theme?.typography?.fontFamily,
2815
3012
  boxSizing: 'border-box'
2816
- },
2817
- '& h2,& h3': {
2818
- fontWeight: '500',
2819
- '& b,& strong': {
2820
- fontWeight: '700'
2821
- }
2822
3013
  }
3014
+ // '& h2,& h3': {
3015
+ // fontWeight: '500',
3016
+ // '& b,& strong': {
3017
+ // fontWeight: '700'
3018
+ // }
3019
+ // }
2823
3020
  },
3021
+
2824
3022
  sectionContainer: {
2825
- margin: '0 auto',
2826
3023
  width: '100%',
2827
3024
  // maxWidth: ({ containerWidth } = {}) => containerWidth,
2828
3025
  position: 'absolute',
2829
- zIndex: '9'
3026
+ zIndex: '9',
3027
+ height: '100%'
2830
3028
  },
2831
3029
  absoluteButtons: {
2832
3030
  display: 'flex',
2833
3031
  gap: '20px',
2834
3032
  justifyContent: 'center',
2835
- bottom: '25px',
3033
+ bottom: '10%',
2836
3034
  position: 'absolute',
2837
3035
  width: '100%'
2838
3036
  },
3037
+ buttonClass: {
3038
+ margin: `${theme.spacing.margin.tiny}px 0px`
3039
+ },
2839
3040
  contentContainer: {
2840
3041
  // padding: '100px 0',
2841
3042
  // height: '100%',
@@ -2871,27 +3072,33 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2871
3072
  height: '100%'
2872
3073
  },
2873
3074
  textContainer: {
2874
- padding: '100px 0',
2875
- margin: '0 auto',
2876
- width: '80%'
3075
+ padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3076
+ // margin: `0px ${theme.spacing.padding.medium} 0px ${theme.spacing.padding.medium}`,
3077
+ width: '100%',
3078
+ height: '100%',
3079
+ display: 'flex',
3080
+ justifyContent: 'center',
3081
+ alignItems: 'center',
3082
+ flexDirection: 'column'
2877
3083
  },
2878
3084
  subTitleHeading: {
2879
3085
  color: theme?.palette?.font?.invertedDefault,
2880
3086
  marginBottom: '8px',
2881
- fontSize: '16px',
3087
+ fontSize: theme.typography.fontSize.subHead,
2882
3088
  wordBreak: 'break-word'
2883
3089
  },
2884
3090
  heading: {
2885
3091
  margin: '0',
2886
- fontSize: '62px',
3092
+ fontSize: theme.typography.fontSize.h1,
2887
3093
  color: theme?.palette?.font?.invertedDefault,
2888
3094
  wordBreak: 'break-word'
2889
3095
  },
2890
3096
  description: {
2891
- margin: '40px 0',
3097
+ margin: `${theme.spacing.margin.tiny}px 0px`,
2892
3098
  color: theme?.palette?.font?.invertedDefault,
2893
3099
  lineHeight: '24px',
2894
- wordBreak: 'break-word'
3100
+ wordBreak: 'break-word',
3101
+ fontSize: theme.typography.fontSize.subHead
2895
3102
  },
2896
3103
  sideBannerImage: {
2897
3104
  width: '100%',
@@ -2909,22 +3116,19 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2909
3116
  justifyContent: 'center',
2910
3117
  padding: '0px'
2911
3118
  },
2912
- textContainer: {
2913
- padding: '20px 20px',
2914
- height: '100%',
2915
- width: '100%'
2916
- // backgroundColor: theme?.palette?.background?.primary
2917
- },
2918
-
3119
+ // textContainer: {
3120
+ // padding: '20px 20px',
3121
+ // height: '100%',
3122
+ // width: '100%'
3123
+ // // backgroundColor: theme?.palette?.background?.primary
3124
+ // },
2919
3125
  subTitleHeading: {
2920
3126
  color: theme?.palette?.font?.tertiary
2921
3127
  },
2922
3128
  heading: {
2923
- fontSize: '40px',
2924
3129
  color: theme?.palette?.font?.default
2925
3130
  },
2926
3131
  description: {
2927
- margin: '16px 0',
2928
3132
  color: theme?.palette?.font?.primary
2929
3133
  },
2930
3134
  centerBgImageContainer: {
@@ -2991,12 +3195,14 @@ const Section$3 = ({
2991
3195
  dangerouslySetInnerHTML: {
2992
3196
  __html: nodeData.description.metadata.value
2993
3197
  }
2994
- }) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement(Button, {
3198
+ }) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement("div", {
3199
+ className: classes.buttonClass
3200
+ }, /*#__PURE__*/React.createElement(Button, {
2995
3201
  ref: nodeData?.cta?.refSetter,
2996
3202
  data: nodeData.cta.metadata,
2997
3203
  type: nodeData?.cta?.metadata?.type,
2998
3204
  size: isMobile ? 'small' : 'medium'
2999
- })) : null), /*#__PURE__*/React.createElement("div", {
3205
+ }))) : null), /*#__PURE__*/React.createElement("div", {
3000
3206
  className: classes?.centerBgImageContainer
3001
3207
  }, /*#__PURE__*/React.createElement(NextImageRenderer, {
3002
3208
  src: nodeData.image.metadata.value,
@@ -3038,15 +3244,16 @@ var index$j = /*#__PURE__*/Object.freeze({
3038
3244
  const useSectionStyles$5 = createUseStyles(theme => {
3039
3245
  return {
3040
3246
  section: {
3041
- paddingBottom: '70px',
3247
+ paddingBottom: `${theme?.spacing?.padding?.regular}px`,
3248
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
3042
3249
  '&, & *, & *:before, & *:after': {
3043
3250
  fontFamily: theme?.typography?.fontFamily,
3044
3251
  boxSizing: 'border-box'
3045
3252
  },
3046
3253
  '& h2,& h3': {
3047
- fontWeight: '500',
3254
+ fontWeight: `${theme?.typography?.fontWeight?.medium}`,
3048
3255
  '& b,& strong': {
3049
- fontWeight: '700'
3256
+ fontWeight: `${theme?.typography?.fontWeight?.bold}`
3050
3257
  }
3051
3258
  }
3052
3259
  },
@@ -3060,7 +3267,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3060
3267
  display: 'flex',
3061
3268
  alignItems: 'center',
3062
3269
  justifyContent: 'center',
3063
- padding: '140px 70px 0'
3270
+ padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
3064
3271
  },
3065
3272
  imageContainerDiv: {
3066
3273
  width: '50%',
@@ -3079,7 +3286,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3079
3286
  }
3080
3287
  },
3081
3288
  imageBorder: {
3082
- border: `2px solid ${theme?.palette?.primary?.light}`,
3289
+ // border: `2px solid ${theme?.palette?.primary?.light}`,
3083
3290
  borderRadius: theme?.shape?.borderRadius?.small,
3084
3291
  position: 'absolute',
3085
3292
  width: '100%',
@@ -3095,26 +3302,26 @@ const useSectionStyles$5 = createUseStyles(theme => {
3095
3302
  objectFit: 'cover'
3096
3303
  },
3097
3304
  textContainer: {
3098
- padding: '0 60px',
3305
+ padding: `0 ${theme?.spacing?.padding?.xSmall}px`,
3099
3306
  textAlign: 'left',
3100
3307
  margin: '0 auto',
3101
3308
  width: '50%'
3102
3309
  },
3103
3310
  subTitleHeading: {
3104
3311
  marginBottom: '8px',
3105
- fontSize: '16px',
3312
+ fontSize: `${theme?.typography?.fontSize?.subHead}px`,
3106
3313
  color: theme?.palette?.font?.tertiary,
3107
3314
  wordBreak: 'break-word'
3108
3315
  },
3109
3316
  heading: {
3110
3317
  margin: '0',
3111
- fontSize: '72px',
3318
+ fontSize: `${theme?.typography?.fontSize?.h1}px`,
3112
3319
  color: theme?.palette?.font?.default,
3113
3320
  wordBreak: 'break-word'
3114
3321
  },
3115
3322
  description: {
3116
3323
  margin: '40px 0',
3117
- color: theme?.palette?.font?.primary,
3324
+ // color: theme?.palette?.font?.primary,
3118
3325
  lineHeight: '24px',
3119
3326
  wordBreak: 'break-word'
3120
3327
  },
@@ -3123,9 +3330,9 @@ const useSectionStyles$5 = createUseStyles(theme => {
3123
3330
  padding: '0 0 40px'
3124
3331
  },
3125
3332
  centerData: {
3126
- flexDirection: 'column',
3333
+ flexDirection: 'column-reverse',
3127
3334
  width: '100%',
3128
- padding: '0'
3335
+ padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
3129
3336
  },
3130
3337
  imageContainer: {
3131
3338
  height: 'unset !important',
@@ -3145,11 +3352,11 @@ const useSectionStyles$5 = createUseStyles(theme => {
3145
3352
  height: 'unset !important'
3146
3353
  },
3147
3354
  textContainer: {
3148
- padding: '20px 20px',
3355
+ padding: `${theme?.spacing?.padding?.regular}px 0px`,
3149
3356
  width: 'unset'
3150
3357
  },
3151
3358
  heading: {
3152
- fontSize: '40px'
3359
+ fontSize: `${theme?.typography?.fontSize?.h3}px`
3153
3360
  },
3154
3361
  description: {
3155
3362
  margin: '16px 0'
@@ -3183,8 +3390,6 @@ function Section$2({
3183
3390
  ref: nodeData?.image?.refSetter,
3184
3391
  className: classes.sideBannerImage,
3185
3392
  sectionIndex: sectionIndex
3186
- }), /*#__PURE__*/React.createElement("div", {
3187
- className: classes.imageBorder
3188
3393
  }))), /*#__PURE__*/React.createElement("div", {
3189
3394
  className: classes.textContainer
3190
3395
  }, /*#__PURE__*/React.createElement("div", {
@@ -3255,18 +3460,21 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3255
3460
  width: '100%',
3256
3461
  alignItems: 'center',
3257
3462
  justifyContent: 'center',
3258
- padding: '60px 70px',
3463
+ padding: ({
3464
+ isMobile
3465
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3259
3466
  '&, & *, & *:before, & *:after': {
3260
3467
  fontFamily: theme?.typography?.fontFamily,
3261
3468
  boxSizing: 'border-box'
3262
- },
3263
- '& h2,& h3': {
3264
- fontWeight: '500',
3265
- '& b,& strong': {
3266
- fontWeight: '700'
3267
- }
3268
3469
  }
3470
+ // '& h2,& h3': {
3471
+ // fontWeight: '500',
3472
+ // '& b,& strong': {
3473
+ // fontWeight: '700'
3474
+ // }
3475
+ // }
3269
3476
  },
3477
+
3270
3478
  newsLetterContainer: {
3271
3479
  margin: '0 auto',
3272
3480
  maxWidth: ({
@@ -3278,22 +3486,24 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3278
3486
  left: '0',
3279
3487
  width: '100%',
3280
3488
  height: '50%',
3281
- position: 'absolute',
3282
- background: theme?.palette?.background?.primary
3489
+ position: 'absolute'
3490
+ // background: theme?.palette?.background?.primary
3283
3491
  },
3492
+
3284
3493
  sectionContainer: {
3285
- backgroundColor: theme?.palette?.background?.default,
3494
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
3286
3495
  boxShadow: theme?.shadows?.secondary,
3287
3496
  borderRadius: theme?.shape?.borderRadius?.regular,
3288
- padding: '40px 80px',
3497
+ padding: theme.spacing.padding.small,
3289
3498
  position: 'relative'
3290
3499
  },
3291
3500
  cardHeading: {
3292
- fontSize: '56px',
3501
+ fontSize: theme.typography.fontSize.h2,
3502
+ fontWeight: theme.typography.fontWeight.bold,
3293
3503
  lineHeight: '71px',
3294
3504
  letterSpacing: '-3px',
3295
3505
  color: theme?.palette?.font?.secondary,
3296
- margin: '0 0 32px 0',
3506
+ marginBottom: theme.spacing.padding.tiny,
3297
3507
  wordBreak: 'break-word'
3298
3508
  },
3299
3509
  contentContainer: {
@@ -3302,10 +3512,9 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3302
3512
  justifyContent: 'space-between'
3303
3513
  },
3304
3514
  title: {
3305
- fontSize: '20px',
3515
+ fontSize: theme.typography.fontSize.h6,
3306
3516
  lineHeight: '32px',
3307
3517
  color: theme?.palette?.font?.primary,
3308
- margin: '0 80px 0 0',
3309
3518
  width: 'calc(50% - 80px)',
3310
3519
  wordBreak: 'break-word'
3311
3520
  },
@@ -3343,42 +3552,44 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3343
3552
  section: {
3344
3553
  display: 'flex',
3345
3554
  flexDirection: 'column',
3346
- alignItems: 'center',
3347
- padding: '30px 20px'
3555
+ alignItems: 'center'
3348
3556
  },
3349
3557
  sectionContainer: {
3350
- padding: '30px 20px',
3351
- borderRadius: theme?.shape?.borderRadius?.large
3558
+ borderRadius: theme?.shape?.borderRadius?.large,
3559
+ textAlign: 'center',
3560
+ display: 'flex',
3561
+ alignItems: 'center',
3562
+ flexDirection: 'column'
3352
3563
  },
3353
3564
  partialBackground: {
3354
3565
  height: '150px'
3355
3566
  },
3356
3567
  title: {
3357
3568
  width: '100%',
3358
- margin: '0',
3359
- fontSize: '20px',
3360
- lineHeight: '32px'
3569
+ lineHeight: '22px',
3570
+ margin: '0px 0px 16px 0px'
3361
3571
  },
3362
3572
  cardHeading: {
3363
- fontSize: '24px',
3364
3573
  lineHeight: '32px',
3365
3574
  letterSpacing: '-1px',
3366
- marginBottom: '20px'
3575
+ width: '50%',
3576
+ lineHeight: 'normal'
3367
3577
  },
3368
3578
  contentContainer: {
3369
3579
  display: 'flex',
3370
3580
  flexDirection: 'column',
3371
- justifyContent: 'flex-start'
3581
+ justifyContent: 'flex-start',
3582
+ textAlign: 'center'
3372
3583
  },
3373
3584
  inputContainer: {
3374
3585
  display: 'block',
3375
3586
  width: '100%',
3376
- margin: '24px 16px 0 16px',
3377
3587
  position: 'initial'
3378
3588
  },
3379
3589
  btnContainer: {
3380
3590
  right: 'unset',
3381
- position: 'initial'
3591
+ position: 'initial',
3592
+ marginTop: '4px'
3382
3593
  }
3383
3594
  }
3384
3595
  }));
@@ -3426,56 +3637,59 @@ async function postApiCallForm(baseURLs, data, extraProps) {
3426
3637
  }
3427
3638
  }
3428
3639
 
3429
- const inputStyles = createUseStyles(theme => ({
3430
- inputField: {
3431
- width: '100%',
3432
- maxWidth: '314px',
3433
- background: theme?.palette?.background?.default,
3434
- border: `1px solid ${theme?.palette?.border?.secondary}`,
3435
- borderRadius: theme?.shape?.borderRadius?.regular,
3436
- padding: '14px 12px',
3437
- display: 'flex',
3438
- fontWeight: '400',
3439
- fontSize: '16px',
3440
- lineHeight: '20px',
3441
- verticalalign: 'top',
3442
- resize: 'none',
3443
- fontFamily: 'inherit',
3444
- '&::placeholder': {
3640
+ const inputStyles = createUseStyles(theme => {
3641
+ console.log('themexxxxdsf', theme);
3642
+ return {
3643
+ inputField: {
3644
+ width: '100%',
3645
+ maxWidth: '314px',
3646
+ background: theme?.palette?.background?.default,
3647
+ border: `1px solid ${theme?.isGradient ? theme?.themeGradient?.AccentColor : theme?.themeColors?.inputBorderColor}`,
3648
+ borderRadius: theme?.shape?.borderRadius?.regular,
3649
+ padding: '14px 12px',
3650
+ display: 'flex',
3445
3651
  fontWeight: '400',
3446
3652
  fontSize: '16px',
3447
3653
  lineHeight: '20px',
3448
- color: theme?.palette?.font?.primary,
3449
- fontFamily: theme?.typography?.fontFamily
3654
+ verticalalign: 'top',
3655
+ resize: 'none',
3656
+ fontFamily: 'inherit',
3657
+ '&::placeholder': {
3658
+ fontWeight: '400',
3659
+ fontSize: '16px',
3660
+ lineHeight: '20px',
3661
+ color: theme?.palette?.font?.primary,
3662
+ fontFamily: theme?.typography?.fontFamily
3663
+ },
3664
+ '&:focus': {
3665
+ outline: 'none'
3666
+ }
3450
3667
  },
3451
- '&:focus': {
3452
- outline: 'none'
3453
- }
3454
- },
3455
- error: {
3456
- borderBottom: '1px solid red',
3457
- position: 'absolute',
3458
- bottom: '-8px',
3459
- width: 'calc(100% - 24px)'
3460
- },
3461
- errorBorder: {
3462
- border: `1px solid red`,
3463
- color: 'red',
3464
- '&::placeholder': {
3668
+ error: {
3669
+ borderBottom: '1px solid red',
3670
+ position: 'absolute',
3671
+ bottom: '-8px',
3672
+ width: 'calc(100% - 24px)'
3673
+ },
3674
+ errorBorder: {
3675
+ border: `1px solid red`,
3465
3676
  color: 'red',
3466
- opacity: '0.5'
3467
- }
3468
- },
3469
- '@media screen and (max-width: 767px)': {
3470
- inputField: {
3471
- width: '100%',
3472
- maxWidth: 'unset'
3677
+ '&::placeholder': {
3678
+ color: 'red',
3679
+ opacity: '0.5'
3680
+ }
3473
3681
  },
3474
- error: {
3475
- bottom: '-2px'
3682
+ '@media screen and (max-width: 767px)': {
3683
+ inputField: {
3684
+ width: '100%',
3685
+ maxWidth: 'unset'
3686
+ },
3687
+ error: {
3688
+ bottom: '-2px'
3689
+ }
3476
3690
  }
3477
- }
3478
- }));
3691
+ };
3692
+ });
3479
3693
 
3480
3694
  function Input({
3481
3695
  data,
@@ -3488,9 +3702,12 @@ function Input({
3488
3702
  const {
3489
3703
  onChange,
3490
3704
  onBlur,
3491
- onFocus
3705
+ onFocus,
3706
+ theme
3492
3707
  } = props;
3493
- const classes = inputStyles();
3708
+ const classes = inputStyles({
3709
+ theme
3710
+ });
3494
3711
  const Comp = inputType;
3495
3712
  return /*#__PURE__*/React.createElement(Comp, _extends({}, inputType === 'input' ? {
3496
3713
  type: 'text'
@@ -3523,7 +3740,8 @@ function SubscribeToNewsletter({
3523
3740
  } = useContext(PageContext);
3524
3741
  const [nodeData] = sectionData.components;
3525
3742
  const classes = useSectionStyles$4({
3526
- containerWidth
3743
+ containerWidth,
3744
+ isMobile
3527
3745
  });
3528
3746
  let formInitialValue = nodeData?.inputField?.metadata?.value;
3529
3747
  const [inputVal, setInputVal] = useState(formInitialValue);
@@ -3569,7 +3787,7 @@ function SubscribeToNewsletter({
3569
3787
  className: classes.partialBackground
3570
3788
  }), /*#__PURE__*/React.createElement("div", {
3571
3789
  className: classes.sectionContainer
3572
- }, /*#__PURE__*/React.createElement("h2", {
3790
+ }, /*#__PURE__*/React.createElement("div", {
3573
3791
  className: classes.cardHeading
3574
3792
  }, /*#__PURE__*/React.createElement("span", {
3575
3793
  ref: nodeData?.cardHeading?.refSetter,
@@ -3620,12 +3838,14 @@ function SubscribeToNewsletter({
3620
3838
  type: nodeData?.cta?.metadata?.type,
3621
3839
  size: isMobile ? 'small' : 'medium',
3622
3840
  styling: isMobile ? {
3623
- marginTop: '12px'
3841
+ marginTop: '12px',
3842
+ border: 'none'
3624
3843
  } : {
3625
3844
  maxWidth: '200px',
3626
3845
  whiteSpace: 'nowrap',
3627
3846
  overflow: 'hidden',
3628
- textOverflow: 'ellipsis'
3847
+ textOverflow: 'ellipsis',
3848
+ border: 'none'
3629
3849
  },
3630
3850
  disabled: btnDisabled
3631
3851
  })))))));
@@ -3636,171 +3856,181 @@ var index$h = /*#__PURE__*/Object.freeze({
3636
3856
  'default': SubscribeToNewsletter
3637
3857
  });
3638
3858
 
3639
- const useTestimonialStyles = createUseStyles(theme => {
3640
- return {
3859
+ const useTestimonialStyles = createUseStyles(theme => ({
3860
+ testimonialContainer: {
3861
+ // background: theme?.palette?.background?.primary,
3862
+ overflow: 'hidden',
3863
+ padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3864
+ '&, & *, & *:before, & *:after': {
3865
+ fontFamily: theme?.typography?.fontFamily,
3866
+ boxSizing: 'border-box'
3867
+ }
3868
+ // '& h2,& h3': {
3869
+ // fontWeight: '500',
3870
+ // '& b,& strong': {
3871
+ // fontWeight: '700'
3872
+ // }
3873
+ // }
3874
+ },
3875
+
3876
+ sectionContainer: {
3877
+ margin: '0 auto',
3878
+ maxWidth: ({
3879
+ containerWidth
3880
+ } = {}) => containerWidth
3881
+ },
3882
+ testimonialText: {
3883
+ color: theme?.palette?.font?.secondary,
3884
+ fontSize: theme.typography.fontSize.subHead,
3885
+ wordBreak: 'break-word',
3886
+ textTransform: 'uppercase'
3887
+ },
3888
+ testimonialHeader: {
3889
+ fontSize: theme.typography.fontSize.h2,
3890
+ color: theme?.palette?.font?.default,
3891
+ fontWeight: theme.typography.fontWeight.bold,
3892
+ marginBottom: theme.spacing.margin.tiny,
3893
+ marginTop: '8px',
3894
+ overflow: 'hidden',
3895
+ wordBreak: 'break-word',
3896
+ // whiteSpace: 'nowrap',
3897
+ textOverflow: 'ellipsis'
3898
+ },
3899
+ sliderContainer: {
3900
+ marginRight: `-${theme.spacing.margin.regular}px`
3901
+ },
3902
+ singleCard: {
3903
+ // margin: '6px 12px',
3904
+ position: 'relative',
3905
+ height: 'calc(100% - 12px)',
3906
+ width: 'calc(100% - 24px)',
3907
+ background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background1,
3908
+ boxShadow: theme?.shadows?.primary,
3909
+ borderRadius: theme?.shape?.borderRadius?.regular
3910
+ },
3911
+ contentRow: {
3912
+ display: 'grid',
3913
+ gridTemplateColumns: ({
3914
+ slidesToShow
3915
+ } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
3916
+ },
3917
+ cardDetails: {
3918
+ height: '100%',
3919
+ display: 'flex',
3920
+ flexDirection: 'column',
3921
+ justifyContent: 'space-between',
3922
+ padding: '48px',
3923
+ borderRadius: '8px',
3924
+ alignItems: 'flex-start'
3925
+ },
3926
+ quoteIcon: {
3927
+ position: 'absolute',
3928
+ right: '20px'
3929
+ },
3930
+ reviewText: {
3931
+ // padding: '48px 41px 0 48px',
3932
+ marginBottom: theme.spacing.margin.tiny,
3933
+ fontSize: theme.typography.fontSize.subHead,
3934
+ wordBreak: 'break-word',
3935
+ color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font2,
3936
+ lineHeight: '22px'
3937
+ },
3938
+ userContainer: {
3939
+ display: 'flex',
3940
+ gap: '16px',
3941
+ alignItems: 'center'
3942
+ },
3943
+ userImageContainer: {
3944
+ width: '64px',
3945
+ height: '64px',
3946
+ position: 'relative',
3947
+ // paddingBottom: '55px',
3948
+ objectFit: 'cover'
3949
+ },
3950
+ userImageDummy: {
3951
+ width: '64px',
3952
+ height: '64px',
3953
+ borderRadius: '32px',
3954
+ background: '#666666',
3955
+ marginRight: '16px',
3956
+ flexShrink: '0'
3957
+ },
3958
+ userImage: {
3959
+ width: '64px',
3960
+ height: '64px',
3961
+ borderRadius: '32px',
3962
+ marginRight: '16px'
3963
+ },
3964
+ userName: {
3965
+ color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font2,
3966
+ margin: '0',
3967
+ fontSize: theme.typography.fontSize.h5,
3968
+ // paddingTop: '16px',
3969
+ overflow: 'hidden',
3970
+ whiteSpace: 'nowrap',
3971
+ textOverflow: 'ellipsis'
3972
+ },
3973
+ buttonContainer: {
3974
+ display: 'flex',
3975
+ gap: '20px',
3976
+ justifyContent: 'center',
3977
+ // paddingRight: theme.spacing.padding.medium,
3978
+ marginTop: theme.spacing.margin.tiny
3979
+ },
3980
+ '@media (max-width: 768px)': {
3641
3981
  testimonialContainer: {
3642
- background: theme?.palette?.background?.primary,
3643
- overflow: 'hidden',
3644
- padding: '70px',
3645
- '&, & *, & *:before, & *:after': {
3646
- fontFamily: theme?.typography?.fontFamily,
3647
- boxSizing: 'border-box'
3648
- },
3649
- '& h2,& h3': {
3650
- fontWeight: '500',
3651
- '& b,& strong': {
3652
- fontWeight: '700'
3653
- }
3654
- }
3655
- },
3656
- sectionContainer: {
3657
- margin: '0 auto',
3658
- maxWidth: ({
3659
- containerWidth
3660
- } = {}) => containerWidth
3661
- },
3662
- testimonialCardAndText: {
3663
- marginTop: '70px'
3664
- },
3665
- testimonialText: {
3666
- color: theme?.palette?.font?.secondary,
3667
- fontSize: '16px',
3668
- marginLeft: '10px',
3669
- wordBreak: 'break-word'
3670
- },
3671
- testimonialHeader: {
3672
- fontSize: '56px',
3673
- color: theme?.palette?.font?.default,
3674
- margin: '10px 0 40px 10px',
3675
- overflow: 'hidden',
3676
- wordBreak: 'break-word',
3677
- // whiteSpace: 'nowrap',
3678
- textOverflow: 'ellipsis'
3679
- },
3680
- sliderContainer: {
3681
- marginRight: '-20px'
3682
- },
3683
- singleCard: {
3684
- margin: '6px 12px',
3685
- position: 'relative',
3686
- height: 'calc(100% - 12px)',
3687
- width: 'calc(100% - 24px)',
3688
- background: theme?.palette?.background?.default,
3689
- boxShadow: theme?.shadows?.primary,
3690
- borderRadius: theme?.shape?.borderRadius?.regular
3691
- },
3692
- contentRow: {
3693
- display: 'grid',
3694
- gridTemplateColumns: ({
3695
- slidesToShow
3696
- } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
3697
- },
3698
- cardDetails: {
3699
- height: '100%',
3700
- display: 'flex',
3701
- flexDirection: 'column',
3702
- justifyContent: 'space-between'
3703
- },
3704
- quoteIcon: {
3705
- position: 'absolute',
3706
- right: '20px'
3707
- },
3708
- reviewText: {
3709
- padding: '48px 41px 0 48px',
3710
- marginBottom: '48px',
3711
- fontSize: '18px',
3712
- wordBreak: 'break-word',
3713
- color: theme?.palette?.font?.primary
3714
- },
3715
- userContainer: {
3716
- display: 'flex',
3717
- gap: '15px',
3718
- padding: '0 0 29px 48px'
3719
- },
3720
- userImageContainer: {
3721
- width: '64px',
3722
- height: '64px',
3723
- position: 'relative',
3724
- // paddingBottom: '55px',
3725
- objectFit: 'cover'
3726
- },
3982
+ padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
3983
+ },
3984
+ // testimonialCardAndText: {
3985
+ // margin: '0 20px'
3986
+ // },
3987
+
3988
+ // testimonialHeader: {
3989
+ // fontSize: '24px',
3990
+ // color: theme?.palette?.font?.default,
3991
+ // margin: '4px 0 12px 0',
3992
+ // overflow: 'hidden',
3993
+ // // whiteSpace: 'nowrap',
3994
+ // wordBreak: 'break-word',
3995
+ // textOverflow: 'ellipsis'
3996
+ // },
3727
3997
  userImageDummy: {
3728
- width: '64px',
3729
- height: '64px',
3730
- borderRadius: '32px',
3731
- background: '#666666',
3732
- marginRight: '16px',
3733
- flexShrink: '0'
3998
+ width: '48px',
3999
+ height: '48px',
4000
+ borderRadius: '24px',
4001
+ marginRight: '16px'
3734
4002
  },
3735
4003
  userImage: {
3736
- width: '64px',
3737
- height: '64px',
3738
- borderRadius: '32px',
4004
+ width: '48px',
4005
+ height: '48px',
4006
+ borderRadius: '24px',
3739
4007
  marginRight: '16px'
3740
4008
  },
4009
+ reviewText: {
4010
+ marginBottom: '16px'
4011
+ },
4012
+ singleCard: {
4013
+ margin: '6px 2px',
4014
+ width: 'calc(100% - 14px)'
4015
+ },
3741
4016
  userName: {
3742
- color: theme?.palette?.font?.default,
3743
- margin: '0',
3744
- fontSize: '24px',
3745
- paddingTop: '16px',
4017
+ // paddingTop: '8px',
3746
4018
  overflow: 'hidden',
3747
4019
  whiteSpace: 'nowrap',
3748
4020
  textOverflow: 'ellipsis'
3749
4021
  },
3750
- buttonContainer: {
3751
- display: 'flex',
3752
- width: '120px',
3753
- justifyContent: 'space-between',
3754
- margin: '36px auto 81px auto'
4022
+ userImageContainer: {
4023
+ width: '48px',
4024
+ height: '48px'
3755
4025
  },
3756
- '@media (max-width: 768px)': {
3757
- testimonialContainer: {
3758
- padding: '60px 0'
3759
- },
3760
- testimonialCardAndText: {
3761
- margin: '0 20px'
3762
- },
3763
- testimonialHeader: {
3764
- fontSize: '24px',
3765
- color: theme?.palette?.font?.default,
3766
- margin: '4px 0 12px 0',
3767
- overflow: 'hidden',
3768
- // whiteSpace: 'nowrap',
3769
- wordBreak: 'break-word',
3770
- textOverflow: 'ellipsis'
3771
- },
3772
- userImageDummy: {
3773
- width: '48px',
3774
- height: '48px',
3775
- borderRadius: '24px',
3776
- marginRight: '16px'
3777
- },
3778
- userImage: {
3779
- width: '48px',
3780
- height: '48px',
3781
- borderRadius: '24px',
3782
- marginRight: '16px'
3783
- },
3784
- reviewText: {
3785
- marginBottom: '40px'
3786
- },
3787
- singleCard: {
3788
- margin: '6px 2px',
3789
- width: 'calc(100% - 4px)'
3790
- },
3791
- userName: {
3792
- paddingTop: '8px',
3793
- overflow: 'hidden',
3794
- whiteSpace: 'nowrap',
3795
- textOverflow: 'ellipsis'
3796
- },
3797
- userImageContainer: {
3798
- width: '48px',
3799
- height: '48px'
3800
- }
4026
+ cardDetails: {
4027
+ padding: '16px'
3801
4028
  }
3802
- };
3803
- });
4029
+ // sliderContainer: {
4030
+ // marginRight: '-24px'
4031
+ // },
4032
+ }
4033
+ }));
3804
4034
 
3805
4035
  function QuotesComponent() {
3806
4036
  const theme = useTheme();
@@ -3828,13 +4058,14 @@ function Section$1({
3828
4058
  const classes = useTestimonialStyles({
3829
4059
  containerWidth,
3830
4060
  cardsCount,
3831
- slidesToShow
4061
+ slidesToShow,
4062
+ isMobile
3832
4063
  });
3833
4064
  const settings = {
3834
4065
  className: classes.sliderContainer,
3835
4066
  slidesToShow,
3836
4067
  centerMode: true,
3837
- centerPadding: isMobile ? '10px 0 0' : '80px 0 0'
4068
+ centerPadding: isMobile ? '0px 0 0' : '80px 0 0'
3838
4069
  };
3839
4070
  const carouselContent = carouselList.map((el, idx) =>
3840
4071
  /*#__PURE__*/
@@ -3848,7 +4079,7 @@ function Section$1({
3848
4079
  className: classes.quoteIcon
3849
4080
  }, /*#__PURE__*/React.createElement(QuotesComponent, null)), /*#__PURE__*/React.createElement("div", {
3850
4081
  className: classes.cardDetails
3851
- }, /*#__PURE__*/React.createElement("p", {
4082
+ }, /*#__PURE__*/React.createElement("div", {
3852
4083
  ref: el?.cardTextContent?.refSetter,
3853
4084
  className: classes.reviewText,
3854
4085
  dangerouslySetInnerHTML: {
@@ -3893,7 +4124,7 @@ function Section$1({
3893
4124
  dangerouslySetInnerHTML: {
3894
4125
  __html: nodeData?.carouselHeading?.metadata?.value
3895
4126
  }
3896
- })), /*#__PURE__*/React.createElement("h2", {
4127
+ })), /*#__PURE__*/React.createElement("div", {
3897
4128
  className: classes.testimonialHeader
3898
4129
  }, /*#__PURE__*/React.createElement("span", {
3899
4130
  ref: nodeData?.title?.refSetter,
@@ -4105,20 +4336,23 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4105
4336
  videoTestimonialSuperContainer: {
4106
4337
  display: 'flex',
4107
4338
  justifyContent: 'center',
4108
- padding: '70px',
4339
+ padding: ({
4340
+ isMobile
4341
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4109
4342
  '&, & *, & *:before, & *:after': {
4110
- fontFamily: theme?.typography?.fontFamily,
4111
- boxSizing: 'border-box'
4112
- },
4113
- '& h2,& h3': {
4114
- fontWeight: '500',
4115
- '& b,& strong': {
4116
- fontWeight: '700'
4117
- }
4343
+ fontFamily: theme?.typography?.fontFamily
4344
+ // boxSizing: 'border-box'
4118
4345
  }
4346
+ // '& h2,& h3': {
4347
+ // fontWeight: '500',
4348
+ // '& b,& strong': {
4349
+ // fontWeight: '700'
4350
+ // }
4351
+ // }
4119
4352
  },
4353
+
4120
4354
  sectionContainer: {
4121
- margin: '0 auto',
4355
+ // margin: '0 auto',
4122
4356
  maxWidth: ({
4123
4357
  containerWidth
4124
4358
  } = {}) => containerWidth
@@ -4129,29 +4363,28 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4129
4363
  fontFamily: theme?.typography?.fontFamily
4130
4364
  },
4131
4365
  videoTestimonialHeading: {
4132
- fontSize: '16px',
4366
+ fontSize: theme.typography.fontSize.subHead,
4133
4367
  lineHeight: '20px',
4134
4368
  letterSpacing: '3px',
4135
4369
  textTransform: 'uppercase',
4136
4370
  color: theme.palette.font.tertiary,
4137
- wordBreak: 'break-word'
4371
+ wordBreak: 'break-word',
4372
+ marginBottom: '8px'
4138
4373
  },
4139
4374
  videoTestimonialTitle: {
4140
- fontSize: '56px',
4141
- lineHeight: '71px',
4375
+ fontSize: theme.typography.fontSize.h1,
4376
+ // lineHeight: '71px',
4142
4377
  letterSpacing: '-3px',
4143
- margin: '0',
4378
+ fontWeight: theme.typography.fontWeight.bold,
4379
+ marginBottom: theme.spacing.margin.tiny,
4144
4380
  color: theme.palette.font.default,
4145
4381
  wordBreak: 'break-word'
4146
4382
  },
4147
- videoCarouselContainer: {
4148
- marginTop: '16px'
4149
- },
4150
4383
  videoCarousel: {
4151
4384
  display: 'flex',
4152
4385
  alignItems: 'center',
4153
4386
  justifyContent: 'flex-start',
4154
- gap: '60px'
4387
+ gap: theme.spacing.margin.small
4155
4388
  },
4156
4389
  iframeSuperContainer: {
4157
4390
  height: '100%',
@@ -4173,57 +4406,49 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4173
4406
  videoDetails: {
4174
4407
  width: '100%',
4175
4408
  display: 'flex',
4409
+ gap: '24px',
4176
4410
  flexDirection: 'column',
4177
4411
  alignItems: 'flex-start'
4178
4412
  },
4179
4413
  videoDetailsHeading: {
4180
- fontSize: '40px',
4414
+ fontSize: theme.typography.fontSize.h3,
4181
4415
  lineHeight: '48px',
4182
4416
  margin: '0',
4183
4417
  letterSpacing: '-1px',
4184
4418
  wordBreak: 'break-word',
4185
- color: theme.palette.font.default
4419
+ color: theme.palette.font.default,
4420
+ fontWeight: theme.typography.fontWeight.bold
4186
4421
  },
4187
4422
  videoDetailsContent: {
4188
- fontSize: '16px',
4423
+ fontSize: theme.typography.fontSize.subHead,
4189
4424
  lineHeight: '24px',
4190
4425
  wordBreak: 'break-word',
4191
- color: theme.palette.font.primary,
4192
- margin: '10px 0 20px'
4426
+ color: theme.palette.font.primary
4193
4427
  },
4194
4428
  videoDetailsSubContent: {
4195
- fontSize: '16px',
4429
+ fontSize: theme.typography.fontSize.subHead,
4196
4430
  lineHeight: '24px',
4197
4431
  margin: '0',
4198
4432
  color: theme.palette.font.primary,
4199
4433
  wordBreak: 'break-word'
4200
4434
  },
4201
4435
  '@media (max-width: 767px)': {
4202
- videoTestimonialSuperContainer: {
4203
- padding: '70px 10px 60px 20px'
4204
- },
4205
4436
  videoCarousel: {
4206
- flexDirection: 'column',
4207
- gap: '20px'
4437
+ flexDirection: 'column'
4208
4438
  },
4209
4439
  videoCarouselContainer: {
4210
- height: 'max-content',
4211
- paddingRight: '10px'
4440
+ height: 'max-content'
4212
4441
  },
4213
4442
  videoDetails: {
4214
- width: '100%'
4443
+ width: '100%',
4444
+ gap: '16px'
4215
4445
  },
4216
4446
  videoDetailsHeading: {
4217
- fontSize: '16px',
4218
4447
  lineHeight: '20px'
4219
4448
  },
4220
4449
  videoTestimonialTitle: {
4221
- fontSize: '24px',
4222
4450
  lineHeight: '36px',
4223
4451
  letterSpacing: '-1px'
4224
- },
4225
- videoDetailsContent: {
4226
- marginTop: '4px'
4227
4452
  }
4228
4453
  }
4229
4454
  };
@@ -4249,19 +4474,19 @@ const SingleVideoSlide$2 = props => {
4249
4474
  sectionIndex: props?.sectionIndex
4250
4475
  }))), /*#__PURE__*/React.createElement("div", {
4251
4476
  className: classes.videoDetails
4252
- }, /*#__PURE__*/React.createElement("h3", {
4477
+ }, /*#__PURE__*/React.createElement("div", {
4253
4478
  ref: data?.videoTextHeading?.refSetter,
4254
4479
  className: classes.videoDetailsHeading,
4255
4480
  dangerouslySetInnerHTML: {
4256
4481
  __html: data.videoTextHeading.metadata.value
4257
4482
  }
4258
- }), /*#__PURE__*/React.createElement("p", {
4483
+ }), /*#__PURE__*/React.createElement("div", {
4259
4484
  ref: data?.videoTextContent?.refSetter,
4260
4485
  className: classes.videoDetailsContent,
4261
4486
  dangerouslySetInnerHTML: {
4262
4487
  __html: data.videoTextContent.metadata.value
4263
4488
  }
4264
- }), /*#__PURE__*/React.createElement("p", {
4489
+ }), /*#__PURE__*/React.createElement("div", {
4265
4490
  ref: data?.videoTextSubContent?.refSetter,
4266
4491
  className: classes.videoDetailsSubContent,
4267
4492
  dangerouslySetInnerHTML: {
@@ -4277,10 +4502,12 @@ function VideoTestimonial({
4277
4502
  const {
4278
4503
  layout: {
4279
4504
  containerWidth
4280
- }
4505
+ },
4506
+ isMobile
4281
4507
  } = useContext(PageContext);
4282
4508
  const classes = useVideoTestimonialStyles({
4283
- containerWidth
4509
+ containerWidth,
4510
+ isMobile
4284
4511
  });
4285
4512
  const [videoData] = sectionData.components;
4286
4513
  const Wrapper = videoData.videoCarousel.components.length > 1 ? Carousel : Fragment;
@@ -4297,7 +4524,7 @@ function VideoTestimonial({
4297
4524
  dangerouslySetInnerHTML: {
4298
4525
  __html: videoData.videoHeading.metadata.value
4299
4526
  }
4300
- })), /*#__PURE__*/React.createElement("h2", {
4527
+ })), /*#__PURE__*/React.createElement("div", {
4301
4528
  className: classes.videoTestimonialTitle
4302
4529
  }, /*#__PURE__*/React.createElement("span", {
4303
4530
  ref: videoData?.title?.refSetter,
@@ -4319,47 +4546,51 @@ var index$f = /*#__PURE__*/Object.freeze({
4319
4546
  const useVideoStyles = createUseStyles(theme => {
4320
4547
  return {
4321
4548
  videoSuperContainer: {
4322
- padding: '70px',
4323
- backgroundColor: theme?.palette?.background?.primary,
4549
+ padding: ({
4550
+ isMobile
4551
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4552
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
4324
4553
  '&, & *, & *:before, & *:after': {
4325
4554
  fontFamily: theme?.typography?.fontFamily,
4326
4555
  boxSizing: 'border-box'
4327
- },
4328
- '& h2,& h3': {
4329
- fontWeight: '500',
4330
- '& b,& strong': {
4331
- fontWeight: '700'
4332
- }
4333
4556
  }
4557
+ // '& h2,& h3': {
4558
+ // fontWeight: '500',
4559
+ // '& b,& strong': {
4560
+ // fontWeight: '700'
4561
+ // }
4562
+ // }
4334
4563
  },
4564
+
4335
4565
  sectionContainer: {
4336
4566
  margin: '0 auto',
4337
4567
  maxWidth: ({
4338
4568
  containerWidth
4339
4569
  } = {}) => containerWidth
4340
4570
  },
4341
- videoContainer: {
4342
- marginTop: '70px'
4343
- },
4571
+ // videoContainer: {
4572
+ // marginTop: '70px'
4573
+ // },
4574
+
4344
4575
  videoHeading: {
4345
- fontSize: '16px',
4576
+ fontSize: theme.typography.fontSize.subHead,
4577
+ textTransform: 'uppercase',
4346
4578
  lineHeight: '20px',
4347
- marginBottom: '4px',
4348
- letterSpacing: '3px',
4349
4579
  color: theme?.palette?.font?.primary,
4350
4580
  wordBreak: 'break-word'
4351
4581
  },
4352
4582
  videoTitle: {
4353
- fontSize: '56px',
4583
+ fontSize: theme.typography.fontSize.h2,
4584
+ fontWeight: theme.typography.fontWeight.bold,
4354
4585
  lineHeight: '71px',
4355
4586
  letterSpacing: '-3px',
4356
- marginBottom: '20px',
4357
- marginTop: '0',
4587
+ marginBottom: theme.spacing.margin.tiny,
4588
+ marginTop: '8px',
4358
4589
  color: theme?.palette?.font?.default,
4359
4590
  wordBreak: 'break-word'
4360
4591
  },
4361
4592
  sliderContainer: {
4362
- marginRight: '-35px'
4593
+ marginRight: `-${theme.spacing.padding.medium}px`
4363
4594
  },
4364
4595
  singleSlideContainer: {
4365
4596
  backgroundColor: theme?.palette?.background?.default,
@@ -4367,7 +4598,7 @@ const useVideoStyles = createUseStyles(theme => {
4367
4598
  width: 'calc(100% - 40px)',
4368
4599
  height: 'calc(100% - 40px)',
4369
4600
  borderRadius: theme?.shape?.borderRadius?.regular,
4370
- padding: '40px',
4601
+ padding: '48px',
4371
4602
  boxShadow: theme?.shadows?.primary
4372
4603
  },
4373
4604
  contentRow: {
@@ -4380,6 +4611,7 @@ const useVideoStyles = createUseStyles(theme => {
4380
4611
  width: '100%',
4381
4612
  borderRadius: theme?.shape?.borderRadius?.regular,
4382
4613
  position: 'relative',
4614
+ overflow: 'hidden',
4383
4615
  paddingBottom: '56.25%'
4384
4616
  },
4385
4617
  iframe: {
@@ -4394,43 +4626,32 @@ const useVideoStyles = createUseStyles(theme => {
4394
4626
  margin: '12px 12px 0'
4395
4627
  },
4396
4628
  videoDetailsHeading: {
4397
- fontSize: '24px',
4629
+ fontSize: theme.typography.fontSize.h5,
4630
+ fontWeight: theme.typography.fontWeight.bold,
4398
4631
  lineHeight: '32px',
4399
- margin: '0',
4632
+ marginBottom: '8px',
4400
4633
  color: theme?.palette?.font?.default,
4401
4634
  wordBreak: 'break-word'
4402
4635
  },
4403
4636
  videoDetailsSubHeading: {
4404
- fontSize: '16px',
4637
+ fontSize: theme.typography.fontSize.subHead,
4405
4638
  lineHeight: '24px',
4406
4639
  wordBreak: 'break-word',
4407
4640
  color: theme?.palette?.font?.primary
4408
4641
  },
4409
4642
  '@media (max-width: 767px)': {
4410
- videoSuperContainer: {
4411
- padding: '70px 20px 60px'
4412
- },
4413
4643
  videoHeading: {
4414
- fontSize: '16px',
4415
- lineHeight: '20px',
4416
- letterSpacing: '3px'
4417
- },
4418
- videoTitle: {
4419
- fontSize: '24px',
4420
- lineHeight: '36px',
4421
- letterSpacing: '-1px',
4422
- marginBottom: '0',
4423
- marginTop: '0'
4644
+ lineHeight: '20px'
4424
4645
  },
4425
4646
  videoContainer: {
4426
4647
  margin: '0'
4427
4648
  },
4428
4649
  sliderContainer: {
4429
- marginLeft: '-6px',
4430
- marginRight: '-20px'
4650
+ // marginLeft: '-6px',
4651
+ marginRight: '0px'
4431
4652
  },
4432
4653
  singleSlideContainer: {
4433
- padding: '0',
4654
+ padding: '16px',
4434
4655
  width: 'calc(100% - 12px)',
4435
4656
  height: 'calc(100% - 24px)',
4436
4657
  margin: '12px 6px'
@@ -4442,14 +4663,28 @@ const useVideoStyles = createUseStyles(theme => {
4442
4663
  textAlign: 'left',
4443
4664
  margin: '12px 12px 0'
4444
4665
  },
4445
- videoDetailsHeading: {
4446
- fontSize: '18px',
4447
- margin: '0'
4666
+ videoTitle: {
4667
+ display: 'flex',
4668
+ justifyContent: 'center',
4669
+ textAlign: 'center',
4670
+ lineHeight: '36px',
4671
+ letterSpacing: '-1px'
4448
4672
  },
4449
- videoDetailsSubHeading: {
4450
- fontSize: '12px',
4451
- paddingBottom: '20px'
4673
+ videoHeading: {
4674
+ display: 'flex',
4675
+ justifyContent: 'center',
4676
+ textAlign: 'center'
4452
4677
  }
4678
+
4679
+ // videoDetailsHeading: {
4680
+ // fontSize: '18px',
4681
+ // margin: '0'
4682
+ // },
4683
+
4684
+ // videoDetailsSubHeading: {
4685
+ // fontSize: '12px',
4686
+ // paddingBottom: '20px'
4687
+ // }
4453
4688
  }
4454
4689
  };
4455
4690
  });
@@ -4469,7 +4704,7 @@ const SingleSlide$1 = props => {
4469
4704
  videoUrl: data.videoFrame.metadata?.value
4470
4705
  })), /*#__PURE__*/React.createElement("div", {
4471
4706
  className: classes.videoDetailsContainer
4472
- }, /*#__PURE__*/React.createElement("h3", {
4707
+ }, /*#__PURE__*/React.createElement("div", {
4473
4708
  ref: data?.videoTitle?.refSetter,
4474
4709
  className: classes.videoDetailsHeading,
4475
4710
  dangerouslySetInnerHTML: {
@@ -4499,12 +4734,13 @@ function Video({
4499
4734
  const classes = useVideoStyles({
4500
4735
  containerWidth,
4501
4736
  cardsCount,
4502
- slidesToShow
4737
+ slidesToShow,
4738
+ isMobile
4503
4739
  });
4504
4740
  const settings = {
4505
4741
  className: classes.sliderContainer,
4506
4742
  slidesToShow,
4507
- centerPadding: isMobile ? '40px 0 0' : '100px 0 0',
4743
+ centerPadding: isMobile ? '0px' : '100px 0 0',
4508
4744
  centerMode: true
4509
4745
  };
4510
4746
  const carouselContent = videoData.videoCarousel.components.map((data, index) => /*#__PURE__*/React.createElement(SingleSlide$1, {
@@ -4524,7 +4760,7 @@ function Video({
4524
4760
  dangerouslySetInnerHTML: {
4525
4761
  __html: videoData.videoHeading.metadata.value
4526
4762
  }
4527
- })), /*#__PURE__*/React.createElement("h2", {
4763
+ })), /*#__PURE__*/React.createElement("div", {
4528
4764
  className: classes.videoTitle
4529
4765
  }, /*#__PURE__*/React.createElement("span", {
4530
4766
  ref: videoData?.videoTitle?.refSetter,
@@ -4544,10 +4780,10 @@ var index$e = /*#__PURE__*/Object.freeze({
4544
4780
  'default': Video
4545
4781
  });
4546
4782
 
4547
- const useSectionStyles$3 = createUseStyles(theme => ({
4783
+ const useSectionStyles$3 = createUseStyles(theme => (console.log(theme), {
4548
4784
  section: {
4549
4785
  position: 'relative',
4550
- padding: '70px 0',
4786
+ padding: `${theme?.spacing?.padding?.regular}px 0px ${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px`,
4551
4787
  backgroundColor: theme?.palette?.background?.default,
4552
4788
  '&, & *, & *:before, & *:after': {
4553
4789
  fontFamily: theme?.typography?.fontFamily,
@@ -4571,16 +4807,15 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4571
4807
  top: '0',
4572
4808
  left: '0',
4573
4809
  height: '350px',
4574
- background: theme?.palette?.background?.primary,
4810
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
4575
4811
  width: '100%'
4576
4812
  },
4577
4813
  content: {
4578
- position: 'relative',
4579
- margin: '0 70px'
4814
+ position: 'relative'
4580
4815
  },
4581
4816
  subTitleHeading: {
4582
4817
  width: '100%',
4583
- fontSize: '16px',
4818
+ fontSize: theme.typography.fontSize.subHead,
4584
4819
  color: theme?.palette?.font?.tertiary,
4585
4820
  textAlign: 'left',
4586
4821
  lineHeight: '20px',
@@ -4588,8 +4823,8 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4588
4823
  wordBreak: 'break-word'
4589
4824
  },
4590
4825
  heading: {
4591
- margin: '8px 0 20px',
4592
- fontSize: '56px',
4826
+ margin: `8px 0 ${theme.spacing.margin.tiny}px`,
4827
+ fontSize: theme.typography.fontSize.h2,
4593
4828
  width: '100%',
4594
4829
  lineHeight: '70px',
4595
4830
  color: theme?.palette?.font?.default,
@@ -4611,16 +4846,16 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4611
4846
  height: 'calc(100% - 12px)'
4612
4847
  },
4613
4848
  cardContent: {
4614
- padding: '32px',
4849
+ padding: theme.spacing.padding.tiny,
4615
4850
  height: '100%',
4616
4851
  display: 'flex',
4617
4852
  flexDirection: 'column'
4618
4853
  },
4619
4854
  cardHeading: {
4620
- fontSize: '24px',
4855
+ fontSize: theme.typography.fontSize.h5,
4621
4856
  lineHeight: '32px',
4622
4857
  color: theme?.palette?.font?.default,
4623
- margin: '32px 0 16px',
4858
+ margin: `${theme.spacing.margin.tiny}px 0px`,
4624
4859
  wordBreak: 'break-word'
4625
4860
  },
4626
4861
  imageContainer: {
@@ -4633,7 +4868,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4633
4868
  background: theme?.palette?.background?.primary
4634
4869
  },
4635
4870
  cardPara: {
4636
- fontSize: '16px',
4871
+ fontSize: theme.typography.fontSize.subHead,
4637
4872
  lineHeight: '24px',
4638
4873
  color: theme?.palette?.font?.primary,
4639
4874
  margin: '0',
@@ -4649,13 +4884,10 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4649
4884
  '@media screen and (max-width: 767px)': {
4650
4885
  heading: {
4651
4886
  fontSize: '24px',
4652
- margin: '4px 0 12px',
4887
+ margin: `4px 0 ${theme.spacing.margin.tiny}px`,
4653
4888
  lineHeight: '36px',
4654
4889
  padding: '0'
4655
4890
  },
4656
- content: {
4657
- margin: '0 20px'
4658
- },
4659
4891
  sliderContainer: {
4660
4892
  marginLeft: '-6px',
4661
4893
  marginRight: '-20px'
@@ -4670,12 +4902,6 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4670
4902
  slidesToShow,
4671
4903
  cardsCount
4672
4904
  } = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
4673
- },
4674
- cardContent: {
4675
- padding: '20px'
4676
- },
4677
- cardHeading: {
4678
- margin: '14px 0'
4679
4905
  }
4680
4906
  }
4681
4907
  }));
@@ -4772,67 +4998,64 @@ var index$d = /*#__PURE__*/Object.freeze({
4772
4998
 
4773
4999
  const useSectionStyles$2 = createUseStyles(theme => ({
4774
5000
  section: {
4775
- padding: '70px',
4776
- backgroundColor: theme?.palette?.background?.default,
5001
+ padding: ({
5002
+ isMobile
5003
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5004
+ background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background1,
4777
5005
  '&, & *, & *:before, & *:after': {
4778
5006
  fontFamily: theme?.typography?.fontFamily,
4779
5007
  boxSizing: 'border-box'
4780
- },
4781
- '& h2,& h3': {
4782
- fontWeight: '500',
4783
- '& b,& strong': {
4784
- fontWeight: '700'
4785
- }
4786
5008
  }
5009
+ // '& h2,& h3': {
5010
+ // fontWeight: '500',
5011
+ // '& b,& strong': {
5012
+ // fontWeight: '700'
5013
+ // }
5014
+ // }
4787
5015
  },
5016
+
4788
5017
  sectionContainer: {
4789
- margin: '0 auto',
4790
5018
  maxWidth: ({
4791
5019
  containerWidth
4792
5020
  } = {}) => containerWidth
4793
5021
  },
4794
5022
  subHeading: {
4795
- fontSize: '20px',
5023
+ fontSize: theme.typography.fontSize.subHead,
4796
5024
  marginBottom: '8px',
4797
- color: theme?.palette?.font?.tertiary,
4798
- wordBreak: 'break-word'
5025
+ color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
5026
+ wordBreak: 'break-word',
5027
+ textTransform: 'uppercase',
5028
+ letterSpacing: '3px'
4799
5029
  },
4800
5030
  title: {
4801
- fontSize: '56px',
4802
- lineHeight: '70px',
5031
+ fontSize: theme.typography.fontSize.h2,
5032
+ fontWeight: theme.typography.fontWeight.bold,
5033
+ lineHeight: 'normal',
4803
5034
  margin: '0',
4804
- color: theme?.palette?.font?.default,
4805
- wordBreak: 'break-word'
5035
+ color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
5036
+ wordBreak: 'break-word',
5037
+ marginBottom: theme.spacing.margin.tiny
4806
5038
  },
4807
5039
  textContent: {
4808
5040
  display: 'grid',
4809
5041
  gridTemplateColumns: '1fr 1fr',
4810
- gap: '80px'
5042
+ gap: '48px',
5043
+ padding: '48px 0px'
4811
5044
  },
4812
5045
  textPara: {
4813
- margin: '20px 0 0 0',
5046
+ background: 'white',
5047
+ borderRadius: '8px',
5048
+ padding: '40px',
4814
5049
  lineHeight: '24px',
4815
5050
  color: theme?.palette?.font?.primary,
4816
- wordBreak: 'break-word'
5051
+ wordBreak: 'break-word',
5052
+ fontSize: theme.typography.fontSize.subHead,
5053
+ boxShadow: '0px 2px 8px 0px rgba(0, 0, 0, 0.08)'
4817
5054
  },
4818
5055
  '@media screen and (max-width: 767px)': {
4819
- section: {
4820
- padding: '60px 20px'
4821
- },
4822
- subHeading: {
4823
- fontSize: '16px',
4824
- lineHeight: '20px',
4825
- marginBottom: '4px'
4826
- },
4827
- title: {
4828
- fontSize: '24px',
4829
- lineHeight: '36px'
4830
- },
4831
5056
  textContent: {
4832
- display: 'block'
4833
- },
4834
- textPara: {
4835
- marginTop: '12px'
5057
+ gap: '16px',
5058
+ padding: '16px 0px'
4836
5059
  }
4837
5060
  }
4838
5061
  }));
@@ -4843,10 +5066,12 @@ const TextSection = ({
4843
5066
  const {
4844
5067
  layout: {
4845
5068
  containerWidth
4846
- }
5069
+ },
5070
+ isMobile
4847
5071
  } = useContext(PageContext);
4848
5072
  const classes = useSectionStyles$2({
4849
- containerWidth
5073
+ containerWidth,
5074
+ isMobile
4850
5075
  });
4851
5076
  const [nodeData] = sectionData.components;
4852
5077
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("section", {
@@ -4869,13 +5094,13 @@ const TextSection = ({
4869
5094
  }
4870
5095
  })), /*#__PURE__*/React.createElement("div", {
4871
5096
  className: classes.textContent
4872
- }, /*#__PURE__*/React.createElement("p", {
5097
+ }, /*#__PURE__*/React.createElement("div", {
4873
5098
  ref: nodeData?.textLeft?.refSetter,
4874
5099
  className: classes.textPara,
4875
5100
  dangerouslySetInnerHTML: {
4876
5101
  __html: nodeData.textLeft.metadata.value
4877
5102
  }
4878
- }), /*#__PURE__*/React.createElement("p", {
5103
+ }), /*#__PURE__*/React.createElement("div", {
4879
5104
  ref: nodeData?.textRight?.refSetter,
4880
5105
  className: classes.textPara,
4881
5106
  dangerouslySetInnerHTML: {
@@ -4893,18 +5118,21 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
4893
5118
  return {
4894
5119
  container: {
4895
5120
  background: theme?.palette?.background?.default,
4896
- padding: '70px',
5121
+ padding: ({
5122
+ isMobile
5123
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px 0px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4897
5124
  '&, & *, & *:before, & *:after': {
4898
5125
  fontFamily: theme?.typography?.fontFamily,
4899
5126
  boxSizing: 'border-box'
4900
- },
4901
- '& h2,& h3': {
4902
- fontWeight: '500',
4903
- '& b,& strong': {
4904
- fontWeight: '700'
4905
- }
4906
5127
  }
5128
+ // '& h2,& h3': {
5129
+ // fontWeight: '500',
5130
+ // '& b,& strong': {
5131
+ // fontWeight: '700'
5132
+ // }
5133
+ // }
4907
5134
  },
5135
+
4908
5136
  sectionContainer: {
4909
5137
  margin: '0 auto',
4910
5138
  maxWidth: ({
@@ -4913,13 +5141,15 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
4913
5141
  },
4914
5142
  cardHeading: {
4915
5143
  color: theme?.palette?.font?.secondary,
4916
- fontSize: '16px',
5144
+ fontSize: theme.typography.fontSize.subHead,
4917
5145
  letterSpacing: '3px',
4918
- wordBreak: 'break-word'
4919
- },
4920
- sliderContainer: {
4921
- marginRight: '-70px'
5146
+ wordBreak: 'break-word',
5147
+ textTransform: 'uppercase'
4922
5148
  },
5149
+ // sliderContainer: {
5150
+ // marginRight: '-70px'
5151
+ // },
5152
+
4923
5153
  singleCard: {
4924
5154
  margin: '0 1px',
4925
5155
  width: 'calc(100% - 2px)',
@@ -4942,24 +5172,26 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
4942
5172
  height: '100%'
4943
5173
  },
4944
5174
  title: {
4945
- fontSize: '56px',
5175
+ fontSize: theme.typography.fontSize.h2,
4946
5176
  lineHeight: '70px',
4947
5177
  letterSpacing: '-3px',
4948
5178
  color: theme?.palette?.font?.default,
4949
- margin: '8px 0 20px',
5179
+ marginTop: '8px',
5180
+ marginBottom: theme.spacing.margin.tiny,
4950
5181
  overflow: 'hidden',
4951
5182
  whiteSpace: 'nowrap',
4952
5183
  textOverflow: 'ellipsis'
4953
5184
  },
4954
5185
  '@media (max-width: 768px)': {
4955
- container: {
4956
- padding: '60px 20px'
4957
- },
4958
- cardHeading: {
4959
- marginLeft: '3px'
4960
- },
5186
+ // container: {
5187
+ // padding: '60px 20px'
5188
+ // },
5189
+
5190
+ // cardHeading: {
5191
+ // marginLeft: '3px'
5192
+ // },
5193
+
4961
5194
  title: {
4962
- fontSize: '24px',
4963
5195
  lineHeight: '36px',
4964
5196
  letterSpacing: '-1px',
4965
5197
  color: theme?.palette?.font?.default,
@@ -4967,10 +5199,11 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
4967
5199
  overflow: 'hidden',
4968
5200
  whiteSpace: 'nowrap',
4969
5201
  textOverflow: 'ellipsis'
4970
- },
4971
- sliderContainer: {
4972
- marginRight: '-20px'
4973
5202
  }
5203
+
5204
+ // sliderContainer: {
5205
+ // marginRight: '-20px'
5206
+ // }
4974
5207
  }
4975
5208
  };
4976
5209
  });
@@ -4992,11 +5225,12 @@ function PhotoGallery({
4992
5225
  const classes = usePhotoGalleryStyles({
4993
5226
  containerWidth,
4994
5227
  cardsCount,
4995
- slidesToShow
5228
+ slidesToShow,
5229
+ isMobile
4996
5230
  });
4997
5231
  const settings = {
4998
5232
  className: classes.sliderContainer,
4999
- dots: false,
5233
+ dots: true,
5000
5234
  infinite: true,
5001
5235
  speed: 500,
5002
5236
  slidesToShow,
@@ -5050,64 +5284,73 @@ var index$b = /*#__PURE__*/Object.freeze({
5050
5284
  const useFaqListStyles = createUseStyles(theme => ({
5051
5285
  section: {
5052
5286
  width: '100%',
5053
- padding: '70px',
5054
- backgroundColor: theme?.palette?.background?.primary,
5287
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
5288
+ padding: ({
5289
+ isMobile
5290
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5055
5291
  '&, & *, & *:before, & *:after': {
5056
5292
  fontFamily: theme?.typography?.fontFamily,
5057
5293
  boxSizing: 'border-box'
5058
- },
5059
- '& h2,& h3': {
5060
- fontWeight: '500',
5061
- '& b,& strong': {
5062
- fontWeight: '700'
5063
- }
5064
5294
  }
5295
+ // '& h2,& h3': {
5296
+ // fontWeight: '500',
5297
+ // '& b,& strong': {
5298
+ // fontWeight: '700'
5299
+ // }
5300
+ // }
5065
5301
  },
5302
+
5066
5303
  sectionContainer: {
5067
- margin: '0 auto',
5068
5304
  maxWidth: ({
5069
5305
  containerWidth
5070
5306
  } = {}) => containerWidth
5071
5307
  },
5072
5308
  sectionSubheading: {
5073
5309
  color: theme?.palette?.font.tertiary,
5074
- fontSize: '16px',
5310
+ fontSize: theme.typography.fontSize.subHead,
5075
5311
  marginBottom: '8px',
5076
5312
  wordBreak: 'break-word'
5077
5313
  },
5078
5314
  sectionHeading: {
5079
- fontSize: '56px',
5080
- margin: '0 0 20px',
5315
+ fontSize: theme.typography.fontSize.h2,
5316
+ fontWeight: theme.typography.fontWeight.bold,
5081
5317
  wordBreak: 'break-word',
5082
- lineHeight: '71px'
5318
+ marginBottom: `${theme.spacing.margin.tiny}px`
5083
5319
  },
5084
5320
  container: {
5085
5321
  boxShadow: theme?.shadows?.secondary,
5086
5322
  borderRadius: '8px',
5087
- backgroundColor: theme?.palette?.background?.default,
5088
- padding: '40px 60px 60px'
5323
+ backgroundColor: theme?.palette?.background?.default
5089
5324
  },
5090
5325
  basicCardContainer: {
5091
- borderBottom: theme?.borders?.secondary
5326
+ borderBottom: theme?.borders?.secondary,
5327
+ padding: `${theme.spacing.padding.tiny}px`
5328
+ },
5329
+ innerContainer: {
5330
+ display: 'flex',
5331
+ flexDirection: 'column',
5332
+ gap: ({
5333
+ isSelected
5334
+ } = {}) => isSelected ? '16px' : '0'
5335
+ },
5336
+ arrowButton: {
5337
+ marginLeft: theme.spacing.margin.tiny
5092
5338
  },
5093
5339
  header: {
5094
5340
  display: 'flex',
5095
5341
  justifyContent: 'space-between',
5096
- alignItems: 'center',
5097
- padding: '20px 0'
5342
+ alignItems: 'center'
5098
5343
  },
5099
5344
  title: {
5100
5345
  color: theme?.palette?.font.default,
5101
- fontSize: '24px',
5346
+ fontSize: theme.typography.fontSize.h5,
5347
+ fontWeight: theme.typography.fontWeight.bold,
5102
5348
  margin: '0',
5103
5349
  wordBreak: 'break-word'
5104
5350
  },
5105
5351
  content: {
5106
- margin: ({
5107
- isSelected
5108
- } = {}) => isSelected ? '0 0 20px 0' : '0',
5109
5352
  color: theme?.palette?.font.primary,
5110
- fontSize: '16px',
5353
+ fontSize: theme.typography.fontSize.subHead,
5111
5354
  lineHeight: '24px',
5112
5355
  maxHeight: ({
5113
5356
  isSelected
@@ -5116,28 +5359,12 @@ const useFaqListStyles = createUseStyles(theme => ({
5116
5359
  overflow: 'hidden'
5117
5360
  },
5118
5361
  '@media screen and (max-width: 767px)': {
5119
- section: {
5120
- padding: '60px 20px'
5121
- },
5122
- sectionHeading: {
5123
- fontSize: '36px'
5124
- },
5125
- header: {
5126
- padding: '20px 0'
5127
- },
5128
- title: {
5129
- fontSize: '18px'
5130
- },
5131
5362
  content: {
5132
5363
  lineHeight: '20px'
5133
5364
  },
5134
- container: {
5135
- padding: '0 20px'
5136
- },
5137
5365
  basicCardContainer: {
5138
5366
  '&:last-child': {
5139
- borderBottom: 'none',
5140
- paddingBottom: '1px'
5367
+ borderBottom: 'none'
5141
5368
  }
5142
5369
  }
5143
5370
  }
@@ -5150,11 +5377,13 @@ const FAQListing = ({
5150
5377
  const {
5151
5378
  layout: {
5152
5379
  containerWidth
5153
- }
5380
+ },
5381
+ isMobile
5154
5382
  } = useContext(PageContext);
5155
5383
  const classes = useFaqListStyles({
5156
5384
  selectedIndex,
5157
- containerWidth
5385
+ containerWidth,
5386
+ isMobile
5158
5387
  });
5159
5388
  const [nodeData] = sectionData.components;
5160
5389
  return /*#__PURE__*/React.createElement("section", {
@@ -5168,7 +5397,7 @@ const FAQListing = ({
5168
5397
  dangerouslySetInnerHTML: {
5169
5398
  __html: nodeData.subheading.metadata.value
5170
5399
  }
5171
- })), /*#__PURE__*/React.createElement("h2", {
5400
+ })), /*#__PURE__*/React.createElement("div", {
5172
5401
  className: classes.sectionHeading
5173
5402
  }, /*#__PURE__*/React.createElement("span", {
5174
5403
  ref: nodeData?.title?.refSetter,
@@ -5197,7 +5426,8 @@ const Accordion = ({
5197
5426
  return /*#__PURE__*/React.createElement("div", {
5198
5427
  className: classes.basicCardContainer
5199
5428
  }, /*#__PURE__*/React.createElement("div", {
5200
- onClick: onClick
5429
+ onClick: onClick,
5430
+ className: classes.innerContainer
5201
5431
  }, /*#__PURE__*/React.createElement("div", {
5202
5432
  className: classes.header
5203
5433
  }, /*#__PURE__*/React.createElement("h3", {
@@ -5206,7 +5436,9 @@ const Accordion = ({
5206
5436
  dangerouslySetInnerHTML: {
5207
5437
  __html: item.question.metadata.value
5208
5438
  }
5209
- }), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ArrowButton, {
5439
+ }), /*#__PURE__*/React.createElement("div", {
5440
+ className: classes.arrowButton
5441
+ }, /*#__PURE__*/React.createElement(ArrowButton, {
5210
5442
  down: isSelected,
5211
5443
  up: !isSelected,
5212
5444
  size: "small"
@@ -5226,19 +5458,22 @@ var index$a = /*#__PURE__*/Object.freeze({
5226
5458
 
5227
5459
  const useTextGridStyles = createUseStyles(theme => ({
5228
5460
  section: {
5229
- padding: '70px',
5230
- backgroundColor: theme?.palette?.background?.primary,
5461
+ padding: ({
5462
+ isMobile
5463
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5464
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
5231
5465
  '&, & *, & *:before, & *:after': {
5232
5466
  fontFamily: theme?.typography?.fontFamily,
5233
5467
  boxSizing: 'border-box'
5234
- },
5235
- '& h2,& h3': {
5236
- fontWeight: '500',
5237
- '& b,& strong': {
5238
- fontWeight: '700'
5239
- }
5240
5468
  }
5469
+ // '& h2,& h3': {
5470
+ // fontWeight: '500',
5471
+ // '& b,& strong': {
5472
+ // fontWeight: '700'
5473
+ // }
5474
+ // }
5241
5475
  },
5476
+
5242
5477
  sectionContainer: {
5243
5478
  margin: '0 auto',
5244
5479
  maxWidth: ({
@@ -5247,24 +5482,27 @@ const useTextGridStyles = createUseStyles(theme => ({
5247
5482
  },
5248
5483
  subheading: {
5249
5484
  color: theme?.palette?.font.tertiary,
5250
- fontSize: '16px',
5485
+ fontSize: theme.typography.fontSize.subHead,
5251
5486
  lineHeight: '20px',
5252
5487
  letterSpacing: '3px',
5253
- wordBreak: 'break-word'
5488
+ wordBreak: 'break-word',
5489
+ textTransform: 'uppercase',
5490
+ marginBottom: '8px'
5254
5491
  },
5255
5492
  heading: {
5256
- fontSize: '56px',
5257
- lineHeight: '70px',
5493
+ fontSize: theme.typography.fontSize.h2,
5494
+ lineHeight: 'normal',
5495
+ fontWeight: theme.typography.fontWeight.bold,
5258
5496
  letterSpacing: '-3px',
5259
- margin: '8px 0 16px',
5497
+ marginBottom: theme.spacing.margin.tiny,
5260
5498
  wordBreak: 'break-word'
5261
5499
  },
5262
5500
  sliderContainer: {
5263
5501
  margin: '0 -10px'
5264
5502
  },
5265
5503
  node: {
5266
- margin: '6px 10px',
5267
- padding: '40px',
5504
+ margin: '0 16px',
5505
+ padding: '48px',
5268
5506
  position: 'relative',
5269
5507
  height: 'calc(100% - 12px)',
5270
5508
  background: theme?.palette?.background?.default,
@@ -5273,16 +5511,16 @@ const useTextGridStyles = createUseStyles(theme => ({
5273
5511
  },
5274
5512
  nodeTitle: {
5275
5513
  color: theme?.palette?.font.secondary,
5276
- fontSize: '40px',
5277
- lineHeight: '48px',
5514
+ fontSize: theme.typography.fontSize.h3,
5515
+ fontWeight: theme.typography.fontWeight.bold,
5516
+ lineHeight: 'normal',
5278
5517
  margin: '0 0 20px',
5279
5518
  wordBreak: 'break-word'
5280
5519
  },
5281
5520
  nodePara: {
5282
5521
  color: theme?.palette?.font.tertiary,
5283
- fontSize: '16px',
5522
+ fontSize: theme.typography.fontSize.subHead,
5284
5523
  lineHeight: '24px',
5285
- margin: '20px 0',
5286
5524
  wordBreak: 'break-word'
5287
5525
  },
5288
5526
  contentRow: {
@@ -5292,27 +5530,21 @@ const useTextGridStyles = createUseStyles(theme => ({
5292
5530
  } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
5293
5531
  },
5294
5532
  '@media screen and (max-width: 767px)': {
5295
- section: {
5296
- padding: '60px 20px'
5297
- },
5298
- heading: {
5299
- fontSize: '24px',
5300
- lineHeight: '36px',
5301
- letterSpacing: '-1px',
5302
- margin: '4px 0 6px'
5303
- },
5304
5533
  sliderContainer: {
5305
5534
  margin: '0 -20px 0 -10px'
5306
5535
  },
5307
5536
  node: {
5308
- padding: '20px'
5537
+ padding: '16px',
5538
+ margin: '0 6px'
5309
5539
  },
5310
5540
  nodeTitle: {
5311
- fontSize: '24px',
5312
- lineHeight: '36px'
5541
+ marginBottom: '0px'
5313
5542
  },
5314
5543
  nodePara: {
5315
- margin: '12px 0'
5544
+ margin: '16px 0'
5545
+ },
5546
+ heading: {
5547
+ letterSpacing: '-1px'
5316
5548
  }
5317
5549
  }
5318
5550
  }));
@@ -5332,7 +5564,8 @@ const TextGrid = ({
5332
5564
  const classes = useTextGridStyles({
5333
5565
  containerWidth,
5334
5566
  cardsCount,
5335
- slidesToShow
5567
+ slidesToShow,
5568
+ isMobile
5336
5569
  });
5337
5570
  const settings = {
5338
5571
  className: classes.sliderContainer,
@@ -5349,7 +5582,7 @@ const TextGrid = ({
5349
5582
  dangerouslySetInnerHTML: {
5350
5583
  __html: item.contentHeading.metadata.value
5351
5584
  }
5352
- }), /*#__PURE__*/React.createElement("p", {
5585
+ }), /*#__PURE__*/React.createElement("div", {
5353
5586
  ref: item?.contentPara?.refSetter,
5354
5587
  className: classes.nodePara,
5355
5588
  dangerouslySetInnerHTML: {
@@ -5367,7 +5600,7 @@ const TextGrid = ({
5367
5600
  dangerouslySetInnerHTML: {
5368
5601
  __html: nodeData.subheading.metadata.value
5369
5602
  }
5370
- })), /*#__PURE__*/React.createElement("h2", {
5603
+ })), /*#__PURE__*/React.createElement("div", {
5371
5604
  className: classes.heading
5372
5605
  }, /*#__PURE__*/React.createElement("span", {
5373
5606
  ref: nodeData?.title?.refSetter,
@@ -5393,39 +5626,46 @@ const useCourseStyles = createUseStyles(theme => {
5393
5626
  return {
5394
5627
  coursesContainer: {
5395
5628
  overflow: 'hidden',
5629
+ padding: ({
5630
+ isMobile
5631
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5396
5632
  '&, & *, & *:before, & *:after': {
5397
5633
  fontFamily: theme?.typography?.fontFamily,
5398
5634
  boxSizing: 'border-box'
5399
- },
5400
- '& h2,& h3': {
5401
- fontWeight: '500',
5402
- '& b,& strong': {
5403
- fontWeight: '700'
5404
- }
5405
5635
  }
5636
+ // '& h2,& h3': {
5637
+ // fontWeight: '500',
5638
+ // '& b,& strong': {
5639
+ // fontWeight: '700'
5640
+ // }
5641
+ // }
5406
5642
  },
5643
+
5407
5644
  sectionContainer: {
5408
5645
  margin: '0 auto',
5409
5646
  maxWidth: ({
5410
5647
  containerWidth
5411
5648
  } = {}) => containerWidth
5412
5649
  },
5413
- coursesCardAndText: {
5414
- padding: '70px'
5415
- },
5650
+ // coursesCardAndText: {
5651
+ // padding: '70px'
5652
+ // },
5653
+
5416
5654
  coursesText: {
5417
5655
  color: theme?.palette?.font?.secondary,
5418
5656
  fontWeight: '400',
5419
- fontSize: '16px',
5657
+ fontSize: theme.typography.fontSize.subHead,
5420
5658
  lineHeight: '20px',
5421
5659
  textAlign: 'center',
5660
+ textTransform: 'uppercase',
5422
5661
  wordBreak: 'break-word'
5423
5662
  },
5424
5663
  coursesHeader: {
5425
- fontSize: '56px',
5664
+ fontSize: theme.typography.fontSize.h2,
5426
5665
  lineHeight: '70px',
5427
5666
  color: theme?.palette?.font?.default,
5428
- margin: '10px 0 40px 10px',
5667
+ marginTop: '8px',
5668
+ marginBottom: theme.spacing.margin.tiny,
5429
5669
  overflow: 'hidden',
5430
5670
  whiteSpace: 'nowrap',
5431
5671
  textOverflow: 'ellipsis',
@@ -5500,7 +5740,7 @@ const useCourseStyles = createUseStyles(theme => {
5500
5740
  courseCardName: {
5501
5741
  color: theme?.palette?.font?.default,
5502
5742
  fontWeight: '700',
5503
- fontSize: '24px',
5743
+ fontSize: theme.typography.fontSize.h5,
5504
5744
  lineHeight: '32px',
5505
5745
  wordBreak: 'break-word',
5506
5746
  padding: '12px 0px',
@@ -5515,7 +5755,7 @@ const useCourseStyles = createUseStyles(theme => {
5515
5755
  display: 'flex',
5516
5756
  justifyContent: 'flex-start',
5517
5757
  alignItems: 'center',
5518
- fontSize: '16px',
5758
+ fontSize: theme.typography.fontSize.subHead,
5519
5759
  color: theme?.palette?.font?.primary,
5520
5760
  '& img': {
5521
5761
  marginRight: '5px'
@@ -5527,10 +5767,10 @@ const useCourseStyles = createUseStyles(theme => {
5527
5767
  display: 'flex',
5528
5768
  justifyContent: 'space-between',
5529
5769
  alignItems: 'center',
5530
- padding: '13px 0 0 4px'
5770
+ padding: '12px 0 0 4px'
5531
5771
  },
5532
5772
  courseCardPrice: {
5533
- fontSize: '24px',
5773
+ fontSize: theme.typography.fontSize.h5,
5534
5774
  fontWeight: '700'
5535
5775
  },
5536
5776
  coursesAnchorTag: {
@@ -5551,7 +5791,8 @@ const useCourseStyles = createUseStyles(theme => {
5551
5791
  cursor: 'pointer',
5552
5792
  background: theme?.palette?.primary?.main,
5553
5793
  color: theme?.palette?.font?.invertedDefault,
5554
- padding: '12px 16px',
5794
+ padding: '8px 16px',
5795
+ fontWeight: theme.typography.fontWeight.bold,
5555
5796
  cursor: 'pointer',
5556
5797
  borderRadius: theme.shape.borderRadius.regular
5557
5798
  },
@@ -5596,7 +5837,7 @@ const useCourseStyles = createUseStyles(theme => {
5596
5837
  //background: theme?.palette?.background?.primary
5597
5838
  },
5598
5839
  coursesCardAndText: {
5599
- padding: '70px 30px'
5840
+ // padding: '70px 30px'
5600
5841
  },
5601
5842
  singleCardContainer: {
5602
5843
  gridTemplateColumns: '1fr'
@@ -5605,7 +5846,7 @@ const useCourseStyles = createUseStyles(theme => {
5605
5846
  margin: '0'
5606
5847
  },
5607
5848
  coursesHeader: {
5608
- fontSize: '24px',
5849
+ // fontSize: '24px',
5609
5850
  lineHeight: '36px',
5610
5851
  color: theme?.palette?.font?.default,
5611
5852
  margin: '4px 0 12px 0',
@@ -5614,8 +5855,8 @@ const useCourseStyles = createUseStyles(theme => {
5614
5855
  textOverflow: 'ellipsis'
5615
5856
  },
5616
5857
  singleCard: {
5617
- margin: '6px 2px',
5618
- width: 'calc(100% - 4px)'
5858
+ margin: '6px 2px'
5859
+ // width: 'calc(100% - 12px)'
5619
5860
  }
5620
5861
  }
5621
5862
  };
@@ -5780,7 +6021,8 @@ function courses({
5780
6021
  const [fallBackImages, setFallbackImages] = useState([]);
5781
6022
  const [showShimmer, setShowShimmer] = useState(true);
5782
6023
  const classes = useCourseStyles({
5783
- containerWidth
6024
+ containerWidth,
6025
+ isMobile
5784
6026
  });
5785
6027
  const [nodeData] = sectionData?.components;
5786
6028
  const handleApiCall = () => {
@@ -5832,7 +6074,7 @@ function courses({
5832
6074
  const settings = {
5833
6075
  className: classes.slickContainer,
5834
6076
  infinite: false,
5835
- slidesToShow: isMobile ? 1.1 : 3.25
6077
+ slidesToShow: isMobile ? 1 : 3.5
5836
6078
  };
5837
6079
  const Wrapper = (cardList?.length || fallBackImages?.length) > settings.slidesToShow ? Carousel : SimpleCardsContainer;
5838
6080
  const wrapperProps = (cardList?.length || fallBackImages?.length) > settings.slidesToShow ? {
@@ -5908,19 +6150,22 @@ var index$8 = /*#__PURE__*/Object.freeze({
5908
6150
  const useTeamStyles = createUseStyles(theme => {
5909
6151
  return {
5910
6152
  teamSuperContainer: {
5911
- padding: '60px',
5912
- backgroundColor: theme?.palette?.background?.primary,
6153
+ padding: ({
6154
+ isMobile
6155
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6156
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
5913
6157
  '&, & *, & *:before, & *:after': {
5914
6158
  fontFamily: theme?.typography?.fontFamily,
5915
6159
  boxSizing: 'border-box'
5916
- },
5917
- '& h2,& h3': {
5918
- fontWeight: '500',
5919
- '& b,& strong': {
5920
- fontWeight: '700'
5921
- }
5922
6160
  }
6161
+ // '& h2,& h3': {
6162
+ // fontWeight: '500',
6163
+ // '& b,& strong': {
6164
+ // fontWeight: '700'
6165
+ // }
6166
+ // }
5923
6167
  },
6168
+
5924
6169
  sectionContainer: {
5925
6170
  margin: '0 auto',
5926
6171
  maxWidth: ({
@@ -5928,19 +6173,20 @@ const useTeamStyles = createUseStyles(theme => {
5928
6173
  } = {}) => containerWidth
5929
6174
  },
5930
6175
  teamHeading: {
5931
- fontSize: '16px',
6176
+ fontSize: theme.typography.fontSize.subHead,
6177
+ textTransform: 'uppercase',
5932
6178
  lineHeight: '20px',
5933
6179
  letterSpacing: '3px',
5934
- margin: '0 0 8px',
6180
+ marginBottom: '8px',
5935
6181
  color: theme?.palette?.font?.primary,
5936
6182
  wordBreak: 'break-word'
5937
6183
  },
5938
6184
  teamTitle: {
5939
- fontSize: '56px',
6185
+ fontSize: theme.typography.fontSize.h2,
6186
+ fontWeight: theme.typography.fontWeight.bold,
5940
6187
  lineHeight: '70px',
5941
6188
  letterSpacing: '-3px',
5942
6189
  wordBreak: 'break-word',
5943
- margin: '0 ',
5944
6190
  color: theme?.palette?.font?.default
5945
6191
  },
5946
6192
  sliderContainer: {
@@ -5955,10 +6201,11 @@ const useTeamStyles = createUseStyles(theme => {
5955
6201
  singleSlideContainer: {
5956
6202
  backgroundColor: theme?.palette?.background?.default,
5957
6203
  margin: '20px',
5958
- width: 'calc(100% - 40px)',
5959
- height: 'calc(100% - 40px)',
6204
+ width: 'calc(100% - 32px)',
6205
+ // height: 'calc(100% - 40px)',
6206
+ border: '3px solid #D8E0F0',
5960
6207
  borderRadius: theme?.shape?.borderRadius?.regular,
5961
- padding: '32px',
6208
+ padding: theme.spacing.padding.tiny,
5962
6209
  boxShadow: theme?.shadows?.primary
5963
6210
  },
5964
6211
  imageContainer: {
@@ -5983,32 +6230,28 @@ const useTeamStyles = createUseStyles(theme => {
5983
6230
  overflowWrap: 'break-word'
5984
6231
  },
5985
6232
  teamDetailsHeading: {
5986
- fontSize: '24px',
6233
+ fontSize: theme.typography.fontSize.h5,
6234
+ fontWeight: theme.typography.fontWeight.bold,
5987
6235
  lineHeight: '32px',
5988
6236
  margin: '0',
5989
6237
  color: theme?.palette?.font?.default
5990
6238
  },
5991
6239
  teamDetailsSubHeading: {
5992
- fontSize: '16px',
6240
+ fontSize: theme.typography.fontSize.subHead,
5993
6241
  lineHeight: '24px',
5994
6242
  margin: '12px 0 0',
5995
6243
  color: theme?.palette?.font?.primary
5996
6244
  },
5997
6245
  '@media (max-width: 767px)': {
5998
- teamSuperContainer: {
5999
- padding: '60px 20px'
6000
- },
6246
+ // teamSuperContainer: {
6247
+ // padding: '60px 20px'
6248
+ // },
6001
6249
  teamHeading: {
6002
- fontSize: '16px',
6003
- lineHeight: '20px',
6004
- letterSpacing: '3px',
6005
- margin: '0'
6250
+ lineHeight: '20px'
6006
6251
  },
6007
6252
  teamTitle: {
6008
- fontSize: '24px',
6009
6253
  lineHeight: '36px',
6010
- letterSpacing: '-1px',
6011
- margin: '0'
6254
+ letterSpacing: '-1px'
6012
6255
  },
6013
6256
  sliderContainer: {
6014
6257
  margin: '0 -4px'
@@ -6018,18 +6261,17 @@ const useTeamStyles = createUseStyles(theme => {
6018
6261
  margin: '12px 4px'
6019
6262
  },
6020
6263
  teamDetailsContainer: {
6021
- textAlign: 'center',
6022
- margin: '15px 0 0',
6023
- paddingBottom: '0'
6264
+ textAlign: 'center'
6265
+ // margin: '15px 0 0',
6266
+ // paddingBottom: '0'
6024
6267
  },
6268
+
6025
6269
  teamDetailsHeading: {
6026
- fontSize: '16px',
6027
6270
  lineHeight: '24px',
6028
6271
  margin: '0',
6029
6272
  color: theme?.palette?.font?.default
6030
6273
  },
6031
6274
  teamDetailsSubHeading: {
6032
- fontSize: '16px',
6033
6275
  color: theme?.palette?.font?.primary
6034
6276
  }
6035
6277
  }
@@ -6084,7 +6326,8 @@ function TeamCard({
6084
6326
  const classes = useTeamStyles({
6085
6327
  containerWidth,
6086
6328
  cardsCount,
6087
- slidesToShow
6329
+ slidesToShow,
6330
+ isMobile
6088
6331
  });
6089
6332
  const settings = {
6090
6333
  className: classes.sliderContainer,
@@ -6112,7 +6355,7 @@ function TeamCard({
6112
6355
  dangerouslySetInnerHTML: {
6113
6356
  __html: teamData.teamHeading.metadata.value
6114
6357
  }
6115
- })), /*#__PURE__*/React.createElement("h2", {
6358
+ })), /*#__PURE__*/React.createElement("div", {
6116
6359
  className: classes.teamTitle
6117
6360
  }, /*#__PURE__*/React.createElement("span", {
6118
6361
  ref: teamData?.teamTitle?.refSetter,
@@ -6141,17 +6384,21 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6141
6384
  flexDirection: 'column',
6142
6385
  alignItems: 'center',
6143
6386
  backgroundColor: theme?.palette?.background?.default,
6387
+ padding: ({
6388
+ isMobile
6389
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6144
6390
  '&, & *, & *:before, & *:after': {
6145
6391
  fontFamily: theme?.typography?.fontFamily,
6146
6392
  boxSizing: 'border-box'
6147
- },
6148
- '& h2,& h3': {
6149
- fontWeight: '500',
6150
- '& b,& strong': {
6151
- fontWeight: '700'
6152
- }
6153
6393
  }
6394
+ // '& h2,& h3': {
6395
+ // fontWeight: '500',
6396
+ // '& b,& strong': {
6397
+ // fontWeight: '700'
6398
+ // }
6399
+ // }
6154
6400
  },
6401
+
6155
6402
  formContainer: {
6156
6403
  margin: '0 auto',
6157
6404
  maxWidth: ({
@@ -6164,20 +6411,20 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6164
6411
  width: '100%',
6165
6412
  height: '50%',
6166
6413
  position: 'absolute',
6167
- background: theme?.palette?.background?.primary
6414
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2
6168
6415
  },
6169
6416
  sectionContainer: {
6170
6417
  backgroundColor: theme?.palette?.background?.default,
6171
6418
  boxShadow: theme?.shadows?.secondary,
6172
6419
  borderRadius: theme?.shape?.borderRadius?.regular,
6173
- margin: '60px 10%',
6174
- padding: '40px 80px',
6420
+ padding: '48px',
6175
6421
  position: 'relative'
6176
6422
  },
6177
6423
  title: {
6178
6424
  margin: '0',
6179
- fontSize: '56px',
6425
+ fontSize: theme.typography.fontSize.h2,
6180
6426
  color: theme?.palette?.font?.secondary,
6427
+ fontWeight: theme.typography.fontWeight.bold,
6181
6428
  lineHeight: '71px',
6182
6429
  letterSpacing: '-3px',
6183
6430
  textAlign: 'left',
@@ -6185,16 +6432,19 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6185
6432
  },
6186
6433
  contentContainer: {
6187
6434
  width: '100%',
6188
- display: 'flex',
6189
- alignItems: 'flex-start',
6190
- marginTop: '32px'
6435
+ display: 'flex'
6436
+ // alignItems: 'flex-start',
6191
6437
  },
6438
+
6192
6439
  leftContainer: {
6193
- width: '65%'
6440
+ width: '65%',
6441
+ display: 'flex',
6442
+ flexDirection: 'column',
6443
+ justifyContent: 'space-between'
6194
6444
  },
6195
6445
  subtitle: {
6196
- margin: '0 0 40px 0',
6197
- fontSize: '20px',
6446
+ // margin: '0 0 40px 0',
6447
+ fontSize: theme.typography.fontSize.h6,
6198
6448
  color: theme?.palette?.font?.primary,
6199
6449
  lineHeight: '32px',
6200
6450
  wordBreak: 'break-word'
@@ -6216,13 +6466,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6216
6466
  padding: '4px 8px 0 0'
6217
6467
  },
6218
6468
  addressText: {
6219
- fontSize: '16px',
6469
+ fontSize: theme.typography.fontSize.subHead,
6220
6470
  color: theme?.palette?.font?.default,
6221
6471
  lineHeight: '24px'
6222
6472
  },
6223
6473
  rightContainer: {
6224
6474
  width: '50%',
6225
- padding: '0 0 0 80px'
6475
+ padding: '0 0 0 80px',
6476
+ display: 'flex',
6477
+ flexDirection: 'column',
6478
+ justifyContent: 'space-between'
6226
6479
  },
6227
6480
  inputDiv: {
6228
6481
  margin: '0 0 20px 0',
@@ -6236,8 +6489,8 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6236
6489
  alignItems: 'center'
6237
6490
  },
6238
6491
  sectionContainer: {
6239
- margin: '26px 16px',
6240
- padding: '32px 16px'
6492
+ // margin: '26px 16px',
6493
+ padding: '16px'
6241
6494
  },
6242
6495
  partialBackground: {
6243
6496
  height: '150px'
@@ -6247,26 +6500,32 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6247
6500
  marginTop: '8px'
6248
6501
  },
6249
6502
  leftContainer: {
6250
- width: '100%',
6251
- padding: '0 16ox'
6503
+ width: '100%'
6504
+ // padding: '0 16ox'
6252
6505
  },
6506
+
6253
6507
  rightContainer: {
6254
6508
  width: '100%',
6255
6509
  padding: '0'
6256
6510
  },
6257
6511
  title: {
6258
- fontSize: '24px',
6512
+ // fontSize: '24px',
6259
6513
  lineHeight: '32px',
6260
- letterSpacing: 'initial'
6514
+ letterSpacing: 'initial',
6515
+ margin: '0 0 16px 0',
6516
+ textAlign: 'center'
6261
6517
  },
6262
6518
  subtitle: {
6263
- margin: '0 0 12px 0'
6519
+ margin: '0 0 16px 0',
6520
+ lineHeight: '26px',
6521
+ textAlign: 'center'
6264
6522
  },
6265
6523
  inputDiv: {
6266
- margin: '0 0 10px 0'
6524
+ margin: '0 0 16px 0'
6267
6525
  },
6268
6526
  addressRow: {
6269
- padding: '12px 0'
6527
+ padding: '0px',
6528
+ margin: '0 0 16px 0'
6270
6529
  }
6271
6530
  }
6272
6531
  }));
@@ -6285,7 +6544,8 @@ function FormEnquiry({
6285
6544
  isEdit
6286
6545
  } = useContext(PageContext);
6287
6546
  const classes = useSectionStyles$1({
6288
- containerWidth
6547
+ containerWidth,
6548
+ isMobile
6289
6549
  });
6290
6550
  const [nodeData] = sectionData.components;
6291
6551
  const theme = useTheme();
@@ -6344,6 +6604,10 @@ function FormEnquiry({
6344
6604
  className: classes.partialBackground
6345
6605
  }), /*#__PURE__*/React.createElement("div", {
6346
6606
  className: classes.sectionContainer
6607
+ }, /*#__PURE__*/React.createElement("div", {
6608
+ className: classes.contentContainer
6609
+ }, /*#__PURE__*/React.createElement("div", {
6610
+ className: classes.leftContainer
6347
6611
  }, /*#__PURE__*/React.createElement("h2", {
6348
6612
  className: classes.title
6349
6613
  }, /*#__PURE__*/React.createElement("span", {
@@ -6352,10 +6616,6 @@ function FormEnquiry({
6352
6616
  __html: nodeData?.title?.metadata?.value
6353
6617
  }
6354
6618
  })), /*#__PURE__*/React.createElement("div", {
6355
- className: classes.contentContainer
6356
- }, /*#__PURE__*/React.createElement("div", {
6357
- className: classes.leftContainer
6358
- }, /*#__PURE__*/React.createElement("div", {
6359
6619
  ref: nodeData?.subtitle?.refSetter,
6360
6620
  className: classes.subtitle,
6361
6621
  dangerouslySetInnerHTML: {
@@ -6410,6 +6670,7 @@ function FormEnquiry({
6410
6670
  }, /*#__PURE__*/React.createElement("div", {
6411
6671
  className: classes.inputDiv
6412
6672
  }, /*#__PURE__*/React.createElement(Input, {
6673
+ theme: theme,
6413
6674
  data: nodeData.nameField,
6414
6675
  value: inputVal.name,
6415
6676
  isValid: validData.nameValid,
@@ -6495,7 +6756,7 @@ function FormEnquiry({
6495
6756
  messageValid: 1
6496
6757
  });
6497
6758
  }
6498
- })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(Button, {
6759
+ })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
6499
6760
  ref: nodeData?.cta?.refSetter,
6500
6761
  data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
6501
6762
  value: 'Submitted'
@@ -6506,7 +6767,7 @@ function FormEnquiry({
6506
6767
  type: nodeData?.cta?.metadata?.type,
6507
6768
  size: isMobile ? 'small' : 'medium',
6508
6769
  disabled: btnDisabled
6509
- }))))));
6770
+ })))))));
6510
6771
  }
6511
6772
 
6512
6773
  var index$6 = /*#__PURE__*/Object.freeze({
@@ -6522,20 +6783,23 @@ const useSectionStyles = createUseStyles(theme => ({
6522
6783
  justifyContent: 'center',
6523
6784
  flexDirection: 'column',
6524
6785
  alignItems: 'center',
6525
- backgroundColor: theme?.palette?.background?.default,
6786
+ padding: ({
6787
+ isMobile
6788
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6526
6789
  '&, & *, & *:before, & *:after': {
6527
6790
  fontFamily: theme?.typography?.fontFamily,
6528
6791
  boxSizing: 'border-box'
6529
- },
6530
- '& h2,& h3': {
6531
- fontWeight: '500',
6532
- '& b,& strong': {
6533
- fontWeight: '700'
6534
- }
6535
6792
  }
6793
+ // '& h2,& h3': {
6794
+ // fontWeight: '500',
6795
+ // '& b,& strong': {
6796
+ // fontWeight: '700'
6797
+ // }
6798
+ // }
6536
6799
  },
6800
+
6537
6801
  contactContainer: {
6538
- width: '80%',
6802
+ width: '100%',
6539
6803
  margin: '0 auto',
6540
6804
  maxWidth: ({
6541
6805
  containerWidth
@@ -6547,19 +6811,19 @@ const useSectionStyles = createUseStyles(theme => ({
6547
6811
  width: '100%',
6548
6812
  height: '50%',
6549
6813
  position: 'absolute',
6550
- background: theme?.palette?.background?.primary
6814
+ // background: theme?.palette?.background?.primary
6815
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.tertiaryBlue2
6551
6816
  },
6552
6817
  sectionContainer: {
6553
6818
  backgroundColor: theme?.palette?.background?.default,
6554
6819
  boxShadow: theme?.shadows?.secondary,
6555
6820
  borderRadius: theme?.shape?.borderRadius?.regular,
6556
- margin: '60px',
6557
- padding: '40px 80px',
6821
+ padding: '48px',
6558
6822
  position: 'relative'
6559
6823
  },
6560
6824
  title: {
6561
6825
  margin: '0',
6562
- fontSize: '56px',
6826
+ fontSize: theme.typography.fontSize.h2,
6563
6827
  color: theme?.palette?.font?.secondary,
6564
6828
  lineHeight: '71px',
6565
6829
  letterSpacing: '-3px',
@@ -6569,36 +6833,37 @@ const useSectionStyles = createUseStyles(theme => ({
6569
6833
  contentContainer: {
6570
6834
  width: '100%',
6571
6835
  display: 'flex',
6572
- alignItems: 'flex-start',
6573
- marginTop: '32px',
6836
+ justifyContent: 'space-between',
6574
6837
  wordBreak: 'break-word'
6575
6838
  },
6576
6839
  leftContainer: {
6577
- width: '50%'
6840
+ width: '50%',
6841
+ display: 'flex',
6842
+ flexDirection: 'column',
6843
+ justifyContent: 'space-between'
6578
6844
  },
6579
6845
  subtitle: {
6580
- margin: '0 0 58px 0',
6581
- fontSize: '20px',
6846
+ margin: '0 0 auto 0',
6847
+ fontSize: theme.typography.fontSize.h6,
6582
6848
  color: theme?.palette?.font?.primary,
6583
- lineHeight: '32px'
6849
+ lineHeight: '32px',
6850
+ margin: '20px 0px'
6584
6851
  },
6585
6852
  addressContainer: {
6586
6853
  display: 'flex',
6587
6854
  alignItems: 'flex-start',
6588
6855
  flexDirection: 'column',
6589
- width: '85%',
6590
- position: 'relative',
6591
- paddingBottom: '55%'
6592
- // '& img': {
6593
- // width: '80%'
6594
- // }
6856
+ width: '100%',
6857
+ position: 'relative'
6595
6858
  },
6596
-
6597
6859
  telephoneImage: {
6598
6860
  width: '80%'
6599
6861
  },
6600
6862
  rightContainer: {
6601
6863
  width: '50%',
6864
+ display: 'flex',
6865
+ flexDirection: 'column',
6866
+ justifyContent: 'space-between',
6602
6867
  padding: '0 0 0 80px'
6603
6868
  },
6604
6869
  inputDiv: {
@@ -6612,16 +6877,16 @@ const useSectionStyles = createUseStyles(theme => ({
6612
6877
  background: theme?.palette?.background?.default,
6613
6878
  border: `1px solid ${theme?.palette?.border?.secondary}`,
6614
6879
  borderRadius: theme?.shape?.borderRadius?.regular,
6615
- padding: '14px 12px',
6880
+ // padding: '14px 12px',
6616
6881
  display: 'flex',
6617
6882
  fontWeight: '400',
6618
- fontSize: '16px',
6883
+ fontSize: theme.typography.fontSize.subHead,
6619
6884
  lineHeight: '20px',
6620
6885
  fontFamily: 'inherit',
6621
6886
  resize: 'none',
6622
6887
  '&::placeholder': {
6623
6888
  fontWeight: '400',
6624
- fontSize: '16px',
6889
+ fontSize: theme.typography.fontSize.subHead,
6625
6890
  lineHeight: '20px',
6626
6891
  color: theme?.palette?.font?.primary,
6627
6892
  fontFamily: theme?.typography?.fontFamily
@@ -6651,8 +6916,7 @@ const useSectionStyles = createUseStyles(theme => ({
6651
6916
  alignItems: 'center'
6652
6917
  },
6653
6918
  sectionContainer: {
6654
- margin: '26px 16px',
6655
- padding: '32px 16px'
6919
+ padding: '16px'
6656
6920
  },
6657
6921
  partialBackground: {
6658
6922
  height: '150px'
@@ -6670,15 +6934,17 @@ const useSectionStyles = createUseStyles(theme => ({
6670
6934
  padding: '0'
6671
6935
  },
6672
6936
  title: {
6673
- fontSize: '24px',
6674
- lineHeight: '32px',
6675
- letterSpacing: 'initial'
6937
+ lineHeight: '26px',
6938
+ letterSpacing: 'initial',
6939
+ textAlign: 'center'
6676
6940
  },
6677
6941
  subtitle: {
6678
- margin: '0 0 12px 0'
6942
+ margin: '0 0 12px 0',
6943
+ textAlign: 'center',
6944
+ lineHeight: '26px'
6679
6945
  },
6680
6946
  addressRow: {
6681
- padding: '12px 0'
6947
+ // padding: '12px 0'
6682
6948
  },
6683
6949
  addressContainer: {
6684
6950
  '& img': {
@@ -6686,7 +6952,7 @@ const useSectionStyles = createUseStyles(theme => ({
6686
6952
  }
6687
6953
  },
6688
6954
  inputDiv: {
6689
- margin: '0 0 10px 0'
6955
+ // margin: '0 0 10px 0'
6690
6956
  },
6691
6957
  inputField: {
6692
6958
  width: '100%',
@@ -6718,7 +6984,8 @@ function Contact({
6718
6984
  let [btnDisabled, setBtnDisabled] = useState(false);
6719
6985
  const [nodeData] = sectionData.components;
6720
6986
  const classes = useSectionStyles({
6721
- containerWidth
6987
+ containerWidth,
6988
+ isMobile
6722
6989
  });
6723
6990
  let formInitialValue = {
6724
6991
  name: nodeData?.nameField?.metadata?.value,
@@ -6774,6 +7041,10 @@ function Contact({
6774
7041
  className: classes.partialBackground
6775
7042
  }), /*#__PURE__*/React.createElement("div", {
6776
7043
  className: classes.sectionContainer
7044
+ }, /*#__PURE__*/React.createElement("div", {
7045
+ className: classes.contentContainer
7046
+ }, /*#__PURE__*/React.createElement("div", {
7047
+ className: classes.leftContainer
6777
7048
  }, /*#__PURE__*/React.createElement("h2", {
6778
7049
  className: classes.title
6779
7050
  }, /*#__PURE__*/React.createElement("span", {
@@ -6782,10 +7053,6 @@ function Contact({
6782
7053
  __html: nodeData?.title?.metadata?.value
6783
7054
  }
6784
7055
  })), /*#__PURE__*/React.createElement("div", {
6785
- className: classes.contentContainer
6786
- }, /*#__PURE__*/React.createElement("div", {
6787
- className: classes.leftContainer
6788
- }, /*#__PURE__*/React.createElement("div", {
6789
7056
  ref: nodeData?.subtitle?.refSetter,
6790
7057
  className: classes.subtitle,
6791
7058
  dangerouslySetInnerHTML: {
@@ -6888,7 +7155,9 @@ function Contact({
6888
7155
  messageValid: 1
6889
7156
  });
6890
7157
  }
6891
- })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(Button, {
7158
+ })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement("div", {
7159
+ className: classes.btnContainer
7160
+ }, /*#__PURE__*/React.createElement(Button, {
6892
7161
  ref: nodeData?.cta?.refSetter,
6893
7162
  data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
6894
7163
  value: 'Submitted'
@@ -6900,7 +7169,7 @@ function Contact({
6900
7169
  size: isMobile ? 'small' : 'medium',
6901
7170
  disabled: btnDisabled,
6902
7171
  name: "button"
6903
- }))))));
7172
+ })))))));
6904
7173
  }
6905
7174
 
6906
7175
  var index$5 = /*#__PURE__*/Object.freeze({
@@ -6913,18 +7182,21 @@ const useWebinarPromotionPage = createUseStyles(theme => {
6913
7182
  webinarSuperContainer: {
6914
7183
  display: 'flex',
6915
7184
  justifyContent: 'center',
6916
- padding: '70px',
7185
+ padding: ({
7186
+ isMobile
7187
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6917
7188
  '&, & *, & *:before, & *:after': {
6918
7189
  fontFamily: theme?.typography?.fontFamily,
6919
7190
  boxSizing: 'border-box'
6920
- },
6921
- '& h2,& h3': {
6922
- fontWeight: '500',
6923
- '& b,& strong': {
6924
- fontWeight: '700'
6925
- }
6926
7191
  }
7192
+ // '& h2,& h3': {
7193
+ // fontWeight: '500',
7194
+ // '& b,& strong': {
7195
+ // fontWeight: '700'
7196
+ // }
7197
+ // }
6927
7198
  },
7199
+
6928
7200
  sectionContainer: {
6929
7201
  margin: '0 auto',
6930
7202
  maxWidth: ({
@@ -6936,30 +7208,34 @@ const useWebinarPromotionPage = createUseStyles(theme => {
6936
7208
  maxWidth: '1440px',
6937
7209
  fontFamily: theme?.typography?.fontFamily
6938
7210
  },
6939
- videoTestimonialHeading: {
6940
- fontSize: '16px',
6941
- lineHeight: '20px',
6942
- letterSpacing: '3px',
6943
- textTransform: 'uppercase',
6944
- color: theme.palette.font.tertiary,
6945
- wordBreak: 'break-word',
6946
- fontWeight: '700'
6947
- },
6948
- videoTestimonialTitle: {
6949
- fontSize: '56px',
6950
- lineHeight: '71px',
6951
- letterSpacing: '-3px',
6952
- margin: '0',
6953
- color: theme.palette.font.default,
6954
- wordBreak: 'break-word'
6955
- },
6956
- videoCarouselContainer: {
6957
- marginTop: '16px'
6958
- },
7211
+ // videoTestimonialHeading: {
7212
+ // fontSize: theme.typography.fontSize.subHead,
7213
+ // lineHeight: '20px',
7214
+ // letterSpacing: '3px',
7215
+ // textTransform: 'uppercase',
7216
+ // color: theme.palette.font.tertiary,
7217
+ // wordBreak: 'break-word',
7218
+ // fontWeight: theme.typography.fontWeight.bold,
7219
+ // },
7220
+
7221
+ // videoTestimonialTitle: {
7222
+ // fontSize: theme.typography.fontSize.h2,
7223
+ // lineHeight: '71px',
7224
+ // fontWeight: theme.typography.fontWeight.bold,
7225
+ // letterSpacing: '-3px',
7226
+ // margin: '0',
7227
+ // color: theme.palette.font.default,
7228
+ // wordBreak: 'break-word'
7229
+ // },
7230
+
7231
+ // videoCarouselContainer: {
7232
+ // marginTop: '16px'
7233
+ // },
7234
+
6959
7235
  webinarCarousel: {
6960
7236
  display: 'flex',
6961
7237
  justifyContent: 'flex-start',
6962
- gap: '20px'
7238
+ gap: '32px'
6963
7239
  },
6964
7240
  '@media screen and (max-width: 767px)': {
6965
7241
  webinarCarousel: {
@@ -6974,18 +7250,21 @@ const useWebinarPromotionPage = createUseStyles(theme => {
6974
7250
  alignItems: 'center'
6975
7251
  },
6976
7252
  iframeContainer: {
6977
- width: '90%',
7253
+ width: '100%',
6978
7254
  position: 'relative',
6979
7255
  paddingBottom: '56.25%',
6980
7256
  // top: "6%",
6981
- left: '5%'
7257
+ // left: '5%'
7258
+ borderRadius: '8px',
7259
+ overflow: 'hidden'
6982
7260
  },
6983
7261
  offerText: {
6984
7262
  textAlign: 'center',
6985
- color: theme.palette.font.primary
7263
+ color: theme.palette.font.primary,
7264
+ marginBottom: '5%'
6986
7265
  },
6987
7266
  offerPrice: {
6988
- fontSize: '28px',
7267
+ fontSize: theme.typography.fontSize.h5,
6989
7268
  fontWeight: '600'
6990
7269
  },
6991
7270
  priceContainer: {
@@ -7004,9 +7283,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7004
7283
  bottomContainer: {
7005
7284
  display: 'flex',
7006
7285
  justifyContent: 'space-between',
7007
- marginTop: '5%',
7008
- padding: '0px 5% 0px 5%'
7286
+ marginTop: '5%'
7287
+ // padding: '0px 5% 0px 5%'
7009
7288
  },
7289
+
7010
7290
  iframe: {
7011
7291
  position: 'absolute',
7012
7292
  width: '100%',
@@ -7017,10 +7297,12 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7017
7297
  width: '100%',
7018
7298
  display: 'flex',
7019
7299
  flexDirection: 'column',
7020
- alignItems: 'flex-start'
7300
+ alignItems: 'flex-start',
7301
+ gap: '20px'
7021
7302
  },
7022
7303
  videoDetailsHeading: {
7023
- fontSize: '40px',
7304
+ fontSize: theme.typography.fontSize.h3,
7305
+ fontWeight: theme.typography.fontWeight.bold,
7024
7306
  lineHeight: '48px',
7025
7307
  margin: '0',
7026
7308
  letterSpacing: '-1px',
@@ -7034,7 +7316,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7034
7316
  display: 'flex',
7035
7317
  flexDirection: 'column',
7036
7318
  justifyContent: 'start',
7037
- paddingTop: '20px',
7319
+ padding: '24px',
7038
7320
  borderRadius: '10px'
7039
7321
  },
7040
7322
  bannerContainer: {
@@ -7047,14 +7329,12 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7047
7329
  position: 'relative',
7048
7330
  fontSize: '18px',
7049
7331
  transform: 'rotate(180deg)',
7050
- clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))',
7051
- marginBottom: '16px'
7332
+ clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
7052
7333
  },
7053
7334
  bannerContainerText: {
7054
7335
  transform: 'rotate(180deg)'
7055
7336
  },
7056
7337
  courseDetailsTags: {
7057
- marginTop: '16px',
7058
7338
  display: 'flex'
7059
7339
  },
7060
7340
  courseDetailTag: {
@@ -7062,23 +7342,22 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7062
7342
  alignItems: 'center',
7063
7343
  marginRight: '20px',
7064
7344
  '& div': {
7065
- fontSize: '14px',
7345
+ fontSize: theme.typography.fontSize.subHead,
7066
7346
  marginLeft: '10px'
7067
7347
  }
7068
7348
  },
7069
7349
  courseDetailContent: {
7070
- marginTop: '16px',
7071
- fontSize: '16px',
7350
+ fontSize: theme.typography.fontSize.subHead,
7072
7351
  wordBreak: 'break-word',
7073
7352
  color: theme.palette.font.primary,
7074
- margin: '10px 0 20px',
7075
- whiteSpace: 'pre-wrap'
7353
+ whiteSpace: 'pre-wrap',
7354
+ width: '80%'
7076
7355
  },
7077
7356
  courseDetailViewFullDetails: {
7078
7357
  cursor: 'pointer',
7079
- fontSize: '16px',
7358
+ fontSize: theme.typography.fontSize.subHead,
7080
7359
  lineHeight: '24px',
7081
- margin: '0',
7360
+ marginTop: '-20px',
7082
7361
  color: '#00ADE7',
7083
7362
  wordBreak: 'break-word'
7084
7363
  },
@@ -7086,9 +7365,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7086
7365
  color: '#EB5757',
7087
7366
  fontWeight: '600'
7088
7367
  },
7089
- webinarButtonContainer: {
7090
- marginBottom: '20px'
7091
- },
7368
+ // webinarButtonContainer: {
7369
+ // marginBottom: '20px'
7370
+ // },
7371
+
7092
7372
  iconBackground: {
7093
7373
  display: 'flex',
7094
7374
  width: '36px',
@@ -7120,11 +7400,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7120
7400
  width: '100%'
7121
7401
  },
7122
7402
  videoDetailsHeading: {
7123
- fontSize: '16px',
7124
7403
  lineHeight: '20px'
7125
7404
  },
7126
7405
  videoTestimonialTitle: {
7127
- fontSize: '24px',
7406
+ // fontSize: '24px',
7128
7407
  lineHeight: '36px',
7129
7408
  letterSpacing: '-1px'
7130
7409
  },
@@ -7239,7 +7518,7 @@ const SingleVideoSlide$1 = props => {
7239
7518
  color: theme.palette.primary.main,
7240
7519
  width: "20px",
7241
7520
  name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
7242
- })), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
7521
+ })), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("div", {
7243
7522
  ref: data?.videoTextContent?.refSetter,
7244
7523
  className: classes.courseDetailContent,
7245
7524
  dangerouslySetInnerHTML: {
@@ -7256,7 +7535,7 @@ const SingleVideoSlide$1 = props => {
7256
7535
  }
7257
7536
  }))), /*#__PURE__*/React.createElement("div", {
7258
7537
  className: classes.courseViewContainer
7259
- }, data.isPaid !== 0 && checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && /*#__PURE__*/React.createElement("p", {
7538
+ }, data.isPaid !== 0 && checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && /*#__PURE__*/React.createElement("div", {
7260
7539
  className: classes.offerText
7261
7540
  }, "Offer Ends in", ' ', /*#__PURE__*/React.createElement("span", {
7262
7541
  className: classes.courseDetailTime
@@ -7280,10 +7559,9 @@ const SingleVideoSlide$1 = props => {
7280
7559
  className: classes.priceContainer
7281
7560
  }, /*#__PURE__*/React.createElement("div", {
7282
7561
  className: classes.offerPrice
7283
- }, "\u20B9", data?.effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
7562
+ }, "\u20B9", data?.effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("div", {
7284
7563
  style: {
7285
- fontSize: '20px',
7286
- marginTop: '0px'
7564
+ fontSize: '20px'
7287
7565
  }
7288
7566
  }, /*#__PURE__*/React.createElement("span", {
7289
7567
  className: classes.originalPrice
@@ -7317,12 +7595,14 @@ function CoursePromotionPage$1({
7317
7595
  sectionIndex
7318
7596
  }) {
7319
7597
  const {
7598
+ isMobile,
7320
7599
  layout: {
7321
7600
  containerWidth
7322
7601
  }
7323
7602
  } = useContext(PageContext);
7324
7603
  const classes = useWebinarPromotionPage({
7325
- containerWidth
7604
+ containerWidth,
7605
+ isMobile
7326
7606
  });
7327
7607
  return /*#__PURE__*/React.createElement("div", {
7328
7608
  className: classes.webinarSuperContainer
@@ -7348,18 +7628,22 @@ const useCoursePromotionPage = createUseStyles(theme => {
7348
7628
  courseSuperContainer: {
7349
7629
  display: 'flex',
7350
7630
  justifyContent: 'center',
7351
- padding: '70px ',
7631
+ background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background1,
7632
+ padding: ({
7633
+ isMobile
7634
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7352
7635
  '&, & *, & *:before, & *:after': {
7353
7636
  fontFamily: theme?.typography?.fontFamily,
7354
7637
  boxSizing: 'border-box'
7355
- },
7356
- '& h2,& h3': {
7357
- fontWeight: '500',
7358
- '& b,& strong': {
7359
- fontWeight: '700'
7360
- }
7361
7638
  }
7639
+ // '& h2,& h3': {
7640
+ // fontWeight: '500',
7641
+ // '& b,& strong': {
7642
+ // fontWeight: '700'
7643
+ // }
7644
+ // }
7362
7645
  },
7646
+
7363
7647
  sectionContainer: {
7364
7648
  margin: '0 auto',
7365
7649
  maxWidth: ({
@@ -7372,7 +7656,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7372
7656
  fontFamily: theme?.typography?.fontFamily
7373
7657
  },
7374
7658
  videoTestimonialHeading: {
7375
- fontSize: '16px',
7659
+ fontSize: theme.typography.fontSize.subHead,
7376
7660
  lineHeight: '20px',
7377
7661
  letterSpacing: '3px',
7378
7662
  textTransform: 'uppercase',
@@ -7381,7 +7665,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7381
7665
  fontWeight: '700'
7382
7666
  },
7383
7667
  videoTestimonialTitle: {
7384
- fontSize: '56px',
7668
+ fontSize: theme.typography.fontSize.h2,
7385
7669
  lineHeight: '71px',
7386
7670
  letterSpacing: '-3px',
7387
7671
  margin: '0',
@@ -7389,12 +7673,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
7389
7673
  wordBreak: 'break-word'
7390
7674
  },
7391
7675
  videoCarouselContainer: {
7392
- marginTop: '16px'
7676
+ // marginTop: '16px'
7393
7677
  },
7394
7678
  coursePageCarousel: {
7395
7679
  display: 'flex',
7396
7680
  justifyContent: 'flex-start',
7397
- gap: '20px'
7681
+ gap: '32px'
7398
7682
  },
7399
7683
  '@media screen and (max-width: 767px)': {
7400
7684
  coursePageCarousel: {
@@ -7409,18 +7693,19 @@ const useCoursePromotionPage = createUseStyles(theme => {
7409
7693
  alignItems: 'center'
7410
7694
  },
7411
7695
  iframeContainer: {
7412
- width: '90%',
7696
+ width: '100%',
7413
7697
  position: 'relative',
7414
- paddingBottom: '56.25%',
7698
+ paddingBottom: '56.25%'
7415
7699
  // top: "6%",
7416
- left: '5%'
7700
+ // left: '5%'
7417
7701
  },
7702
+
7418
7703
  offerText: {
7419
7704
  textAlign: 'center',
7420
7705
  color: theme.palette.font.primary
7421
7706
  },
7422
7707
  offerPrice: {
7423
- fontSize: '28px',
7708
+ fontSize: theme.typography.fontSize.h4,
7424
7709
  fontWeight: '700'
7425
7710
  },
7426
7711
  priceContainer: {
@@ -7438,7 +7723,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7438
7723
  fontWeight: '600'
7439
7724
  },
7440
7725
  bottomContainer: {
7441
- width: '90%',
7726
+ width: '100%',
7442
7727
  marginLeft: 'auto',
7443
7728
  marginRight: 'auto',
7444
7729
  display: 'flex',
@@ -7455,25 +7740,28 @@ const useCoursePromotionPage = createUseStyles(theme => {
7455
7740
  width: '100%',
7456
7741
  display: 'flex',
7457
7742
  flexDirection: 'column',
7458
- alignItems: 'flex-start'
7743
+ alignItems: 'flex-start',
7744
+ gap: '20px'
7459
7745
  },
7460
7746
  videoDetailsHeading: {
7461
- fontSize: '40px',
7747
+ fontSize: theme.typography.fontSize.h3,
7462
7748
  lineHeight: '48px',
7463
7749
  margin: '0',
7464
7750
  letterSpacing: '-1px',
7465
7751
  wordBreak: 'break-word',
7466
- color: theme.palette.font.default
7752
+ color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1
7467
7753
  },
7468
7754
  courseViewContainer: {
7469
7755
  width: '445px',
7470
7756
  backgroundColor: '#f4f9ff',
7471
7757
  display: 'flex',
7758
+ padding: '24px',
7472
7759
  flexDirection: 'column',
7473
- borderRadius: '10px',
7474
- paddingBottom: '10px',
7475
- paddingTop: '10px'
7760
+ borderRadius: '10px'
7761
+ // paddingBottom: '10px',
7762
+ // paddingTop: '10px'
7476
7763
  },
7764
+
7477
7765
  bannerContainer: {
7478
7766
  width: '100%',
7479
7767
  background: '#EB5757',
@@ -7482,11 +7770,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
7482
7770
  padding: '10px 10px 23px 40px',
7483
7771
  wordWrap: 'break-word',
7484
7772
  position: 'relative',
7485
- fontSize: '18px',
7773
+ fontSize: theme.typography.fontSize.subHead,
7486
7774
  transform: 'rotate(180deg)',
7487
- clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))',
7488
- marginBottom: '16px'
7775
+ clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
7776
+ // marginBottom: '16px'
7489
7777
  },
7778
+
7490
7779
  bannerContainerText: {
7491
7780
  transform: 'rotate(180deg)'
7492
7781
  },
@@ -7497,16 +7786,15 @@ const useCoursePromotionPage = createUseStyles(theme => {
7497
7786
  },
7498
7787
  courseEmblem: {
7499
7788
  background: '#F0F4F8',
7789
+ fontSize: theme.typography.fontSize.subHead,
7500
7790
  borderRadius: '2.00337px',
7501
7791
  padding: '8px',
7502
7792
  display: 'flex',
7503
7793
  alignItems: 'center',
7504
- justifyContent: 'center',
7505
- marginTop: '20px',
7506
- marginBottom: '20px'
7794
+ justifyContent: 'center'
7507
7795
  },
7508
7796
  courseDetailsTags: {
7509
- marginTop: '16px',
7797
+ // marginTop: '16px',
7510
7798
  display: 'flex',
7511
7799
  flexWrap: 'wrap'
7512
7800
  },
@@ -7516,25 +7804,26 @@ const useCoursePromotionPage = createUseStyles(theme => {
7516
7804
  alignItems: 'center',
7517
7805
  marginRight: '20px',
7518
7806
  '& div': {
7519
- fontSize: '14px',
7807
+ fontSize: theme.typography.fontSize.subHead,
7808
+ fontWeight: theme.typography.fontWeight.semiBold,
7520
7809
  marginLeft: '10px'
7521
7810
  }
7522
7811
  },
7523
7812
  courseDetailContent: {
7524
- marginTop: '16px',
7525
- fontSize: '16px',
7813
+ // marginTop: '16px',
7814
+ fontSize: theme.typography.fontSize.subHead,
7526
7815
  lineHeight: '24px',
7527
7816
  wordBreak: 'break-word',
7528
- color: theme.palette.font.primary,
7817
+ color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
7529
7818
  whiteSpace: 'pre-wrap',
7530
7819
  margin: '10px 0 20px'
7531
7820
  },
7532
7821
  courseDetailViewFullDetails: {
7533
7822
  cursor: 'pointer',
7534
- fontSize: '16px',
7823
+ fontSize: theme.typography.fontSize.subHead,
7535
7824
  lineHeight: '24px',
7536
- margin: '0',
7537
- color: '#00ADE7',
7825
+ marginTop: '-24px',
7826
+ color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
7538
7827
  wordBreak: 'break-word'
7539
7828
  },
7540
7829
  courseDetailTime: {
@@ -7580,7 +7869,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7580
7869
  },
7581
7870
  '@media (max-width: 767px)': {
7582
7871
  bannerContainerText: {
7583
- fontSize: '16px'
7872
+ // fontSize: '16px'
7584
7873
  },
7585
7874
  courseViewContainer: {
7586
7875
  width: '100%',
@@ -7601,12 +7890,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
7601
7890
  width: '100%'
7602
7891
  },
7603
7892
  videoDetailsHeading: {
7604
- fontSize: '20px',
7893
+ // fontSize: '20px',
7605
7894
  fontWeight: '600',
7606
7895
  lineHeight: '20px'
7607
7896
  },
7608
7897
  videoTestimonialTitle: {
7609
- fontSize: '24px',
7898
+ // fontSize: '24px',
7610
7899
  lineHeight: '36px',
7611
7900
  letterSpacing: '-1px'
7612
7901
  },
@@ -7792,7 +8081,7 @@ const SingleVideoSlide = props => {
7792
8081
  className: classes.offerPrice
7793
8082
  }, "\u20B9 ", data.effectivePrice), checkForShowDiscount() && (data.endDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
7794
8083
  style: {
7795
- fontSize: '20px',
8084
+ // fontSize: '20px',
7796
8085
  marginTop: '0px'
7797
8086
  }
7798
8087
  }, /*#__PURE__*/React.createElement("span", {
@@ -7842,12 +8131,14 @@ function CoursePromotionPage({
7842
8131
  sectionIndex
7843
8132
  }) {
7844
8133
  const {
8134
+ isMobile,
7845
8135
  layout: {
7846
8136
  containerWidth
7847
8137
  }
7848
8138
  } = useContext(PageContext);
7849
8139
  const classes = useCoursePromotionPage({
7850
- containerWidth
8140
+ containerWidth,
8141
+ isMobile
7851
8142
  });
7852
8143
  return /*#__PURE__*/React.createElement("div", {
7853
8144
  className: classes.courseSuperContainer
@@ -7871,7 +8162,9 @@ var index$3 = /*#__PURE__*/Object.freeze({
7871
8162
 
7872
8163
  const useFormPageStyles = createUseStyles(theme => ({
7873
8164
  formPageSection: {
7874
- padding: '35px 70px',
8165
+ padding: ({
8166
+ isMobile
8167
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7875
8168
  background: '#F4F9FF',
7876
8169
  '&, & *, & *:before, & *:after': {
7877
8170
  fontFamily: theme?.typography?.fontFamily,
@@ -7882,77 +8175,82 @@ const useFormPageStyles = createUseStyles(theme => ({
7882
8175
  textAlign: 'center'
7883
8176
  },
7884
8177
  formPageTitle: {
7885
- fontSize: '50px',
7886
- fontWeight: '700'
8178
+ fontSize: theme.typography.fontSize.h2,
8179
+ fontWeight: theme.typography.fontWeight.bold
7887
8180
  },
7888
8181
  formPageSubtitle: {
7889
- marginTop: '16px',
7890
- fontSize: '16px',
8182
+ marginTop: '8px',
8183
+ fontSize: theme.typography.fontSize.h6,
7891
8184
  lineHeight: '23px',
7892
8185
  color: 'rgba(51, 51, 51, 0.5)',
7893
- marginBottom: '32px'
8186
+ marginBottom: theme.spacing.margin.tiny
7894
8187
  },
7895
8188
  formPageFormContainer: {
7896
- marginTop: '32px',
7897
8189
  '& form': {
7898
- padding: '35px 140px',
8190
+ padding: '72px',
7899
8191
  background: '#FFFFFF',
7900
8192
  borderRadius: '8px',
7901
8193
  boxShadow: '0px 4px 10px rgba(0, 0, 0, 0.16)'
7902
8194
  }
7903
8195
  },
7904
8196
  inputField: {
7905
- marginTop: '20px',
7906
- padding: '20px',
7907
- border: '1px solid #D8E0F0',
7908
- borderRadius: '16px'
8197
+ marginTop: '12px'
8198
+ // padding: '12px 16px',
8199
+ // border: '1px solid #D8E0F0',
8200
+ // borderRadius: '16px'
7909
8201
  },
8202
+
7910
8203
  inputFieldLabel: {
7911
8204
  color: '#333',
7912
- fontSize: '20px',
8205
+ fontSize: theme.typography.fontSize.subHead,
8206
+ fontWeight: theme.typography.fontWeight.semiBold,
7913
8207
  display: 'block',
7914
- marginBottom: '10px'
8208
+ marginTop: '20px',
8209
+ marginBottom: '12px'
7915
8210
  },
7916
8211
  inputFieldControl: {
7917
8212
  width: '100%',
7918
- height: '50px',
7919
8213
  borderRadius: '8px',
7920
8214
  border: '1px solid #D8E0F0',
7921
- padding: '5px 10px',
8215
+ padding: '12px 16px',
7922
8216
  color: '#7D8592',
7923
- fontSize: '16px'
8217
+ fontSize: theme.typography.fontSize.subHead
7924
8218
  },
7925
8219
  checkboxField: {
7926
- marginTop: '20px',
7927
- padding: '20px',
7928
- border: '1px solid #D8E0F0',
7929
- borderRadius: '8px'
8220
+ // padding: '20px',
8221
+ // border: '1px solid #D8E0F0',
8222
+ // borderRadius: '8px'
7930
8223
  },
7931
8224
  checkBoxFieldLabel: {
7932
8225
  color: '#333',
7933
- fontSize: '20px',
7934
- margin: '10px 0'
8226
+ fontSize: theme.typography.fontSize.subHead,
8227
+ fontWeight: theme.typography.fontWeight.semiBold,
8228
+ marginTop: '20px',
8229
+ marginBottom: '12px'
7935
8230
  },
7936
8231
  inputFieldRequired: {
7937
8232
  color: '#F41828'
7938
8233
  },
7939
8234
  checkboxFieldControl: {
7940
- padding: '6px 0',
8235
+ padding: '8px 0',
7941
8236
  '& label': {
7942
- fontFamily: '16px',
8237
+ fontSize: theme.typography.fontSize.subHead,
7943
8238
  marginLeft: '10px',
7944
8239
  color: '#7D8592'
7945
8240
  }
7946
8241
  },
7947
8242
  submitBtnContainer: {
7948
- marginTop: '20px',
8243
+ marginTop: theme.spacing.margin.tiny,
8244
+ display: 'flex',
8245
+ alignItems: 'center',
8246
+ justifyContent: 'center',
7949
8247
  width: '100%',
7950
8248
  margin: '0 auto',
7951
8249
  '& button': {
7952
- height: '44px',
7953
- padding: '10px 40px',
8250
+ // height: '44px',
8251
+ padding: '16px 24px',
7954
8252
  color: '#FFFFFF',
7955
- fontSize: '16px',
8253
+ fontSize: theme.typography.fontSize.subHead,
7956
8254
  cursor: 'pointer',
7957
8255
  borderRadius: '8px'
7958
8256
  }
@@ -7967,8 +8265,14 @@ const useFormPageStyles = createUseStyles(theme => ({
7967
8265
  },
7968
8266
  formPageFormContainer: {
7969
8267
  '& form': {
7970
- padding: '24px'
8268
+ padding: '16px'
7971
8269
  }
8270
+ },
8271
+ inputFieldLabel: {
8272
+ marginBottom: '8px'
8273
+ },
8274
+ checkBoxFieldLabel: {
8275
+ marginBottom: '8px'
7972
8276
  }
7973
8277
  }
7974
8278
  }));
@@ -8015,13 +8319,16 @@ const FormPage = ({
8015
8319
  extraProps = {}
8016
8320
  }) => {
8017
8321
  const [formData, setFormData] = useState({});
8018
- const classes = useFormPageStyles();
8019
8322
  const [formSubmitted, setformSubmitted] = useState(false);
8020
8323
  const metadata = sectionData?.components?.[0]?.metadata || formPageMock;
8021
8324
  const {
8022
8325
  _id,
8023
- baseURLs
8326
+ baseURLs,
8327
+ isMobile
8024
8328
  } = useContext(PageContext);
8329
+ const classes = useFormPageStyles({
8330
+ isMobile
8331
+ });
8025
8332
  const handleSubmit = async e => {
8026
8333
  e.preventDefault();
8027
8334
  let formResponse = [];
@@ -8228,16 +8535,18 @@ const useTilesStyles = createUseStyles(theme => {
8228
8535
  alignItems: 'center',
8229
8536
  display: 'flex',
8230
8537
  flexDirection: 'column',
8231
- marginTop: '20px'
8538
+ padding: ({
8539
+ isMobile
8540
+ } = {}) => isMobile ? `16px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`
8232
8541
  },
8233
8542
  tileDiv: {
8234
8543
  width: '236px',
8235
- height: '160px',
8544
+ // height: '160px',
8545
+ aspectRatio: '3/2',
8236
8546
  position: 'relative',
8237
8547
  borderRadius: '16px',
8238
8548
  overflow: 'hidden',
8239
- cursor: 'pointer',
8240
- margin: '1rem'
8549
+ cursor: 'pointer'
8241
8550
  },
8242
8551
  tileImg: {
8243
8552
  objectFit: 'cover',
@@ -8252,8 +8561,8 @@ const useTilesStyles = createUseStyles(theme => {
8252
8561
  top: '12%',
8253
8562
  left: '7%',
8254
8563
  color: 'white',
8255
- fontWeight: '600',
8256
- fontSize: '20px',
8564
+ fontWeight: theme.typography.fontWeight.semiBold,
8565
+ fontSize: theme.typography.fontSize.h5,
8257
8566
  width: '150px'
8258
8567
  },
8259
8568
  row: {
@@ -8261,25 +8570,28 @@ const useTilesStyles = createUseStyles(theme => {
8261
8570
  flexDirection: 'row',
8262
8571
  justifyContent: 'center',
8263
8572
  flexWrap: 'wrap',
8264
- width: '85%',
8265
- marginBottom: '3rem'
8573
+ width: '100%',
8574
+ gap: '24px'
8266
8575
  },
8267
8576
  header: {
8268
- fontWeight: '700',
8269
- fontSize: '46px',
8577
+ fontWeight: theme.typography.fontWeight.bold,
8578
+ fontSize: theme.typography.fontSize.h2,
8270
8579
  lineHeight: '46px',
8271
- marginBottom: '1rem',
8272
8580
  textAlign: 'center',
8273
- marginTop: '3rem',
8274
8581
  color: '#2D2D2D'
8275
8582
  },
8276
8583
  headerTitle: {
8277
- fontWeight: '400',
8278
- fontSize: '24px',
8584
+ fontWeight: theme.typography.fontWeight.regular,
8585
+ fontSize: theme.typography.fontSize.subHead,
8279
8586
  lineHeight: '46px',
8280
8587
  color: '#7D8592',
8281
- marginBottom: '3rem',
8588
+ marginBottom: theme.spacing.margin.tiny,
8282
8589
  textAlign: 'center'
8590
+ },
8591
+ '@media screen and (max-width: 767px)': {
8592
+ tileDiv: {
8593
+ width: 'calc(53% - 24px)'
8594
+ }
8283
8595
  }
8284
8596
  };
8285
8597
  });
@@ -8288,7 +8600,6 @@ function Tiles({
8288
8600
  sectionData,
8289
8601
  sectionIndex
8290
8602
  }) {
8291
- const classes = useTilesStyles({});
8292
8603
  const {
8293
8604
  isMobile,
8294
8605
  layout: {
@@ -8297,6 +8608,9 @@ function Tiles({
8297
8608
  isPreview,
8298
8609
  isEdit
8299
8610
  } = useContext(PageContext);
8611
+ const classes = useTilesStyles({
8612
+ isMobile
8613
+ });
8300
8614
  const nodeData = sectionData.components;
8301
8615
  const tilesList = nodeData[0]?.tilesList.components;
8302
8616
  const handleClick = value => {