File: //home/cafsindia/patroniss_com/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: #0d2857;}
li { list-style-type: none; padding: 7px;}
a {
color: #2b2b2b;
text-decoration: none;
font-size: 1rem;
}
a:hover { color: #ffd600; }
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: #ffd600;}
/* 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: 320px; }
.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;
}
.main_container{
width: 80%;
position:absolute;
left: 10%;
}
/* welcome */
.welcome_container{
padding: 20px 0px;
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 0px;
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 0px;
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 0px;
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;
}
/* about */
.about_container{
padding: 7px;
height: 480px;
}
.about_sub_container {
display: grid;
width: 100%;
height: 420px;
grid-template-columns: 200px 1fr 1fr;
grid-template-rows: auto 1fr 1fr;
grid-gap: 1rem;
grid-template-areas:
"about-1 about-1 about-4 about-4"
" about-2 about-2 about-4 about-4"
" about-3 about-3 about-4 about-4"
" about-3 about-3 about-4 about-4";
padding: 2px;
border-radius: 9px;
}
.about-1 {
grid-area: about-1;
padding-top: 30px;
}
.about-2 { grid-area: about-2;}
.about-3 { grid-area: about-3;}
.about-4 { grid-area: about-4;}
/* contact */
.contact_container{
padding: 0px 0px;
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 */
.slide-wrapper {
width: 100%;
height: 575px;
position: relative;
overflow: hidden;
border-radius: 5px;
}
.slidee {
visibility: hidden;
opacity: 0;
}
label {
position: absolute;
top: 50%;
right: 20px;
transform: translateY(-50%);
z-index: 10;
display: block;
width: 12px;
height: 12px;
border-radius: 50%;
cursor: pointer;
background: rgba(228, 18, 18, 0.4);
transition: 0.4;
border: 2px solid rgba(198, 252, 4, 0.5);
}
label[for="slider2"]{margin-top: 20px;}
label[for="slider3"]{margin-top: 40px;}
input:checked + label , label:hover {background: #ffd600;}
.slide {
position: absolute;
top: 0;
left: 0;
z-index: -1;
transform: translateY(-100%);
background-position: center !important;
background-repeat: no-repeat !important;
background-size: cover !important;
width: 100%;
height: 100%;
transition-duration: .4s;
opacity: 1;
transform-origin: 50% 50%;
}
input:checked + .slide {
transform: translateY(100%);
}
input:checked + label + .slide {
transform: translateY(0);
opacity: 1;
}
/* footer */
.footer{
width: 100% !important;
height: 280px !important;
margin-top: 2880px !important;
background-color: #0d2857;
color:#fff;
}
.footer ul.social-icons {
display: flex;
column-gap: 0.625rem;
}
.footer .column .social-icons li a {
display: grid;
place-content: center;
width: 2.5rem;
height: 2.5rem;
border-radius: 100%;
background-color: #0d2857;
color: #fff;
}
.footer ul.social-icons li:hover a {
background-color: #ffd600;
color: #0d2857;
}
.footer_menu_list{
margin-right: 30px;
text-align: justify;
}
.footer_menu_list li a{
color: #fff;
text-align: justify;
}
.footer_menu_list li:hover a{
color: #ffd600;
text-align: justify;
}
.footer_menu .footer_menu_list{
list-style-type:none!important;
cursor:pointer;
font-size:.75rem;
}
.copy-right{
font-size:.75rem;
opacity:.8;
}
/* responsive */
@media (max-width: 992px){
.navbar .links{ display: none; }
.navbar .toogle_btn{
color: #ffd600 !important;
font-size: 1.2rem;
cursor: pointer;
display: block;
}
.toogle_btn:hover{ color: #ffd600; }
.drop_down { display: block; }
.main_container{
width: 100%;
/* position:absolute; */
left: 0%;
}
/* 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: #ffd600;
}
/* 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;
}
/* about */
.about_container{
padding: 15px 40px 0px !important;
height: 390px !important;
}
.about_sub_container .about-4{ display: none; }
.about_sub_container {
display: flex !important;
flex-direction: column;
height: 319px !important;
width: 100%;
padding:8px 20px !important;
}
.about-1 {
grid-area: about-1;
padding-top: 30px;
}
.about-2 { grid-area: about-2;}
.about-3 { grid-area: about-3;}
.about-4 { grid-area: about-4;}
/* contact */
.contact_container{ padding: 0px 40px !important; margin-top: 10px;}
.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;
}
.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 */
.content{ padding-top: 62px !important; }
.slide-wrapper {
width: 100%;
height: 435px !important;
position: relative;
overflow: hidden;
border-radius: 5px;
}
/* footer */
.footer {
width: 100% !important;
height: 422px !important;
margin-top: 2940px !important;
background-color: #0d2857;
color: #fff;
}
.footer_sub{
display: flex;
flex-direction: column !important;
gap: 2px;
align-items: center;
}
.footer_menu_list {
margin-right: 30px;
text-align: justify;
display: flex !important;
}
}
@media (max-width: 620px){
/* navbar */
.navbar .toogle_btn{
color: #ffd600 !important;
font-size: 1.2rem;
cursor: pointer;
display: block;
}
.drop_down{
left: 2rem;
width: unset;
}
/* home */
.welcome_container{
padding: 0px 0px 0px !important;
height: 500px !important;
}
.welcome_container h2{ font-size: 20px !important;}
.sub_container{
display: flex !important;
flex-direction: column;
height: 474px !important;
width: 100%;
padding:8px 20px !important;
margin-top: 0px !important;
border-radius: 9px;
line-height: 1.8 !important;
text-align: justify;
gap: 0px !important;
}
.content-1 { padding-top: 7px !important;}
/* about */
.about_container{
padding: 0px 0px 0px !important;
height: 390px !important;
}
.about_container h2{ font-size: 20px !important;}
.about_sub_container .about-4{ display: none; }
.about_sub_container {
display: flex !important;
flex-direction: column;
height: 474px !important;
width: 100%;
padding:8px 20px !important;
margin-top: 0px !important;
border-radius: 9px;
line-height: 1.8 !important;
text-align: justify;
gap: 0px !important;
}
.about-1 {
grid-area: about-1;
padding-top: 30px;
}
.about-2 { grid-area: about-2;}
.about-3 { grid-area: about-3;}
.about-4 { grid-area: about-4;}
h2{
margin: 2px;
color: #ffd600;
}
/* experience */
.exp_container{
padding: 0px 0px !important;
height: 635px !important;
}
.exp_container h2{ font-size: 20px !important; }
.exp_container p{ text-align: justify !important; }
.exp_sub_container {
display: flex !important;
flex-direction: column;
height: 604px !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: 20px !important; }
.solution_container{
padding: 0px 0px !important;
height: 435px !important;
}
.solution_sub_container{
display: flex !important;
flex-direction: column;
text-align: justify;
height: 430px !important;
padding: 0px 20px !important;
line-height: 1.8 !important;
gap: 10px !important;
}
/* goal */
.goal_container{
padding: 0px 16px !important;
height: 500px !important;
margin-bottom: 0px !important;
}
.goal_container h2{ font-size: 20px !important; }
.goal_sub_container{
display: flex !important;
flex-direction: column;
line-height: 1.8 !important;
height: 474px !important;
}
.goal-2 img, .goal-3 img{ display: none !important;}
.goal-2 p, .goal-3 p {
padding: 4px 4px !important;
line-height: 1.8 !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;margin-top: 120px !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;font-size: 20px !important; }
.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 */
.content{ padding-top: 62px !important; }
.slide-wrapper {
width: 100%;
height: 375px !important;
position: relative;
overflow: hidden;
border-radius: 5px;
}
.slide {
position: absolute;
top: 0;
left: 0;
z-index: -1;
transform: translateY(-100%);
background-position: center !important;
background-repeat: no-repeat !important;
background-size: cover !important;
width: 100%;
height: 330px;
transition-duration: .4s;
opacity: 1;
transform-origin: 50% 50%;
}
.footer {
width: 100% !important;
height: 475px !important;
margin-top: 3410px !important;
background-color: #0d2857;
color: #fff;
}
.footer_sub{
display: flex;
flex-direction: column !important;
gap: 2px;
align-items: center;
}
.footer_menu_list {
margin-right: 30px;
text-align: justify;
display: flex !important;
}
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 100%;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
margin-top: 8px;
border-radius: 4px;
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
float: none;
}
.dropdown-content a:hover {background-color: #f1f1f1;color: #ffd600;}
.dropdown:hover .dropdown-content {display: block;}