@@ -294,6 +294,80 @@ body {
294294 color : var (--bs-secondary ) !important ;
295295 font-size : smaller !important ;
296296}
297+ /*** Text End ***/
298+
299+ /*** Header Start ***/
300+ /* Header padding adjustments */
301+ .portfolio-header ,
302+ .about-header ,
303+ .testimonial-header {
304+ padding : 2rem !important ; /* Base padding for all screen sizes */
305+ }
306+
307+ /* Adjust header text sizing and spacing */
308+ .display-6 {
309+ font-size : 1.75rem !important ; /* Slightly smaller base size */
310+ margin-bottom : 1rem !important ;
311+ line-height : 1.3 !important ;
312+ }
313+
314+ /* Responsive adjustments */
315+ @media (min-width : 576px ) {
316+ .portfolio-header ,
317+ .about-header ,
318+ .testimonial-header {
319+ padding : 2.5rem !important ;
320+ }
321+
322+ .display-6 {
323+ font-size : 2rem !important ;
324+ }
325+ }
326+
327+ @media (min-width : 768px ) {
328+ .portfolio-header ,
329+ .about-header ,
330+ .testimonial-header {
331+ padding : 3rem !important ;
332+ }
333+
334+ .display-6 {
335+ font-size : 2.25rem !important ;
336+ }
337+ }
338+
339+ @media (min-width : 992px ) {
340+ .portfolio-header ,
341+ .about-header ,
342+ .testimonial-header {
343+ padding : 4% !important ;
344+ }
345+
346+ .display-6 {
347+ font-size : 2.5rem !important ;
348+ }
349+ }
350+
351+ /* Additional spacing for header content */
352+ .text-start .d-flex .flex-column .justify-content-center {
353+ padding : 0.5rem ;
354+ }
355+
356+ /* Ensure sub-title has proper spacing */
357+ .sub-title {
358+ margin-top : 0.5rem ;
359+ line-height : 1.4 ;
360+ }
361+
362+ /* Add proper spacing when stacked on mobile */
363+ @media (max-width : 991px ) {
364+ .portfolio-header ,
365+ .about-header ,
366+ .testimonial-header {
367+ margin-bottom : 1rem ;
368+ }
369+ }
370+ /*** Header End ***/
297371
298372/*** Navbar Start ***/
299373.nav-section {
@@ -362,21 +436,17 @@ body {
362436
363437/*** About Start ***/
364438.about-content .about-img {
365- display : block ;
366- margin : 0 auto ;
367- max-width : 100 % ;
368- height : auto;
439+ display : flex ;
440+ justify-content : center ;
441+ align-items : center;
442+ width : 100 % ;
369443 padding-top : 10% ;
370- /* margin-left: calc(15%); */
371444}
372445
373446.about-img img {
374- display : block;
375- margin : 0 auto;
376447 max-width : 100% ;
377448 height : auto;
378- margin : 10% ;
379- /* margin-left: calc(50%); */
449+ margin : 0 auto;
380450}
381451
382452/*** About End ***/
0 commit comments