
/*
Theme Name: St Marys Complete College Theme
Author: OpenAI
Version: 3.0
Description: Professional complete WordPress college website theme
Text Domain: stmarys-complete
*/

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial,sans-serif;
line-height:1.7;
color:#1f2937;
background:#fff;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

.topbar{
background:#0f172a;
color:#fff;
padding:10px 0;
font-size:14px;
}

header{
background:#ffffff;
box-shadow:0 2px 10px rgba(0,0,0,.08);
position:sticky;
top:0;
z-index:999;
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 0;
}

.logo{
font-size:28px;
font-weight:bold;
color:#1d4ed8;
}

nav ul{
display:flex;
gap:22px;
list-style:none;
}

nav a{
text-decoration:none;
color:#111827;
font-weight:600;
}

.hero{
background:linear-gradient(135deg,#1d4ed8,#0f172a);
color:white;
padding:120px 20px;
text-align:center;
}

.hero h1{
font-size:58px;
margin-bottom:20px;
}

.hero p{
font-size:20px;
max-width:800px;
margin:auto;
}

.btn{
display:inline-block;
margin-top:30px;
padding:14px 28px;
background:#fff;
color:#1d4ed8;
border-radius:12px;
text-decoration:none;
font-weight:bold;
}

.section{
padding:80px 0;
}

.section-title{
font-size:40px;
margin-bottom:20px;
text-align:center;
color:#0f172a;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:24px;
margin-top:40px;
}

.card{
background:#f8fafc;
padding:30px;
border-radius:18px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.card h3{
margin-bottom:15px;
color:#1d4ed8;
}

.dark{
background:#0f172a;
color:white;
}

.dark .section-title{
color:white;
}

.gallery{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
margin-top:40px;
}

.gallery img{
width:100%;
border-radius:18px;
}

footer{
background:#020617;
color:#cbd5e1;
padding:60px 0;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
}

.footer-grid h3{
color:white;
margin-bottom:20px;
}

footer ul{
list-style:none;
}

footer li{
margin-bottom:10px;
}

footer a{
color:#cbd5e1;
text-decoration:none;
}

.copyright{
margin-top:40px;
padding-top:20px;
border-top:1px solid #334155;
text-align:center;
}

.page-banner{
background:#1d4ed8;
color:white;
padding:80px 20px;
text-align:center;
}

.page-content{
padding:70px 0;
}

@media(max-width:768px){

.hero h1{
font-size:40px;
}

nav ul{
flex-wrap:wrap;
justify-content:center;
}

.nav{
flex-direction:column;
gap:15px;
}

}
