/*==================================================

CALBI WEBSITE
Responsive Stylesheet

File:
assets/css/responsive.css

==================================================*/


/*==================================================

1400px

==================================================*/

@media(max-width:1400px){

.hero-content h1{

font-size:52px;

}

.hero-image img{

max-height:620px;

}

.container{

width:92%;

}

}


/*==================================================

1200px

==================================================*/

@media(max-width:1200px){

.hero-grid{

grid-template-columns:1fr;

text-align:center;

gap:40px;

}

.hero-content{

order:2;

}

.hero-image{

order:1;

}

.hero-image img{

max-height:520px;

margin:auto;

}

.dean-grid{

grid-template-columns:1fr;

text-align:center;

}

.dean-photo{

margin-bottom:40px;

}

.footer-grid{

grid-template-columns:1fr 1fr;

gap:40px;

}

.vision-grid{

grid-template-columns:1fr;

}

}


/*==================================================

992px

==================================================*/

@media(max-width:992px){

section{

padding:80px 0;

}

.section-title h2{

font-size:36px;

}

.hero{

height:auto;

padding-top:180px;

padding-bottom:80px;

}

.hero-content h1{

font-size:46px;

}

.hero-content h3{

font-size:26px;

}

#menuToggle{

display:block;

}

#menu{

position:absolute;

top:100%;

left:0;

width:100%;

background:white;

flex-direction:column;

align-items:flex-start;

padding:20px 35px;

display:none;

box-shadow:0 15px 40px rgba(0,0,0,.10);

}

#menu.active{

display:flex;

}

#menu li{

width:100%;

}

#menu a{

display:block;

width:100%;

padding:12px 0;

}

.topbar .container{

flex-direction:column;

gap:8px;

text-align:center;

}

.stats-grid{

grid-template-columns:repeat(2,1fr);

}

.feature-grid{

grid-template-columns:repeat(2,1fr);

}

.programme-grid{

grid-template-columns:1fr;

}

.news-grid{

grid-template-columns:1fr;

}

.footer-grid{

grid-template-columns:1fr;

text-align:center;

}

.footer-logo{

margin:auto auto 20px;

}

}


/*==================================================

768px

==================================================*/

@media(max-width:768px){

.hero-content h1{

font-size:38px;

}

.hero-content h3{

font-size:22px;

}

.hero-content p{

font-size:17px;

}

.section-title h2{

font-size:32px;

}

.welcome h2{

font-size:34px;

}

.dean-content h2{

font-size:34px;

}

.vision-box h3{

font-size:28px;

}

.cta h2{

font-size:34px;

}

.popup-box{

padding:30px;

}

.popup-buttons{

flex-direction:column;

}

.popup-buttons .btn,

.popup-buttons .btn-outline{

width:100%;

text-align:center;

margin:0;

}

.whatsapp{

width:60px;

height:60px;

font-size:30px;

right:20px;

bottom:20px;

}

#topButton{

width:55px;

height:55px;

left:20px;

bottom:20px;

}

.hero-buttons{

display:flex;

flex-direction:column;

gap:15px;

align-items:center;

}

.hero-buttons .btn,

.hero-buttons .btn-outline{

width:260px;

text-align:center;

margin:0;

}

.feature-grid{

grid-template-columns:1fr;

}

.stats-grid{

grid-template-columns:1fr;

}

}


/*==================================================

576px

==================================================*/

@media(max-width:576px){

.container{

width:94%;

}

.logo img{

height:60px;

}

.hero{

padding-top:160px;

}

.hero-content h4{

font-size:15px;

letter-spacing:2px;

}

.hero-content h1{

font-size:30px;

line-height:1.3;

}

.hero-content h3{

font-size:20px;

}

.hero-content p{

font-size:16px;

}

.section-title h2{

font-size:28px;

}

.welcome h2{

font-size:30px;

}

.dean-content h2{

font-size:30px;

}

.cta h2{

font-size:30px;

}

.programme-card,

.feature-card,

.news-card,

.stat{

padding:28px;

}

.popup-box{

padding:25px;

}

.popup-box img{

width:100px;

}

.loader-content img{

width:90px;

}

.loader-content h2{

font-size:24px;

}

.topbar{

font-size:13px;

}

footer{

text-align:center;

}

}


/*==================================================

420px

==================================================*/

@media(max-width:420px){

.hero-content h1{

font-size:26px;

}

.hero-content h3{

font-size:18px;

}

.hero-content p{

font-size:15px;

}

.btn,

.btn-outline{

width:100%;

text-align:center;

padding:15px;

}

.btn-small{

width:100%;

text-align:center;

}

.popup-box h2{

font-size:24px;

}

.popup-box h3{

font-size:20px;

}

.popup-box p{

font-size:15px;

}

.whatsapp{

width:56px;

height:56px;

font-size:28px;

}

#topButton{

width:50px;

height:50px;

font-size:18px;

}

}


/*==================================================

SMALL HEIGHT DEVICES

==================================================*/

@media(max-height:700px){

.hero{

height:auto;

padding-top:170px;

padding-bottom:80px;

}

}


/*==================================================

LANDSCAPE PHONES

==================================================*/

@media screen and (max-height:500px) and (orientation:landscape){

.hero{

height:auto;

padding:180px 0 80px;

}

.popup-box{

max-height:90vh;

overflow-y:auto;

}

}


/*==================================================

PRINT

==================================================*/

@media print{

.navbar,
.topbar,
.whatsapp,
#topButton,
#popup,
#loader{

display:none !important;

}

body{

background:white;

color:black;

}

a{

text-decoration:none;

color:black;

}

}


/*==================================================

END OF FILE

assets/css/responsive.css

==================================================*/