File: /home/cafsindia/allyindian_com/ally_bk/assets/css/style.css
* {
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body { margin: 0; padding: 0;}
h2{color: #fc2947;}
li { list-style-type: none; padding: 7px;}
a {
color: #2b2b2b;
text-decoration: none;
font-size: 1rem;
}
a:hover { color: #fc2947; }
header {
position: fixed;
width: 100%;
padding: 0.2rem;
background: #fff;
box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
z-index: 99;
}
.navbar {
width: 100%;
height: 60px;
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
}
.navbar .logo a{
font-size: 1.5rem;
font-weight: bold;
}
.navbar .links {
display: flex;
gap: 2rem;
}
.navbar .toogle_btn{
color: #fff;
font-size: 1.2rem;
cursor: pointer;
display: none;
}
header .navbar ul li.active {
color: #2b2b2b !important;
border-radius: 5px;
transition: 0.3s ease background-color;
}
header .navbar ul li.active a { color: #fc2947;}
/* dropdown */
.drop_down{
display: none;
position: absolute;
right: 1rem;
top: 60px;
height: 0;
width: 250px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(15px);
border-radius: 10px;
overflow: hidden;
transition: height 0.2 cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.drop_down.open{ height: 275px; }
.drop_down li{
padding: 0.9rem;
display: flex;
align-items: center;
justify-content: center;
}
.content{
padding-top:72px;
}
.cont-slider {
position: relative;
height: 545px;
width: auto;
margin: 0 0;
overflow: hidden;
}
/* welcome */
.welcome_container{
padding: 20px 90px;
height: 480px;
}
.sub_container {
display: grid;
width: 100%;
height: 480px;
grid-template-columns: 200px 1fr 1fr 1fr;
grid-template-rows: auto 1fr 1fr 1fr;
grid-gap: 1rem;
grid-template-areas:
"content-1 content-1 content-4 content-4"
" content-2 content-2 content-4 content-4"
" content-3 content-3 content-4 content-4"
" content-3 content-3 content-4 content-4";
padding: 20px;
border-radius: 9px;
}
.content-1 {
grid-area: content-1;
padding-top: 30px;
}
.content-2 { grid-area: content-2;}
.content-3 { grid-area: content-3;}
.content-4 { grid-area: content-4;}
/* experience */
.exp_container{
padding: 20px 90px;
height: 450px;
}
.con-1 {
text-align: center;
grid-area: con-1;
}
.con-2 p, .con-3 p{
padding: 16px;
line-height: 2;
}
.con-2 img, .con-3 img{
width: 150px;
height: 150px;
padding:14px 10px;
border-radius: 7px;
}
.con-2{
display: flex;
padding: 7px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
.con-3{
display: flex;
padding: 7px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
.exp_sub_container {
display: grid;
width: 100%;
height: 450px;
grid-template-areas: 'con-1 con-1 con-1';
grid-gap: 1rem;
padding: 20px;
border-radius: 9px;
}
/* solution */
.solution_container{
padding: 20px 90px;
height: 480px;
}
.sol-1 { grid-area: sol-1; }
.sol-2 { grid-area: sol-2; }
.sol-3 { grid-area: sol-3; }
.solution_sub_container {
display: grid;
width: 100%;
height: 480px;
grid-template-columns: 200px ;
grid-template-rows: auto ;
grid-gap: 1rem;
grid-template-areas:
"sol-1 sol-1 sol-2"
"sol-1 sol-1 sol-3 "
"sol-1 sol-1 sol-3 ";
padding: 20px;
border-radius: 9px;
}
/* goal */
.goal_container{
padding: 20px 90px;
height: 520px;
margin-bottom: 10px;
}
.goal-1 {
text-align: center;
grid-area: goal-1;
}
.goal-2 img, .goal-3 img{
margin-left: 135px;
width: 300px;
height: 220px;
}
/* style="" */
.goal-2{
padding: 7px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
.goal-3{
padding: 7px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
.goal_sub_container {
display: grid;
width: 100%;
height: 480px;
grid-template-areas: 'goal-1 goal-1 goal-1';
grid-gap: 10px;
border-radius: 9px;
}
/* contact */
.contact_container{
padding: 0px 90px;
height: 470px;
margin-bottom: 10px;
}
.contact_sub_container {
display: grid;
width: 100%;
height: 435px;
grid-template-areas: 'contact-1 contact-2';
grid-gap: 10px;
border-radius: 9px;
padding: 20px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
.contact-1 {
width: 480px;
grid-area: contact-1;
}
.contact-1 p{
padding: 4px 7px !important;
text-align: justify !important;
}
.contact-2 {
width: 480px;
grid-area: contact-2;
}
.form_container{
padding: 24px 30px 12px 30px;
border: 1px solid #d3d3d3;
border-radius: 12px
}
input{
width: 80%;
height: 34px;
border-radius: 4px;
outline: none;
border:1px solid #d3d3d3;
text-indent: 10px;
}
textarea{
width: 80%;
border-radius: 4px;
outline: none;
border:1px solid #d3d3d3;
text-indent: 10px;
}
/* slider */
.C-carousel {
background: #d3d3d3;
height: 100vh;
overflow: hidden;
position: relative;
}
.C-slide {
height: 100vh;
width: 100vw;
display: flex;
flex: 1 1 auto;
flex-direction: column;
align-items: center;
justify-content: center;
color: #fc2947 ;
background: #fff no-repeat center / cover;
background-blend-mode: overlay;
overflow: hidden;
animation: animate 9s infinite linear;
.C-carousel.initialized & {
transition: all 700ms ease;
&.active {
transform: scale(1) skew(0) rotate(0);
border-radius: 0;
}
}
}
@keyframes animate {
0% {
opacity: 1;
transform: translateY(0%) scale(1);
}
5%,20% {
opacity: 1;
transform: translateY(0%) scale(1);
}
25%, 40% {
opacity: 1;
transform: translateY(0%) scale(1);
}
45%, 60% {
opacity: 1;
transform: translateY(0%) scale(1);
}
65%, 80% {
opacity: 1;
transform: translateY(-100%) scale(1);
}
85%, 100% {
opacity: 1;
transform: translateY(-200%) scale(1);
}
}
/* responsive */
@media (max-width: 992px){
.navbar .links{ display: none; }
.navbar .toogle_btn{
color: #fc2947 !important;
font-size: 1.2rem;
cursor: pointer;
display: block;
}
.toogle_btn:hover{ color: #fc2947; }
.drop_down { display: block; }
/* home */
.sub_container .content-4{ display: none; }
.welcome_container{
padding: 15px 40px 0px !important;
height: 390px !important;
}
.sub_container{
display: flex !important;
flex-direction: column;
height: 319px !important;
width: 100%;
padding:8px 20px !important;
margin-top: 36px;
border-radius: 9px;
line-height: 1.8 !important;
text-align: justify;
gap: 0px !important;
}
.content-1 { padding-top: 7px !important;}
h2{
margin: 2px;
color: #fc2947;
}
/* experience */
.exp_container{
padding: 0px 40px !important;
height: 600px !important;
}
.exp_sub_container {
display: flex !important;
flex-direction: column;
height: 460px !important;
width: 100%;
grid-template-areas: 'con-1 con-1 con-1';
grid-gap: 1rem;
padding: 20px;
line-height: 1.8 !important;
border-radius: 9px;
text-align: justify;
}
/* solution */
.solution_sub_container .sol-1{ display: none; }
.solution_container{
padding: 20px 40px !important;
height: 330px !important;
}
.solution_sub_container{
display: flex !important;
flex-direction: column;
text-align: justify;
height: 274px !important;
padding: 0px 20px !important;
line-height: 1.8 !important;
gap: 10px !important;
}
/* goal */
.goal_container{
padding: 20px 40px !important;
height: 520px;
margin-bottom: 10px;
}
.goal_sub_container{
display: flex !important;
flex-direction: column;
line-height: 1.8 !important;
}
.goal-2 img,.goal-3 img{
margin-left: 0px !important;
width: 270px !important;
height: auto !important;
}
.goal-2 , .goal-3 {
padding: 7px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
display: flex;
text-align: justify !important;
}
/* contact */
.contact_container{ padding: 0px 40px !important; }
.contact_sub_container {
display: flex !important;
flex-direction: column;
text-align: justify;
height: fit-content !important;
line-height: 1.8 !important;
padding: 0px 0px 20px 0px !important;
}
.contact-1{ width: 100% !important; }
.contact-1 p {
text-align: justify !important;
}
.contact-2{
display: flex !important;
flex-direction: column;
gap: 20px;
align-items: center;
width: 100% !important;
}
.contact-1 h2{ text-align: center;}
.contact-1 p{
padding: 4px 16px !important;
text-align: justify !important;
}
.form_container{
padding: 24px 30px 12px 30px;
border: 1px solid #d3d3d3;
border-radius: 12px;
width: 70% !important;
}
/* slider */
.content{ padding-top: 0px !important; }
.C-slide {
height: 100vh !important;
width: 100vw;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #fc2947 ;
background: #fff no-repeat center / cover;
background-blend-mode: overlay;
font-size: 22px;
letter-spacing: 2px;
text-transform: uppercase;
overflow: hidden;
.C-carousel.initialized & {
transition: all 700ms ease;
&.active {
transform: scale(1) skew(0) rotate(0);
border-radius: 0;
}
}
}
}
@media (max-width: 620px){
/* navbar */
.navbar .toogle_btn{
color: #fc2947 !important;
font-size: 1.2rem;
cursor: pointer;
display: block;
}
.drop_down{
left: 2rem;
width: unset;
}
/* home */
.welcome_container{
padding: 70px 16px 0px !important;
height: 605px !important;
}
.welcome_container h2{ font-size: 24px !important;}
.sub_container{
display: flex !important;
flex-direction: column;
height: 605px !important;
width: 100%;
padding:8px 20px !important;
margin-top: 36px;
border-radius: 9px;
line-height: 1.8 !important;
text-align: justify;
gap: 0px !important;
}
.content-1 { padding-top: 7px !important;}
h2{
margin: 2px;
color: #fc2947;
}
/* experience */
.exp_container{
padding: 0px 16px !important;
height: 690px !important;
}
.exp_container h2{ font-size: 23px !important; }
.exp_container p{ text-align: justify !important; }
.exp_sub_container {
display: flex !important;
flex-direction: column;
height: 678px !important;
width: 100%;
grid-template-areas: 'con-1 con-1 con-1';
grid-gap: 2px !important;
padding:0px 20px;
line-height: 1.8 !important;
border-radius: 9px;
text-align: justify;
}
.con-2 img, .con-3 img { display: none;}
.con-2 p, .con-3 p{
box-shadow: none !important;
padding: 2px !important;
line-height: 1.8 !important;
}
/* solution */
.solution_sub_container .sol-1{ display: none;}
.solution_container h2{ font-size: 24px !important; }
.solution_container{
padding: 0px 16px !important;
height: 435px !important;
}
.solution_sub_container{
display: flex !important;
flex-direction: column;
text-align: justify;
height: 435px !important;
padding: 0px 20px !important;
line-height: 1.8 !important;
gap: 10px !important;
}
/* goal */
.goal_container{
padding: 0px 16px !important;
height: 565px !important;
margin-bottom: 10px;
}
.goal_container h2{ font-size: 24px !important; }
.goal_sub_container{
display: flex !important;
flex-direction: column;
line-height: 1.8 !important;
height: 560px !important;
}
.goal-2 img, .goal-3 img{ display: none !important;}
.goal-2 , .goal-3 {
padding: 7px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
display: flex;
text-align: justify !important;
}
/* contact */
.contact_container{ padding: 0px 16px !important;}
.contact_sub_container {
display: flex !important;
flex-direction: column;
text-align: justify;
height: fit-content !important;
line-height: 1.8 !important;
}
.contact-1{ width: 100% !important;}
.contact-2{
display: flex !important;
flex-direction: column;
gap: 20px;
align-items: center;
width: 100% !important;
}
.contact-1 h2{ text-align: center; }
.contact-1 p{
padding: 4px 16px !important;
text-align: justify !important;
}
.form_container{
padding: 24px 30px 12px 30px;
border: 1px solid #d3d3d3;
border-radius: 12px;
width: 100% !important;
}
.form_container input{
width: 100%;
height: 34px;
border-radius: 4px;
outline: none;
border:1px solid #d3d3d3;
text-indent: 10px;
}
.form_container textarea{
width: 100%;
border-radius: 4px;
outline: none;
border:1px solid #d3d3d3;
text-indent: 10px;
}
/* slider */
.C-carousel {
background: #d3d3d3;
height: 100vh;
overflow: hidden;
position: relative;
}
}