/* 
 * Custom Styling for Educator’s Felicitation Ceremony 2026
 * Theme: Royal Blue & Metallic Gold
 */

:root {
    --royal-blue: #0b2a66;
    --dark-navy: #05163a;
    --metallic-gold: #d4af37;
    --gold-glow: #f4d06f;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--dark-navy);
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Background Particles */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: radial-gradient(circle at center, var(--royal-blue) 0%, var(--dark-navy) 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.university-logo img {
    max-height: 100px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.gold-text {
    color: var(--metallic-gold);
    background: linear-gradient(to bottom, #f4d06f 0%, #d4af37 50%, #b38f29 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    display: inline-block;
}

.gold-divider {
    height: 3px;
    width: 580px;
    background: linear-gradient(90deg, transparent, var(--metallic-gold), transparent);
}

.gold-divider-small {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, transparent, var(--metallic-gold), transparent);
}

.subtitle-text {
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Interactive Laurel Icons */
.laurel-left, .laurel-right {
    font-size: 2.5rem;
    color: var(--metallic-gold);
    vertical-align: middle;
    margin: 0 15px;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

.glass-form-container {
    background: rgba(11, 42, 102, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
}
/* Laurel Image Decoration */

.laurel-left-img,
.laurel-right-img{
    width:120px;
    height:auto;
    vertical-align:middle;
    opacity:.9;
}

.laurel-left-img{
    margin-right:15px;
}

.laurel-right-img{
    margin-left:15px;
}
/* 3D Perspective Cards */
.detail-card-3d {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 3rem 1.5rem;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    cursor: default;
}	

.detail-card-3d:hover {
    transform: translateY(-15px) rotateX(10deg);
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--gold-glow);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.2);
}

.gold-icon {
    color: var(--metallic-gold);
    font-size: 1.25rem;
}

/* Buttons */
.btn-gold {
    background: linear-gradient(145deg, var(--metallic-gold), #b38f29);
    border: none;
    color: var(--dark-navy) !important;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.4s ease;
}

.btn-gold:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(145deg, var(--gold-glow), var(--metallic-gold));
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

/* Form Styling */
.form-label {
    font-size: 0.9rem;
    font-weight: 500;
}
.form-control::placeholder {
     color: #ffffff;}
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    padding: 12px 15px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--metallic-gold);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.15);
    color: white;
}
/* Fix dropdown option color for dark theme */

select.form-control {
    background: rgba(255,255,255,0.05);
    color: white;
}

select.form-control option {
    background: #05163a;   /* dark navy */
    color: white;
}

select.form-control option:hover {
    background: #0b2a66;
}

/* Section Specifics */
.about-section, .details-section, .registration-section, .contact-section {
    position: relative;
    z-index: 10;
}

.bg-navy {
    background-color: var(--dark-navy);
}

.footer {
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    z-index: 10;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}
/* =========================
   ULTRA PREMIUM GALLERY
========================= */

.simple-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    perspective: 1200px;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    user-select: none;
    cursor: grab;
}

/* BASE */
.gallery-item {
    transition: all 0.5s ease;
}

/* DEFAULT */
.gallery-item img {
    width: 200px;
    height: 130px;
    object-fit: cover;
    border-radius: 14px;
    opacity: 0.5;
    transform: scale(0.8) rotateY(25deg);
    filter: blur(1px);
    transition: all 0.5s ease;
}

/* CENTER */
.gallery-item.active img {
    width: 250px;
    height: 220px;
    opacity: 1;
    transform: scale(1.15) rotateY(0deg);
    filter: blur(0);
    z-index: 5;
    box-shadow:
        0 20px 60px rgba(212,175,55,0.5),
        0 0 30px rgba(212,175,55,0.3);
}

/* LEFT */
.gallery-item.left img {
    transform: scale(0.9) rotateY(25deg);
    opacity: 0.7;
}

/* RIGHT */
.gallery-item.right img {
    transform: scale(0.9) rotateY(-25deg);
    opacity: 0.7;
}

/* FAR ITEMS */
.gallery-item.far img {
    opacity: 0.8;
    transform: scale(0.7);
}


/* ===============================
   RESPONSIVE IMPROVEMENTS
   =============================== */

/* Tablets */
@media (max-width: 992px){

.hero-section{
    padding: 80px 15px;
    text-align:center;
}

.display-3{
    font-size:2.5rem;
    line-height:1.3;
}

.subtitle-text{
    font-size:1rem;
    letter-spacing:2px;
}

.university-logo img{
    max-height:80px;
}

.gold-divider{
    width:200px;
}

.detail-card-3d{
    padding:2rem 1rem;
}

.glass-form-container{
    padding:25px;
}

}

/* Large Phones */
@media (max-width:768px){

.hero-section{
min-height:auto;        /* remove 100vh height */
padding-top:60px;
padding-bottom:40px;
}
.container{
padding-left:15px;
padding-right:15px;
}

.display-3{
    font-size:2rem;
}

.subtitle-text{
    font-size:0.9rem;
    letter-spacing:1px;
}

.gold-divider{
    width:150px;
}

.university-logo img{
    max-height:70px;
}

/* Laurel images smaller */
.laurel-left-img,
.laurel-right-img{
    width:65px;
}

/* Cards spacing */
.detail-card-3d{
    margin-bottom:20px;
}

/* Form fields full width */
.form-control{
    font-size:14px;
    padding:10px 12px;
}

.btn-gold{
    font-size:16px;
    padding:12px;
}
.border-end{
border-right:none !important;
}

.registration-section .col-md-5{
text-align:center;
margin-bottom:30px;
}

.registration-section ul{
text-align:left;
display:inline-block;
}
.about-section,
.details-section,
.registration-section,
.contact-section{
padding-top:0px !important;
padding-bottom:0px !important;
}

.about-section h2{
font-size:1.6rem;
line-height:1.4;
}

.about-section .lead{
font-size:0.95rem;
line-height:1.7;
padding:0 10px;
}

.about-section p{
font-size:0.9rem;
padding:0 10px;
}
.display-3{
margin-bottom:10px;
}

.gold-divider{
margin-top:15px;
margin-bottom:15px;
}

.event-brief{
margin-bottom:20px;
}
.gold-divider-small{
width:80px;
}

}

/* Small Phones */
@media (max-width:480px){

.hero-section{
    padding:60px 10px;
}

.display-3{
    font-size:1.6rem;
}

.subtitle-text{
    font-size:0.85rem;
}

.university-logo img{
    max-height:60px;
}

.gold-divider{
    width:120px;
}

/* Hide decorative laurels on very small screens */
.laurel-left-img,
.laurel-right-img{
    display:none;
}

/* Glass card padding reduce */
.glass-card{
    padding:15px;
}

.glass-form-container{
    padding:20px;
}

/* Form */
.form-control{
    font-size:13px;
}

.btn-gold{
    font-size:15px;
}

/* Contact items spacing */
.contact-item{
    margin-bottom:20px;
}

}

/* Ultra small phones */
@media (max-width:360px){

.display-3{
    font-size:1.4rem;
}

.subtitle-text{
    font-size:0.8rem;
}

}