banner font size reduced

This commit is contained in:
Selvi 2025-09-17 17:55:44 +05:30
parent db638b9d36
commit 6f4743fb83

View File

@ -1,19 +1,18 @@
/** banner-section **/ /** banner-section **/
.banner-section{ .banner-section {
position: relative; position: relative;
overflow: hidden; overflow: hidden;
background-color: #fff; background-color: #fff;
padding: 203px 0px 115px 0px; padding: 203px 0px 115px 0px;
} }
.banner-section .content-box{ .banner-section .content-box {
position: relative; position: relative;
display: block; display: block;
} }
.banner-section .content-box .upper-text{ .banner-section .content-box .upper-text {
position: relative; position: relative;
display: block; display: block;
font-size: 24px; font-size: 24px;
@ -24,7 +23,7 @@
margin-bottom: 15px; margin-bottom: 15px;
} }
.banner-section .content-box h2{ .banner-section .content-box h2 {
display: block; display: block;
font-size: 64px; font-size: 64px;
line-height: 75px; line-height: 75px;
@ -33,14 +32,14 @@
margin-bottom: 30px; margin-bottom: 30px;
} }
.banner-section .content-box h2 span{ .banner-section .content-box h2 span {
position: relative; position: relative;
display: inline-block; display: inline-block;
font-weight: 400; font-weight: 400;
color: var(--secondary-color); color: var(--secondary-color);
} }
.banner-section .content-box h2 span:before{ .banner-section .content-box h2 span:before {
position: absolute; position: absolute;
content: ''; content: '';
background: var(--secondary-color); background: var(--secondary-color);
@ -51,23 +50,23 @@
border-radius: 10px; border-radius: 10px;
} }
.banner-section .content-box p{ .banner-section .content-box p {
display: block; display: block;
color: #fff; color: #fff;
margin-bottom: 45px; margin-bottom: 45px;
} }
.banner-section .image-box{ .banner-section .image-box {
position: relative; position: relative;
display: block; display: block;
margin-left: -25px; margin-left: -25px;
} }
.banner-section .image-box img{ .banner-section .image-box img {
width: 100%; width: 100%;
} }
.banner-section .pattern-layer{ .banner-section .pattern-layer {
position: absolute; position: absolute;
left: 0px; left: 0px;
top: 0px; top: 0px;
@ -78,7 +77,7 @@
background-position: bottom center; background-position: bottom center;
} }
.banner-section .shape .shape-1{ .banner-section .shape .shape-1 {
position: absolute; position: absolute;
left: 180px; left: 180px;
top: 285px; top: 285px;
@ -89,7 +88,7 @@
animation: zoom-fade 4s infinite linear; animation: zoom-fade 4s infinite linear;
} }
.banner-section .shape .shape-2{ .banner-section .shape .shape-2 {
position: absolute; position: absolute;
left: 115px; left: 115px;
bottom: 210px; bottom: 210px;
@ -99,7 +98,7 @@
opacity: 0.6; opacity: 0.6;
} }
.banner-section .shape .shape-3{ .banner-section .shape .shape-3 {
position: absolute; position: absolute;
top: 190px; top: 190px;
right: 205px; right: 205px;
@ -110,7 +109,7 @@
animation: zoom-fade 6s infinite linear; animation: zoom-fade 6s infinite linear;
} }
.banner-section .shape .shape-4{ .banner-section .shape .shape-4 {
position: absolute; position: absolute;
right: 200px; right: 200px;
bottom: 200px; bottom: 200px;
@ -124,12 +123,12 @@
/** banner-style-two **/ /** banner-style-two **/
.banner-carousel .swiper-slide{ .banner-carousel .swiper-slide {
position: relative; position: relative;
/* padding: 150px 0px 150px 0px; */ /* padding: 150px 0px 150px 0px; */
} }
.banner-slide{ .banner-slide {
padding: 150px 0px; padding: 150px 0px;
} }
@ -141,7 +140,7 @@
} }
} }
.banner-carousel .swiper-slide:before{ .banner-carousel .swiper-slide:before {
position: absolute; position: absolute;
content: ''; content: '';
/* background: #f9d6d6; */ /* background: #f9d6d6; */
@ -152,19 +151,19 @@
opacity: 0.8; opacity: 0.8;
z-index: 1; z-index: 1;
} }
.banner-carousel .swiper-slide .bg-layer{ .banner-carousel .swiper-slide .bg-layer {
position: absolute; position: absolute;
left:0; left: 0;
top:0; top: 0;
width:100%; width: 100%;
height:100%; height: 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
background-size: cover; background-size: cover;
-webkit-transform:scale(1); -webkit-transform: scale(1);
-ms-transform:scale(1); -ms-transform: scale(1);
transform:scale(1); transform: scale(1);
transition: none !important; transition: none !important;
/* -webkit-transition: all 8000ms linear; /* -webkit-transition: all 8000ms linear;
-moz-transition: all 8000ms linear; -moz-transition: all 8000ms linear;
@ -178,21 +177,21 @@
height: 70%; height: 70%;
} }
} */ } */
.banner-carousel .swiper-slide-active .bg-layer{ .banner-carousel .swiper-slide-active .bg-layer {
-webkit-transform:scale(1.25); -webkit-transform: scale(1.25);
-ms-transform:scale(1.25); -ms-transform: scale(1.25);
transform:scale(1.25); transform: scale(1.25);
} }
.banner-carousel .content-box{ .banner-carousel .content-box {
position: relative; position: relative;
max-width: 770px; max-width: 770px;
width: 100%; width: 100%;
z-index: 5; z-index: 5;
} }
.banner-carousel .content-box .upper-text{ .banner-carousel .content-box .upper-text {
position: relative; position: relative;
display: block; display: block;
font-size: 24px; font-size: 24px;
@ -229,7 +228,7 @@
} }
} }
.banner-carousel .swiper-slide-active .content-box .upper-text{ .banner-carousel .swiper-slide-active .content-box .upper-text {
opacity: 1; opacity: 1;
-webkit-transition-delay: 700ms; -webkit-transition-delay: 700ms;
-moz-transition-delay: 700ms; -moz-transition-delay: 700ms;
@ -243,7 +242,7 @@
transform: translateY(0); transform: translateY(0);
} }
.banner-carousel .content-box h2{ .banner-carousel .content-box h2 {
position: relative; position: relative;
display: block; display: block;
font-size: 64px; font-size: 64px;
@ -263,7 +262,7 @@
transition: all 1000ms ease; transition: all 1000ms ease;
} }
.banner-carousel .swiper-slide-active .content-box h2{ .banner-carousel .swiper-slide-active .content-box h2 {
opacity: 1; opacity: 1;
-webkit-transition-delay: 700ms; -webkit-transition-delay: 700ms;
-moz-transition-delay: 700ms; -moz-transition-delay: 700ms;
@ -277,14 +276,14 @@
transform: translateY(0); transform: translateY(0);
} }
.banner-carousel .content-box h2 span{ .banner-carousel .content-box h2 span {
position: relative; position: relative;
display: inline-block; display: inline-block;
font-weight: 400; font-weight: 400;
color: var(--secondary-color); color: var(--secondary-color);
} }
.banner-carousel .content-box h2 span:before{ .banner-carousel .content-box h2 span:before {
position: absolute; position: absolute;
content: ''; content: '';
background: var(--secondary-color); background: var(--secondary-color);
@ -295,7 +294,7 @@
border-radius: 5px; border-radius: 5px;
} }
.banner-carousel .content-box p{ .banner-carousel .content-box p {
position: relative; position: relative;
display: block; display: block;
margin-bottom: 5px; margin-bottom: 5px;
@ -318,7 +317,7 @@
} }
} }
.banner-carousel .swiper-slide-active .content-box p{ .banner-carousel .swiper-slide-active .content-box p {
opacity: 1; opacity: 1;
-webkit-transition-delay: 900ms; -webkit-transition-delay: 900ms;
-moz-transition-delay: 900ms; -moz-transition-delay: 900ms;
@ -332,7 +331,7 @@
transform: translateY(0); transform: translateY(0);
} }
.banner-carousel .content-box .btn-box{ .banner-carousel .content-box .btn-box {
position: relative; position: relative;
display: block; display: block;
opacity: 1; opacity: 1;
@ -348,7 +347,7 @@
transition: all 1000ms ease; transition: all 1000ms ease;
} }
.banner-carousel .swiper-slide-active .content-box .btn-box{ .banner-carousel .swiper-slide-active .content-box .btn-box {
opacity: 1; opacity: 1;
-webkit-transition-delay: 1100ms; -webkit-transition-delay: 1100ms;
-moz-transition-delay: 1100ms; -moz-transition-delay: 1100ms;
@ -362,7 +361,7 @@
transform: translateY(0); transform: translateY(0);
} }
.banner-carousel .image-layer{ .banner-carousel .image-layer {
position: absolute; position: absolute;
right: 180px; right: 180px;
bottom: 0px; bottom: 0px;
@ -380,7 +379,7 @@
transition: all 1000ms ease; transition: all 1000ms ease;
} }
.banner-carousel .swiper-slide-active .image-layer{ .banner-carousel .swiper-slide-active .image-layer {
opacity: 1; opacity: 1;
-webkit-transition-delay: 1100ms; -webkit-transition-delay: 1100ms;
-moz-transition-delay: 1100ms; -moz-transition-delay: 1100ms;
@ -397,17 +396,17 @@
/** banner-style-three **/ /** banner-style-three **/
.banner-style-three{ .banner-style-three {
position: relative; position: relative;
padding: 118px 0px 91px 0px; padding: 118px 0px 91px 0px;
} }
.banner-style-three .content-box{ .banner-style-three .content-box {
position: relative; position: relative;
display: block; display: block;
} }
.banner-style-three .content-box .upper-text{ .banner-style-three .content-box .upper-text {
position: relative; position: relative;
display: block; display: block;
font-size: 24px; font-size: 24px;
@ -418,7 +417,7 @@
margin-bottom: 20px; margin-bottom: 20px;
} }
.banner-style-three .content-box h2{ .banner-style-three .content-box h2 {
display: block; display: block;
font-size: 64px; font-size: 64px;
line-height: 75px; line-height: 75px;
@ -426,14 +425,14 @@
margin-bottom: 30px; margin-bottom: 30px;
} }
.banner-style-three .content-box h2 span{ .banner-style-three .content-box h2 span {
position: relative; position: relative;
display: inline-block; display: inline-block;
font-weight: 400; font-weight: 400;
color: var(--secondary-color); color: var(--secondary-color);
} }
.banner-style-three .content-box h2 span:before{ .banner-style-three .content-box h2 span:before {
position: absolute; position: absolute;
content: ''; content: '';
background: var(--secondary-color); background: var(--secondary-color);
@ -444,19 +443,19 @@
border-radius: 10px; border-radius: 10px;
} }
.banner-style-three .content-box p{ .banner-style-three .content-box p {
position: relative; position: relative;
display: block; display: block;
margin-bottom: 50px; margin-bottom: 50px;
} }
.banner-style-three .content-box .btn-box{ .banner-style-three .content-box .btn-box {
position: relative; position: relative;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.banner-style-three .content-box .btn-box .video-btn{ .banner-style-three .content-box .btn-box .video-btn {
position: relative; position: relative;
display: inline-block; display: inline-block;
width: 70px; width: 70px;
@ -469,7 +468,7 @@
border: 2px solid var(--theme-color); border: 2px solid var(--theme-color);
} }
.banner-style-three .content-box .shape{ .banner-style-three .content-box .shape {
position: absolute; position: absolute;
right: 0px; right: 0px;
bottom: 0px; bottom: 0px;
@ -478,21 +477,21 @@
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.banner-style-three .image-box{ .banner-style-three .image-box {
position: relative; position: relative;
padding: 0px 60px 0px 73px; padding: 0px 60px 0px 73px;
} }
.banner-style-three .image-box .image{ .banner-style-three .image-box .image {
position: relative; position: relative;
display: block; display: block;
} }
.banner-style-three .image-box .image img{ .banner-style-three .image-box .image img {
width: 100%; width: 100%;
} }
.banner-style-three .image-box .image-shape .shape-1{ .banner-style-three .image-box .image-shape .shape-1 {
position: absolute; position: absolute;
left: 20px; left: 20px;
bottom: -70px; bottom: -70px;
@ -501,7 +500,7 @@
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.banner-style-three .image-box .image-shape .shape-2{ .banner-style-three .image-box .image-shape .shape-2 {
position: absolute; position: absolute;
left: 0px; left: 0px;
top: 70px; top: 70px;
@ -510,7 +509,7 @@
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.banner-style-three .image-box .image-shape .shape-3{ .banner-style-three .image-box .image-shape .shape-3 {
position: absolute; position: absolute;
right: 0px; right: 0px;
bottom: 0px; bottom: 0px;
@ -519,7 +518,7 @@
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.banner-style-three .image-box .image-shape .shape-4{ .banner-style-three .image-box .image-shape .shape-4 {
position: absolute; position: absolute;
top: 50px; top: 50px;
right: 0px; right: 0px;
@ -528,7 +527,7 @@
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.banner-style-three .pattern-layer{ .banner-style-three .pattern-layer {
position: absolute; position: absolute;
left: 0px; left: 0px;
top: 0px; top: 0px;
@ -538,7 +537,7 @@
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.banner-style-three .image-box .text-box{ .banner-style-three .image-box .text-box {
position: absolute; position: absolute;
right: -160px; right: -160px;
bottom: 130px; bottom: 130px;
@ -550,14 +549,14 @@
padding: 31px 30px; padding: 31px 30px;
} }
.banner-style-three .image-box .text-box h3{ .banner-style-three .image-box .text-box h3 {
display: block; display: block;
font-size: 22px; font-size: 22px;
line-height: 31px; line-height: 31px;
font-weight: 500; font-weight: 500;
} }
.banner-style-three .image-box .text-box .designation{ .banner-style-three .image-box .text-box .designation {
position: relative; position: relative;
display: block; display: block;
font-size: 16px; font-size: 16px;
@ -572,21 +571,21 @@
/** RTL-CSS **/ /** RTL-CSS **/
.rtl .banner-carousel .content-box{ .rtl .banner-carousel .content-box {
text-align: right; text-align: right;
} }
.rtl .banner-style-three .content-box .btn-box .theme-btn{ .rtl .banner-style-three .content-box .btn-box .theme-btn {
margin-right: 0px; margin-right: 0px;
margin-left: 60px; margin-left: 60px;
} }
.rtl .banner-style-three .content-box .shape{ .rtl .banner-style-three .content-box .shape {
right: inherit; right: inherit;
left: 0px; left: 0px;
} }
.rtl .banner-style-three .image-box .text-box{ .rtl .banner-style-three .image-box .text-box {
right: inherit; right: inherit;
left: -160px; left: -160px;
} }
@ -595,104 +594,104 @@
/** RESPONSIVE-CSS **/ /** RESPONSIVE-CSS **/
@media only screen and (max-width: 1599px){ @media only screen and (max-width: 1599px) {
.banner-style-three .image-box .text-box{ .banner-style-three .image-box .text-box {
right: 0px; right: 0px;
} }
.rtl .banner-style-three .image-box .text-box{ .rtl .banner-style-three .image-box .text-box {
left: 0px; left: 0px;
} }
} }
@media only screen and (max-width: 1200px){ @media only screen and (max-width: 1200px) {
.banner-carousel .image-layer{ .banner-carousel .image-layer {
right: 0px; right: 0px;
} }
} }
@media only screen and (max-width: 991px){ @media only screen and (max-width: 991px) {
.banner-section .shape{ .banner-section .shape {
display: none; display: none;
} }
.banner-section .content-box{ .banner-section .content-box {
margin-bottom: 40px; margin-bottom: 40px;
} }
.banner-section .image-box{ .banner-section .image-box {
margin: 0px; margin: 0px;
} }
.banner-carousel .image-layer{ .banner-carousel .image-layer {
display: none; display: none;
} }
.banner-style-three{ .banner-style-three {
padding-top: 180px; padding-top: 180px;
} }
.banner-style-three .content-box{ .banner-style-three .content-box {
margin-bottom: 30px; margin-bottom: 30px;
} }
} }
@media only screen and (max-width: 767px){ @media only screen and (max-width: 767px) {
.banner-section .content-box h2, .banner-section .content-box h2,
.banner-style-three .content-box h2{ .banner-style-three .content-box h2 {
font-size: 50px; font-size: 50px;
line-height: 60px; line-height: 60px;
} }
.banner-carousel .content-box h2{ .banner-carousel .content-box h2 {
font-size: 28px; font-size: 28px;
line-height: 38px; line-height: 38px;
} }
.banner-style-three .content-box .shape{ .banner-style-three .content-box .shape {
display: none; display: none;
} }
.banner-style-three .image-box .image-shape{ .banner-style-three .image-box .image-shape {
display: none; display: none;
} }
.banner-style-three{ .banner-style-three {
padding-bottom: 30px; padding-bottom: 30px;
} }
} }
@media only screen and (max-width: 599px){ @media only screen and (max-width: 599px) {
.banner-style-three .image-box{ .banner-style-three .image-box {
padding: 0px; padding: 0px;
} }
} }
@media only screen and (max-width: 499px){ @media only screen and (max-width: 499px) {
.banner-style-three .content-box .btn-box{ .banner-style-three .content-box .btn-box {
display: block; display: block;
} }
.rtl .banner-style-three .content-box .btn-box .theme-btn{ .rtl .banner-style-three .content-box .btn-box .theme-btn {
margin-left: 0px; margin-left: 0px;
} }
.banner-style-three .content-box .btn-box .theme-btn{ .banner-style-three .content-box .btn-box .theme-btn {
margin-right: 0px; margin-right: 0px;
margin-bottom: 20px; margin-bottom: 20px;
} }
.banner-style-three .image-box .text-box{ .banner-style-three .image-box .text-box {
position: relative; position: relative;
width: 100%; width: 100%;
bottom: 0px; bottom: 0px;
@ -701,75 +700,70 @@
} }
@media only screen and (max-width:426px){ @media only screen and (max-width:426px) {
.banner-carousel .content-box h2 span{ .banner-carousel .content-box h2 span {
position: relative; position: relative;
display: inline-block; display: inline-block;
font-weight: 400; font-weight: 400;
color: #fff; color: #fff;
}
.banner-carousel .content-box h2 span:before {
position: absolute;
content: '';
background: #bc0000;
width: 100%;
height: 4px;
left: 0px;
bottom: 0px;
border-radius: 5px;
}
} }
.banner-carousel .content-box h2 span:before{ @media (max-width: 1440px) {
position: absolute; .bg-layer.bg-slide-0 {
content: ''; background-position: left -350px center !important;
background: #bc0000; }
width: 100%;
height: 4px;
left: 0px;
bottom: 0px;
border-radius: 5px;
} }
@media (max-width: 1200px) {
.bg-layer.bg-slide-0 {
background-position: left -550px center !important;
}
}
@media (max-width: 1024px) {
.bg-layer.bg-slide-0 {
background-position: left -720px center !important;
}
}
@media (max-width: 992px) {
.bg-layer.bg-slide-0 {
background-position: left -780px center !important;
}
} }
@media (max-width: 768px) and (min-width: 500px) { @media (max-width: 768px) and (min-width: 500px) {
.bg-layer.bg-slide-0 { .bg-layer.bg-slide-0 {
background-position: left -790px center !important; background-position: left -500px center !important;
} }
} }
@media screen and (min-width: 500px) and (max-width: 768px) {
.banner-slide:nth-child(1) .custom-content-box.mobile-style h2 {
font-size: 45px;
line-height: 1;
}
.banner-slide:nth-child(1) .custom-content-box.mobile-style .upper-text {
font-size: 20px;
}
.banner-slide:nth-child(1) .custom-content-box.mobile-style .theme-btn span {
font-size: 16px;
padding: 15px 20px !important;
}
}