*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:#F8F9FA;
color:#333;
line-height:1.6;
}

.container{
display:flex;
justify-content:space-between;
align-items:center;
max-width:1200px;
margin:0 auto;
padding:0 20px;
}

/* ===========================
   Header & Navigation
=========================== */

header{
background:linear-gradient(135deg, #f4f1eb 0%, #ece7de 100%);
color:#CC3433;
box-shadow:0 4px 20px rgba(0,0,0,0.08);
position:sticky;
top:0;
z-index:1000;
}

.header{
padding:0;
}

.header .container{
padding:18px 25px;
}

.logo-section{
display:flex;
align-items:center;
gap:12px;
}

.logo-link{
display:inline-flex;
align-items:center;
justify-content:center;
padding:0;
background:none;
border:none;
box-shadow:none;
}

.logo-image{
height:72px;
width:auto;
max-width:260px;
display:block;
}

.logo-text{
color:#CC3433;
font-size:1.4rem;
font-weight:700;
text-decoration:none;
letter-spacing:-0.5px;
}

.logo-text:hover{
color:#a02a2a;
}

nav a{
color:#CC3433;
text-decoration:none;
margin-left:20px;
}

/* Desktop Navigation */

nav{
display:flex;
gap:25px;
align-items:center;
}

nav a{
color:#CC3433;
text-decoration:none;
font-weight:600;
transition:all 0.3s ease;
position:relative;
}

nav a::after{
content:'';
position:absolute;
bottom:-3px;
left:0;
width:0;
height:2px;
background:#CC3433;
transition:width 0.3s ease;
}

nav a:hover::after{
width:100%;
}

nav a:hover{
color:#a02a2a;
}

/* Register Button */

.nav-button{
background:#CC3433;
color:white;
padding:10px 18px;
border-radius:6px;
font-weight:700;
transition:all 0.3s ease;
}

.nav-button:hover{
background:#a02a2a;
transform:translateY(-2px);
color:white;
box-shadow:0 6px 15px rgba(0,0,0,0.1);
}

/* Hamburger */

.hamburger{
display:none;
flex-direction:column;
justify-content:center;
gap:6px;
background:none;
border:none;
cursor:pointer;
padding:5px;
}

.hamburger span{
width:28px;
height:3px;
background:#CC3433;
transition:all 0.3s ease;
border-radius:2px;
}

@media(max-width:768px){

.hamburger{
display:flex;
}

nav{
position:fixed;
top:70px;
left:0;
width:100%;
background:linear-gradient(135deg, #CC3433 0%, #a02a2a 100%);
flex-direction:column;
display:none;
padding:20px 0;
gap:0;
box-shadow:0 8px 20px rgba(0,0,0,0.2);
max-height:calc(100vh - 70px);
overflow-y:auto;
}

nav a{
padding:15px 25px;
margin:0;
border-bottom:1px solid rgba(255,255,255,0.1);
color:white;
}

nav a:hover{
color:#f8e8e8;
}

nav a::after{
display:none;
}

nav.active{
display:flex;
}

.hamburger.active span:nth-child(1){
transform:rotate(45deg) translateY(12px);
}

.hamburger.active span:nth-child(2){
opacity:0;
}

.hamburger.active span:nth-child(3){
transform:rotate(-45deg) translateY(-12px);
}

.hero{
height:50vh;
}

.hero-content h1{
font-size:2rem;
}

.hero-subtitle{
font-size:1rem;
}

.logo-text{
font-size:1.1rem;
}

.button{
padding:12px 24px;
font-size:0.9rem;
}

}

.hero{
background:linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url("../images/istockphoto-1344269440-612x612.jpg") center/cover;
height:70vh;
min-height:500px;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:white;
position:relative;
overflow:hidden;
}

.hero-overlay{
position:absolute;
top:0;
left:0;
right:0;
bottom:0;
background:linear-gradient(135deg, rgba(204,52,51,0.2) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content{
position:relative;
z-index:2;
max-width:600px;
animation:fadeInUp 0.8s ease;
}

.hero-content h1{
font-size:3rem;
font-weight:700;
margin-bottom:15px;
line-height:1.2;
text-shadow:2px 2px 8px rgba(0,0,0,0.4);
}

.hero-subtitle{
font-size:1.3rem;
margin-bottom:30px;
text-shadow:1px 1px 4px rgba(0,0,0,0.4);
opacity:0.95;
}

@keyframes fadeInUp{
from{
opacity:0;
transform:translateY(30px);
}
to{
opacity:1;
transform:translateY(0);
}
}

@media(max-width:768px){
.hero{
height:50vh;
}

.hero-content h1{
font-size:2rem;
}

.hero-subtitle{
font-size:1rem;
}

}

/* ===========================
   Buttons
=========================== */

.button{
display:inline-flex;
align-items:center;
gap:8px;
font-weight:700;
padding:14px 32px;
text-decoration:none;
border-radius:8px;
transition:all 0.3s ease;
border:none;
cursor:pointer;
font-size:1rem;
text-transform:uppercase;
letter-spacing:0.5px;
}

.button-primary{
background:#CC3433;
color:white;
box-shadow:0 4px 15px rgba(204,52,51,0.3);
}

.button-primary:hover{
background:#a02a2a;
transform:translateY(-2px);
box-shadow:0 6px 20px rgba(204,52,51,0.4);
}

.button-secondary{
background:white;
color:#CC3433;
box-shadow:0 4px 15px rgba(0,0,0,0.1);
}

.button-secondary:hover{
background:#f0f0f0;
transform:translateY(-2px);
box-shadow:0 6px 20px rgba(0,0,0,0.15);
}

/* ===========================
   Services Section
=========================== */

.services{
max-width:1200px;
margin:auto;
padding:80px 20px;
}

.section-header{
text-align:center;
margin-bottom:60px;
}

.section-header h2{
font-size:2.5rem;
color:#1F2937;
margin-bottom:10px;
font-weight:700;
}

.section-header p{
font-size:1.1rem;
color:#666;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
gap:30px;
}

.card{
background:white;
padding:40px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
transition:all 0.3s ease;
border-top:4px solid #CC3433;
text-align:center;
}

.card:hover{
transform:translateY(-8px);
box-shadow:0 12px 30px rgba(0,0,0,0.15);
}

.card-icon{
font-size:3rem;
color:#CC3433;
margin-bottom:15px;
}

.card h3{
font-size:1.4rem;
margin-bottom:15px;
color:#1F2937;
}

.card p{
color:#666;
margin-bottom:20px;
line-height:1.7;
}

.card-link{
color:#CC3433;
text-decoration:none;
font-weight:600;
transition:all 0.3s ease;
display:inline-block;
}

.card-link:hover{
color:#a02a2a;
margin-right:-3px;
}

@media(max-width:768px){
.cards{
grid-template-columns:1fr;
}

.section-header h2{
font-size:2rem;
}
}

/* ===========================
   CTA Section
=========================== */

.cta-section{
background:linear-gradient(135deg, #CC3433 0%, #a02a2a 100%);
color:white;
padding:80px 20px;
text-align:center;
}

.cta-section .container{
flex-direction:column;
}

.cta-section h2{
font-size:2.5rem;
margin-bottom:10px;
}

.cta-section p{
font-size:1.1rem;
margin-bottom:30px;
opacity:0.95;
}

/* ===========================
   Footer
=========================== */

footer{
background:#1F2937;
color:white;
text-align:center;
padding:40px 20px;
}

footer p{
margin:0;
}

/* ===========================
   Forms
=========================== */

.registration-form{
max-width:600px;
margin:0 auto;
background:white;
padding:40px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.form-row{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
}

.form-row.full{
grid-template-columns:1fr;
}

.form-group{
margin-bottom:20px;
}

label{
display:block;
margin-bottom:8px;
font-weight:600;
color:#1F2937;
}

input,
select,
textarea{
width:100%;
padding:12px 15px;
border:2px solid #ddd;
border-radius:8px;
font-size:1rem;
font-family:inherit;
transition:all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus{
outline:none;
border-color:#CC3433;
box-shadow:0 0 0 3px rgba(204,52,51,0.1);
}

textarea{
resize:vertical;
min-height:120px;
}

form button{
width:100%;
padding:14px;
background:#CC3433;
color:white;
border:none;
border-radius:8px;
font-size:1rem;
font-weight:700;
cursor:pointer;
transition:all 0.3s ease;
text-transform:uppercase;
letter-spacing:0.5px;
display:flex;
align-items:center;
justify-content:center;
gap:8px;
}

form button:hover{
background:#a02a2a;
transform:translateY(-2px);
box-shadow:0 6px 20px rgba(204,52,51,0.3);
}

form button:active{
transform:translateY(0);
}

@media(max-width:768px){
.form-row{
grid-template-columns:1fr;
}

.registration-form{
padding:25px;
}

.section-header h2{
font-size:2rem;
}
}

/* Contact page grid responsive */
@media(max-width:900px){
.page-content > div{
grid-template-columns:1fr !important;
}
}

/* ===========================
   Content Pages
=========================== */

.page-content{
max-width:1200px;
margin:60px auto;
padding:0 20px 60px;
}

.page-header{
text-align:center;
margin-bottom:40px;
}

.page-header h1{
font-size:2.5rem;
color:#1F2937;
margin-bottom:15px;
}

.page-header p{
font-size:1.1rem;
color:#666;
max-width:600px;
margin:0 auto;
}

.content-grid{
display:grid;
grid-template-columns:repeat(3, minmax(260px, 1fr));
gap:40px;
margin:40px 0;
}

@media(max-width:960px){
.content-grid{
grid-template-columns:1fr;
}
}

.contact-info-grid{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
gap:30px;
margin:40px 0;
}

.info-card{
background:white;
padding:35px;
border-radius:14px;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
border-top:4px solid #CC3433;
}

.info-card h2{
font-size:1.5rem;
color:#CC3433;
margin-bottom:15px;
}

.info-card p{
color:#555;
line-height:1.8;
}

.content-box{
background:white;
padding:30px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.mission-card{
background:linear-gradient(180deg, #fff 0%, #fff 70%, #f8f1ef 100%);
border:1px solid rgba(204,52,51,0.15);
}

.content-box h3{
color:#CC3433;
font-size:1.4rem;
margin-bottom:15px;
}

.content-box p{
color:#666;
line-height:1.8;
}

.icon-box{
font-size:3rem;
color:#CC3433;
margin-bottom:15px;
display:inline-block;
}

/* ===========================
   Gallery/Photos
=========================== */

.gallery{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
gap:20px;
margin:40px 0;
}

.gallery-item{
position:relative;
overflow:hidden;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
aspect-ratio:1;
cursor:pointer;
transition:transform 0.3s ease;
}

.gallery-item:hover{
transform:scale(1.05);
}

.gallery-item img{
width:100%;
height:100%;
object-fit:cover;
transition:transform 0.3s ease;
}

.gallery-item:hover img{
transform:scale(1.1);
}

.gallery-overlay{
position:absolute;
top:0;
left:0;
right:0;
bottom:0;
background:rgba(204,52,51,0.8);
display:flex;
align-items:center;
justify-content:center;
opacity:0;
transition:opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay{
opacity:1;
}

/* ===========================
   Contact Layout
=========================== */

.contact-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
margin-bottom:60px;
}

.contact-info-box{
background:white;
padding:25px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
margin-bottom:20px;
}

.contact-info-box h3{
color:#1F2937;
margin-bottom:5px;
}

.contact-info-box p{
color:#666;
}

.contact-info-box a{
color:#CC3433;
text-decoration:none;
}

.contact-info-box a:hover{
text-decoration:underline;
}

@media(max-width:900px){
.contact-grid{
grid-template-columns:1fr;
gap:40px;
}
}

.testimonial{
background:white;
padding:30px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
border-left:4px solid #CC3433;
}

.testimonial-text{
color:#666;
margin-bottom:15px;
line-height:1.8;
font-style:italic;
}

.testimonial-author{
font-weight:700;
color:#1F2937;
}

.testimonial-author-title{
color:#999;
font-size:0.9rem;
}

@media(prefers-reduced-motion:reduce){
*{
animation:none !important;
transition:none !important;
}
}

/* ===========================
   Print Styles
=========================== */

@media print{
header,
footer,
.hamburger{
display:none;
}

body{
background:white;
}

.card,
.content-box{
page-break-inside:avoid;
}
}