@@ -106,8 +106,10 @@ body {
106106 top : 0 ;
107107 left : 0 ;
108108 right : 0 ;
109- z-index : 1030 ; /* Highest z-index */
109+ z-index : 1030 ;
110110 background : var (--bs-dark ) !important ;
111+ transition : all 0.3s ease;
112+ width : 100% ;
111113 min-height : 70px ;
112114 padding : 1rem 0 ;
113115}
@@ -156,14 +158,13 @@ body {
156158 min-height : 95vh ; /* This makes it take full viewport height */
157159 background : var (--bs-dark );
158160 color : var (--bs-light );
159- padding : 0 ; /* Remove default padding */
161+ padding : 0 ;
160162 margin-bottom : 3rem ;
161163 min-width : 100% ;
162164}
163165
164- /* If the image is too large, you might want to constrain its height */
165166.hero-section .about-img img {
166- max-height : 40vh ; /* Adjust this value as needed */
167+ max-height : 40vh ;
167168 width : auto;
168169}
169170
@@ -172,6 +173,9 @@ body {
172173 position : sticky;
173174 top : 70px ;
174175 background : var (--bs-dark );
176+ padding : 2rem 0 ;
177+ margin-bottom : 0 ;
178+ z-index : 1020 ;
175179 padding : 2rem ;
176180 margin : 0 ;
177181 z-index : 1020 ;
@@ -202,6 +206,12 @@ body {
202206 z-index : -1 ;
203207}
204208
209+ /*** Sections ***/
210+ section {
211+ position : relative;
212+ min-height : auto;
213+ }
214+
205215.section-header .is-sticky {
206216 box-shadow : 0 2px 10px rgba (0 , 0 , 0 , 0.1 );
207217}
@@ -210,7 +220,6 @@ body {
210220section {
211221 position : relative;
212222 margin : 0 ;
213- margin-bottom : 0 ;
214223}
215224
216225.section-content {
@@ -454,13 +463,14 @@ section {
454463
455464.testimonial-carousel .owl-dots {
456465 width : 100% ;
457- height : 80 px ; /* Fixed height that accommodates both normal and active states */
466+ height : auto;
458467 display : flex;
459468 align-items : center;
460469 justify-content : center;
461470 margin-top : 2rem ;
462- padding : 0 ;
471+ padding : 1 rem ;
463472 position : relative; /* Add this */
473+ flex-wrap : wrap;
464474}
465475
466476.testimonial-carousel .owl-dots .owl-dot {
@@ -711,6 +721,16 @@ section {
711721
712722/*** Media Queries ***/
713723@media (max-width : 991px ) {
724+
725+ body {
726+ padding-top : 56px ; /* Standard mobile navbar height */
727+ }
728+
729+ .navbar {
730+ min-height : 56px ;
731+ padding : 0.5rem 0 ;
732+ }
733+
714734 .navbar-collapse {
715735 background : var (--bs-dark );
716736 padding : 1rem ;
@@ -733,6 +753,25 @@ section {
733753 position : relative;
734754 }
735755
756+ .section-header {
757+ top : 56px ;
758+ padding : 0.75rem ;
759+ margin-bottom : 0 ;
760+ }
761+
762+ .section-content {
763+ padding : 1rem 0 ;
764+ }
765+
766+ .text-body {
767+ padding : 1rem ;
768+ margin : 0 ;
769+ }
770+
771+ section {
772+ margin-bottom : 0 ;
773+ }
774+
736775 .section-header h2 {
737776 font-size : 1.75rem ;
738777 }
@@ -755,6 +794,38 @@ section {
755794}
756795
757796@media (max-width : 767px ) {
797+
798+ body {
799+ padding-top : 56px ; /* Standard mobile navbar height */
800+ }
801+
802+ .navbar {
803+ min-height : 56px ;
804+ padding : 0.5rem 0 ;
805+ }
806+
807+ .navbar-collapse {
808+ background : var (--bs-dark );
809+ padding : 1rem ;
810+ margin-top : 0.5rem ;
811+ max-height : calc (100vh - 70px );
812+ overflow-y : auto;
813+ }
814+
815+ .navbar .container-fluid .container {
816+ padding : 0 15px ;
817+ }
818+
819+ .navbar-brand {
820+ z-index : 1000 ;
821+ position : relative;
822+ }
823+
824+ .navbar-toggler {
825+ z-index : 1000 ;
826+ position : relative;
827+ }
828+
758829 .hero-section {
759830 padding : 4rem 0 ;
760831 }
@@ -764,25 +835,28 @@ section {
764835 }
765836
766837 .section-header {
767- padding : 0.75rem 0 ;
838+ top : 56px ;
839+ padding : 0.75rem ;
840+ margin-bottom : 0 ;
768841 }
769-
770- .section-header h2 {
771- font-size : 1.25rem ;
772- margin : 0 ;
773- }
774-
842+
775843 .section-content {
776- padding : 0.75 rem 0 ;
844+ padding : 1 rem 0 ;
777845 }
778-
779- /* Remove any unexpected margins */
780- .container , .container-fluid {
781- padding-left : 15px ;
782- padding-right : 15px ;
846+
847+ .text-body {
848+ padding : 1rem ;
783849 margin : 0 ;
784850 }
785851
852+ section {
853+ margin-bottom : 0 ;
854+ }
855+
856+ .section-header h2 {
857+ font-size : 1.5rem ;
858+ }
859+
786860 .testimonial-carousel .owl-nav {
787861 display : none;
788862 }
0 commit comments