/* ============================================================
   Government College of Pharmacy, Amravati
   Elegant Maroon–Gold Theme (Responsive + Animated)
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&family=Noto+Sans+Devanagari:wght@400;500;700&display=swap');

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

body {
    font-family: 'Poppins', Arial, sans-serif;
    color: #222;
    background-color: #f9f6f3;
    overflow-x: hidden;
}

/* Marathi text */
.marathi, #marathi-title, #college-name-marathi {
    font-family: 'Noto Sans Devanagari', sans-serif;
}

/* -------------------------
   HEADER
-------------------------- */
.header {
    background-color: #7a1f1f;
    color: #fff;
    padding: 10px 0;
    border-bottom: 3px solid #d4af37;
    transition: background-color 0.5s ease;
    position: relative;
    z-index: 1000;
}

.header .logo img {
    height: 70px;
    transition: transform 0.3s ease;
}

.header .logo img:hover {
    transform: scale(1.05);
}

/* College Name */
.header-text {
    text-align: center;
}

#college-name, #college-name-marathi {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 5px rgba(212,175,55,0.8);
}

/* -------------------------
   NAVIGATION MENU
-------------------------- */
.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #7a1f1f;
    flex-wrap: wrap;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 10px 0;
}

.nav ul li {
    position: relative;
}

.nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav a:hover {
    background-color: #a83232;
    color: #fff3cd;
    box-shadow: 0 2px 10px rgba(212,175,55,0.5);
}

/* Dropdown */
.nav ul li ul {
    position: absolute;
    top: 40px;
    left: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    min-width: 200px;
    z-index: 999;
}

.nav ul li:hover > ul {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.nav ul li ul li a {
    color: #7a1f1f;
    padding: 10px 15px;
    font-weight: 500;
}

.nav ul li ul li a:hover {
    background: #fbeec1;
    color: #7a1f1f;
}

/* Dropdown animation */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}

/* -------------------------
   BANNER / SLIDER
-------------------------- */
.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
    transition: transform 8s ease-in-out;
}

.banner img:hover {
    transform: scale(1.1);
}

/* -------------------------
   CONTENT SECTIONS
-------------------------- */
.section {
    padding: 60px 20px;
}

.card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(122,31,31,0.2);
}

/* -------------------------
   FOOTER
-------------------------- */
.footer {
    background: linear-gradient(90deg, #7a1f1f, #a83232);
    color: #fff;
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

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

.footer a:hover {
    text-decoration: underline;
}

/* -------------------------
   ANIMATIONS
-------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

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

/* -------------------------
   RESPONSIVE DESIGN
-------------------------- */
@media (max-width: 992px) {
    .nav ul {
        flex-direction: column;
        align-items: center;
    }
}
