/* GLOBAL SETTINGS */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Segoe UI', sans-serif;
overflow-x:hidden;
line-height:1.6;
background:#ffffff;
}

/* CONTAINER */

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* LOGO BOX */

.logo-box{
background:white;
padding:6px;
border-radius:6px;
display:flex;
align-items:center;
justify-content:center;
}

.logo-box img{
max-height:45px;
width:auto;
}

/* =========================
GALLERY SECTION
========================= */

.gallery-container{
padding:40px 0;
background:#f8fafc;
}

.gallery-row{
display:flex;
gap:20px;
overflow:hidden;
}

.slider{
flex:1;
height:260px;
overflow:hidden;
border-radius:10px;
}

.slides{
display:flex;
width:max-content;
}

.slide{
min-width:300px;
margin-right:20px;
}

.slide img{
width:100%;
height:260px;
object-fit:cover;
border-radius:10px;
}

/* =========================
AUTO SLIDE ANIMATION
========================= */

.slide-left{
animation:slideLeft 25s linear infinite;
}

.slide-right{
animation:slideRight 25s linear infinite;
}

@keyframes slideLeft{
0%{ transform:translateX(0); }
100%{ transform:translateX(-50%); }
}

@keyframes slideRight{
0%{ transform:translateX(-50%); }
100%{ transform:translateX(0); }
}

/* =========================
LOGO SLIDER
========================= */

.logo-slider{
overflow:hidden;
padding:30px 0;
background:#fff;
}

.logo-track{
display:flex;
gap:60px;
animation:logoScroll 20s linear infinite;
align-items:center;
}

.logo-track img{
height:60px;
width:auto;
transition:0.3s;
}

.logo-track img:hover{
filter:none;
transform:scale(1.1);
}

@keyframes logoScroll{
0%{ transform:translateX(0); }
100%{ transform:translateX(-50%); }
}

/* =========================
TABLET RESPONSIVE
========================= */

@media (max-width:1024px){

.gallery-row{
gap:15px;
}

.slider{
height:220px;
}

.slide{
min-width:250px;
}

.slide img{
height:220px;
}

.logo-track{
gap:40px;
}

.logo-track img{
height:50px;
}

}

/* =========================
MOBILE RESPONSIVE
========================= */

@media (max-width:768px){

.gallery-row{
flex-direction:column;
}

.slider{
height:200px;
}

.slide{
min-width:220px;
}

.slide img{
height:200px;
}

.logo-box img{
max-height:35px;
}

.logo-track{
gap:30px;
}

.logo-track img{
height:40px;
}

}

/* =========================
SMALL MOBILE
========================= */

@media (max-width:480px){

.container{
width:95%;
}

.slider{
height:180px;
}

.slide{
min-width:200px;
}

.slide img{
height:180px;
}

.logo-track img{
height:35px;
}

}

/* ========================================================
   UNIFIED HEADER & NAVIGATION STYLES (ACROSS ALL PAGES)
   ======================================================== */
.studycorner-nav, #side-menu {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

.studycorner-nav .logo-box {
    background: #ffffff !important;
    padding: 6px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
}

.studycorner-nav .logo-box img {
    max-height: 45px !important;
    width: auto !important;
    display: block !important;
}


/* ========================================================
   SCHOLARSHIP COUPON CERTIFICATE (REFERENCE VISUAL MATCH)
   ======================================================== */
.coupon-cert-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(61, 30, 3, 0.16);
    border: 3px solid #783f04;
    background: #fbf6ec;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Inter', Roboto, sans-serif !important;
}
.coupon-cert-header-bar {
    background: #3d1e03;
    color: #fdfaf2;
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.coupon-page-one {
    position: relative;
    padding: 24px 34px;
    background: linear-gradient(135deg, #fffcf5 0%, #fbf3e0 50%, #f6e9cb 100%);
    border-bottom: 2px dashed #a37237;
}
.coupon-side-ornament-left {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 24px;
    background-image: url('assets/coupon-ornate-border.svg');
    background-size: 24px 320px;
    background-repeat: repeat-y;
    opacity: 0.85;
}
.coupon-side-ornament-right {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 24px;
    background-image: url('assets/coupon-ornate-border.svg');
    background-size: 24px 320px;
    background-repeat: repeat-y;
    opacity: 0.85;
}
.coupon-inner-content {
    margin: 0 18px;
}
.coupon-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.coupon-reg-no {
    font-size: 0.82rem;
    font-weight: 800;
    color: #4a2608;
    letter-spacing: 0.02em;
}
.coupon-pill-title {
    background: #3d1e03;
    color: #fff;
    padding: 6px 20px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-family: Georgia, serif;
    box-shadow: 0 4px 12px rgba(61, 30, 3, 0.25);
}
.coupon-brand-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 14px 0;
}
.coupon-brand-logo {
    background: #fff;
    padding: 6px 14px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.coupon-brand-logo img {
    height: 48px;
    width: auto;
    display: block;
}
.coupon-brand-text h3 {
    margin: 0;
    color: #3d1e03;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    font-family: Georgia, serif;
}
.coupon-brand-text p {
    margin: 2px 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #783f04;
    letter-spacing: 0.08em;
}
.coupon-main-grid {
    display: grid;
    grid-template-columns: 190px 1fr 200px;
    gap: 16px;
    align-items: center;
    margin: 18px 0;
    padding: 14px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    border: 1px solid rgba(163, 114, 55, 0.3);
}
.coupon-disciplines {
    font-size: 0.8rem;
    font-weight: 700;
    color: #4a2608;
    line-height: 1.7;
}
.coupon-disciplines ul {
    margin: 0;
    padding-left: 18px;
}
.coupon-univ-center {
    text-align: center;
}
.coupon-univ-logo {
    height: 54px;
    width: auto;
    margin: 0 auto 6px;
    display: block;
}
.coupon-univ-title {
    font-family: Georgia, serif;
    font-weight: 800;
    color: #3d1e03;
    font-size: 1rem;
    line-height: 1.3;
}
.coupon-univ-locations {
    font-size: 0.75rem;
    font-weight: 700;
    color: #783f04;
    margin-top: 4px;
    letter-spacing: 0.04em;
}
.coupon-other-college-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 3px 12px;
    margin-bottom: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.coupon-college-official-tag {
    font-size: 0.65rem;
    font-weight: 800;
    color: #1e3a8a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.coupon-college-icon {
    font-size: 1rem;
    line-height: 1;
}
.coupon-college-custom-logo {
    max-height: 52px;
    max-width: 140px;
    object-fit: contain;
    margin: 0 auto 6px;
    display: block;
}
.coupon-value-box {
    background: linear-gradient(135deg, #783f04 0%, #4a2608 100%);
    color: #fff;
    padding: 12px 14px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(74, 38, 8, 0.28);
    border: 1px solid #f6d198;
}
.coupon-value-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffd89b;
    font-weight: 700;
}
.coupon-value-amount {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 2px 0;
    color: #fff;
}
.coupon-student-meta {
    margin-top: 14px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e6d3ba;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    font-size: 0.82rem;
}
.coupon-student-meta span {
    display: block;
    color: #783f04;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}
.coupon-student-meta b {
    display: block;
    color: #1f2937;
    font-size: 0.88rem;
    margin-top: 2px;
}
.coupon-verification-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0 10px;
    padding-top: 10px;
    border-top: 1px solid #e6d3ba;
}
.coupon-qr-block {
    display: flex;
    align-items: center;
    gap: 12px;
}
.coupon-qr-img {
    width: 80px;
    height: 80px;
    background: #fff;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid #c9a572;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.coupon-qr-text {
    font-size: 0.75rem;
    color: #5a2e05;
    line-height: 1.35;
}
.coupon-signature-block {
    text-align: right;
}
.coupon-signature-img {
    height: 48px;
    width: auto;
    margin-left: auto;
    display: block;
}
.coupon-signature-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: #3d1e03;
    margin-top: 2px;
}
.coupon-signature-title {
    font-size: 0.72rem;
    color: #783f04;
    font-weight: 600;
}
.coupon-footer-bar {
    background: #3d1e03;
    color: #fdfaf2;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.coupon-sno-box {
    background: #fff;
    color: #3d1e03;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: 800;
    font-size: 0.85rem;
}
.coupon-page-two {
    padding: 20px 34px;
    background: #fffcf7;
    position: relative;
}
.coupon-terms-pill {
    background: #3d1e03;
    color: #fff;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}
.coupon-terms-list {
    font-size: 0.8rem;
    color: #4a2608;
    line-height: 1.6;
    margin: 0;
    padding-left: 20px;
}
.coupon-terms-list li {
    margin-bottom: 4px;
}
.coupon-contact-strip {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #ebd3b0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #783f04;
    flex-wrap: wrap;
    gap: 8px;
}
@media(max-width: 768px) {
    .coupon-main-grid { grid-template-columns: 1fr; text-align: center; }
    .coupon-disciplines { display: none; }
    .coupon-student-meta { grid-template-columns: 1fr; }
    .coupon-footer-bar { flex-direction: column; gap: 8px; text-align: center; }
    .coupon-verification-row { flex-direction: column; gap: 12px; align-items: center; text-align: center; }
    .coupon-signature-block { text-align: center; }
    .coupon-signature-img { margin: 0 auto; }
}
