/* css/style.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-main {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 3px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-title {
    color: white;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Top Navigation */
.top-nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.top-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.top-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
}

.top-nav a {
    color: #2c3e50;
    text-decoration: none;
    padding: 0.2rem 1rem;
    display: block;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
}

.top-nav a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.top-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s;
}

.top-nav a:hover::after {
    width: 80%;
}

/* Main Content */
main{
  flex: 1;
  background: url("../media/bg.png") no-repeat center center fixed;
  background-size: cover;
  /* optional: remove box-shadow if you want full-bleed bg */
  /* box-shadow: none; */
}

/* keep .main-container only for horizontal padding if you use it */
.main-container{
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 3rem;
  background: transparent;
  flex: 1;
}


.main-content {
    grid-template-columns: 1fr; /* if you want no sidebar */
    padding: 0; /* optional: remove internal margin */
}


.content-cards {
    padding: 2rem 0;
}

.card-section {
    margin-bottom: 3rem;
}

.section-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  background: rgba(102, 126, 234, 0.9); /* soft purple gradient look */
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  letter-spacing: 0.5px;
}


.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.cards-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  justify-content: center;      /* centers the whole grid */
  gap: 1.5rem;
  margin: 0 auto;               /* centers the container itself */
}

.card-link {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: #2c3e50;
    display: block;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.card-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-100%);
    transition: transform 0.3s;
}

.card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-link:hover::before {
    transform: translateY(0);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.25);
}

.card-description {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(255,255,255,0.3);
}

/* optional: translucent overlay behind text */
.card-link {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
}


/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-link {
    background: white;
    border: 2px solid #e0e0e0;
    color: #2c3e50;
    text-decoration: none;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.quick-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.quick-link span {
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 1.2rem 0rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #667eea;
}

footer h3 {
    text-align: center;
    color: #667eea;
    margin-bottom: 1.5rem;
}


.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.social-link:hover {
    background: rgba(102, 126, 234, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #cbd5e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
        text-align: center;
    }
    
    .header-title {
        font-size: 1.5rem;
    }
    
    .top-nav ul {
        flex-direction: column;
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .quick-links {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .quick-link {
        min-width: 150px;
    }
    

    .cards-container{
    display:flex; flex-wrap:wrap; justify-content:center; gap:1.5rem;
    }
    .card-link{ flex: 1 1 300px; max-width:320px; }



    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

.top-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 80px;   /* adjust to fit visually */
    width: auto;
    display: block;
}

.page-hero{
  background: linear-gradient(135deg,#667eea 0%,#764ba2 100%);
  padding: 0.5rem 1rem;
  margin-bottom: 0rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before{
  content:"";
  position:absolute; inset:0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff20" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L0,320Z"></path></svg>') bottom no-repeat;
  background-size: cover;
  opacity:.6;
  z-index:0;
}
.page-hero h1,
.page-hero .breadcrumb{color:#fff; position:relative; z-index:1;}
.page-hero .breadcrumb a{color:#fff; text-decoration:none;}
.page-hero .breadcrumb a:hover{text-decoration:underline;}

.nav-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.nav-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.centered-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.centered-footer .footer-section {
  background: none;
  border: none;
  color: #cbd5e0;
}

.centered-footer h4 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.centered-footer address {
  font-style: normal;
  color: #cbd5e0;
  line-height: 1.0;
  margin-bottom: 0.2rem;
}

.centered-footer a {
  color: #667eea;
  text-decoration: none;
}

.centered-footer a:hover {
  text-decoration: underline;
}

/* Home slider inside body */
.home-slider-wrap{
  max-width: 1100px;
  margin: 1.5rem auto 2rem;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.18);
}

.home-slider{
  position: relative;
  width: 100%;
  height: clamp(220px, 38vw, 420px);
}

.slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease-in-out;
}
.slide.active{ opacity: 1; }

.slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-dots{
  display: flex;
  gap: .5rem;
  justify-content: center;
  padding: .8rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.15));
}

.slider-dots .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: #ffffff88;
  cursor: pointer;
  transition: transform .2s, background-color .2s, width .2s;
}
.slider-dots .dot.active{
  width: 26px;
  background: linear-gradient(135deg,#667eea,#764ba2);
  transform: translateY(-1px);
}

/* spacing harmony with cards */
.home-slider-wrap + .card-section{ margin-top: 1.5rem; }

.home-video-wrap {
  max-width: 700px;       /* smaller overall */
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.home-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.95); /* slightly dim to hide low quality */
}


.media-section {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  flex-wrap: wrap; /* keeps layout responsive */
  margin: 2rem auto;
  max-width: 1100px;
}

.home-slider-wrap {
  flex: 2 1 600px;
}

.home-video-wrap {
  flex: 1 1 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Side-by-side fixes */
.media-section .home-slider-wrap,
.media-section .home-video-wrap{
  max-width: none;   /* remove previous max-widths */
  margin: 0;         /* kill auto-centering margins */
}

.media-section .home-slider-wrap{ flex: 2 1 600px; }
.media-section .home-video-wrap{ flex: 1 1 320px; }

/* Vertical video sizing */
.media-section .home-video{
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;   /* keeps vertical shape */
  object-fit: cover;
}

/* Stop stretching; let each box keep its own height */
.media-section { align-items: flex-start; }

.media-section .home-slider-wrap,
.media-section .home-video-wrap { align-self: flex-start; }

/* Remove translucent panel under the gallery only */
.media-section .home-slider-wrap {
  background: none;
  backdrop-filter: none;
  box-shadow: none;
}

/* Ensure no extra tint under dots */
.media-section .slider-dots {
  background: none;
  padding-bottom: .5rem;
}

