2929 background : url ('../img/Fondo_liso.jpg' ) no-repeat center center fixed;
3030 background-size : cover;
3131 padding-top : 70px ; /* This is to make sure the navbar doesn't overlap the content */
32+ overflow-x : hidden;
3233}
3334
3435/* Scrollable container */
@@ -102,12 +103,12 @@ body {
102103 top : 0 ;
103104 left : 0 ;
104105 right : 0 ;
105- z-index : 999 ;
106+ z-index : 1030 ;
106107 background : var (--bs-dark ) !important ;
107108 transition : all 0.3s ease;
108- /* width: 100%;
109+ width : 100% ;
109110 min-height : 70px ;
110- padding: 1rem 0; */
111+ padding : 1rem 0 ;
111112}
112113
113114.navbar-brand {
@@ -154,22 +155,23 @@ body {
154155 min-height : 95vh ; /* This makes it take full viewport height */
155156 background : var (--bs-dark );
156157 color : var (--bs-light );
157- padding : 0 ; /* Remove default padding */
158+ padding : 0 ;
158159 margin-bottom : 3rem ;
159160}
160161
161- /* If the image is too large, you might want to constrain its height */
162162.hero-section .about-img img {
163- max-height : 40vh ; /* Adjust this value as needed */
163+ max-height : 40vh ;
164164 width : auto;
165165}
166166
167167/*** Section Headers ***/
168168.section-header {
169- position : relative;
169+ position : sticky;
170+ top : 70px ;
170171 background : var (--bs-dark );
171- padding : 2rem ;
172- margin-bottom : 3rem ;
172+ padding : 2rem 0 ;
173+ margin-bottom : 0 ;
174+ z-index : 1020 ;
173175}
174176
175177.section-header h2 {
@@ -191,6 +193,17 @@ body {
191193 z-index : -1 ;
192194}
193195
196+ /*** Sections ***/
197+ section {
198+ position : relative;
199+ min-height : auto;
200+ margin-bottom : 0 ;
201+ }
202+
203+ .section-content {
204+ padding : 2rem 0 ;
205+ }
206+
194207/*** Buttons ***/
195208.btn {
196209 font-weight : 600 ;
@@ -428,13 +441,14 @@ body {
428441
429442.testimonial-carousel .owl-dots {
430443 width : 100% ;
431- height : 80 px ; /* Fixed height that accommodates both normal and active states */
444+ height : auto;
432445 display : flex;
433446 align-items : center;
434447 justify-content : center;
435448 margin-top : 2rem ;
436- padding : 0 ;
449+ padding : 1 rem ;
437450 position : relative; /* Add this */
451+ flex-wrap : wrap;
438452}
439453
440454.testimonial-carousel .owl-dots .owl-dot {
@@ -685,6 +699,16 @@ body {
685699
686700/*** Media Queries ***/
687701@media (max-width : 991px ) {
702+
703+ body {
704+ padding-top : 56px ; /* Standard mobile navbar height */
705+ }
706+
707+ .navbar {
708+ min-height : 56px ;
709+ padding : 0.5rem 0 ;
710+ }
711+
688712 .navbar-collapse {
689713 background : var (--bs-dark );
690714 padding : 1rem ;
@@ -707,6 +731,25 @@ body {
707731 position : relative;
708732 }
709733
734+ .section-header {
735+ top : 56px ;
736+ padding : 0.75rem ;
737+ margin-bottom : 0 ;
738+ }
739+
740+ .section-content {
741+ padding : 1rem 0 ;
742+ }
743+
744+ .text-body {
745+ padding : 1rem ;
746+ margin : 0 ;
747+ }
748+
749+ section {
750+ margin-bottom : 0 ;
751+ }
752+
710753 .section-header h2 {
711754 font-size : 1.75rem ;
712755 }
@@ -729,6 +772,38 @@ body {
729772}
730773
731774@media (max-width : 767px ) {
775+
776+ body {
777+ padding-top : 56px ; /* Standard mobile navbar height */
778+ }
779+
780+ .navbar {
781+ min-height : 56px ;
782+ padding : 0.5rem 0 ;
783+ }
784+
785+ .navbar-collapse {
786+ background : var (--bs-dark );
787+ padding : 1rem ;
788+ margin-top : 0.5rem ;
789+ max-height : calc (100vh - 70px );
790+ overflow-y : auto;
791+ }
792+
793+ .navbar .container-fluid .container {
794+ padding : 0 15px ;
795+ }
796+
797+ .navbar-brand {
798+ z-index : 1000 ;
799+ position : relative;
800+ }
801+
802+ .navbar-toggler {
803+ z-index : 1000 ;
804+ position : relative;
805+ }
806+
732807 .hero-section {
733808 padding : 4rem 0 ;
734809 }
@@ -738,7 +813,26 @@ body {
738813 }
739814
740815 .section-header {
741- padding : 1.5rem ;
816+ top : 56px ;
817+ padding : 0.75rem ;
818+ margin-bottom : 0 ;
819+ }
820+
821+ .section-content {
822+ padding : 1rem 0 ;
823+ }
824+
825+ .text-body {
826+ padding : 1rem ;
827+ margin : 0 ;
828+ }
829+
830+ section {
831+ margin-bottom : 0 ;
832+ }
833+
834+ .section-header h2 {
835+ font-size : 1.5rem ;
742836 }
743837
744838 .testimonial-carousel .owl-nav {
@@ -748,10 +842,7 @@ body {
748842 .pt-6 , .pb-6 , .ps-6 , .pe-6 {
749843 padding : 2rem ;
750844 }
751- }
752845
753- /* Responsive adjustments */
754- @media (max-width : 767px ) {
755846 .feature-grid {
756847 grid-template-columns : 1fr ;
757848 gap : 1rem ;
0 commit comments