.hero-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -2;
    background: linear-gradient(120deg, #e0eafc 0%, #cfdef3 100%);
    width: 100vw;
    height: 100vh;
    opacity: 0.7;
}

.hero-section {
    width: 100vw;
    padding: 48px 0 24px 0;
    background: linear-gradient(90deg, #1a4597 0%, #d0021b 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 32px rgba(26,69,151,0.08);
    margin-bottom: 0;
}
.hero-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 0 12px 0;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f6f8fa;
}

.page {
    display: grid;
    grid-template-areas:
        "header header"
        "sidebar announcement"
        "sidebar random"
        "footer footer";
    grid-template-columns: 240px 1fr;
    grid-template-rows: auto 1fr auto auto;
    gap: 16px;
    min-height: 100vh;
    padding: 16px;
    box-sizing: border-box;
}
.grid-header {
    grid-area: header;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(26,69,151,0.04);
    padding: 18px 32px;
    min-height: 80px;
    position: relative;
}
.header-left, .header-center, .header-right {
    flex: 1;
}
.header-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.visa-vakeel {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 900;
    font-size: 4rem;
    color: #1a4597;
    margin: 0;
    letter-spacing: 0.02em;
    text-align: center;
    width: 100%;
    display: inline-block;
    position: relative;
}

.visa-vakeel::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 4px;
    background-color: #c00;
}

.address-box, .contact-box {
    background: linear-gradient(90deg, #fffbe6 60%, #ffe082 100%);
    border: 3px solid #d0021b;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(208,2,27,0.18), 0 1.5px 0 #fff;
    padding: 18px 28px;
    font-size: 1.25rem;
    color: #1a4597;
    font-weight: bold;
    display: inline-block;
    margin-top: 0.5em;
    transition: box-shadow 0.2s, border 0.2s;
    text-align: left;
    letter-spacing: 0.01em;
    z-index: 2;
}
.address-box:hover, .contact-box:hover {
    box-shadow: 0 8px 32px rgba(208,2,27,0.28), 0 2px 0 #fff;
    border-color: #b71c1c;
}
.header-right {
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

.email-link {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: #d0021b;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    transition: color 0.2s, text-decoration 0.2s;
}

.email-link:hover {
    color: #b71c1c;
    text-decoration: underline;
}

.grid-sidebar {
    grid-area: sidebar;
    background: linear-gradient(135deg, #d32f2f 70%, #b71c1c 100%);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(208,2,27,0.08);
    padding: 20px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    height: 100%;
    /* Let grid stretch this area */
}
.grid-sidebar h2 {
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.01em;
    margin-bottom: 18px;
}
.wise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.5;
    width: 100%;
}
.wise-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 1.05rem;
    color: #fff;
    padding-left: 0;
}
.wise-icon {
    margin-right: 10px;
    font-size: 1.2em;
    color: #fff;
    flex-shrink: 0;
    line-height: 1.5;
}

/* Vertical ticker for wise-words */
.wise-vertical-ticker {
    width: 100%;
    height: 120px;
    overflow: hidden;
    position: relative;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
}
.wise-vertical-ticker__wrap {
    display: flex;
    flex-direction: column;
    animation: wise-vertical-scroll 24s linear infinite;
}
.wise-vertical-ticker__item {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 0 12px 0;
    min-height: 60px;
    line-height: 1.5;
    text-align: left;
    width: 100%;
}
@keyframes wise-vertical-scroll {
    0% { transform: translateY(0); }
    20% { transform: translateY(0); }
    25% { transform: translateY(-120px); }
    45% { transform: translateY(-120px); }
    50% { transform: translateY(-240px); }
    70% { transform: translateY(-240px); }
    75% { transform: translateY(-360px); }
    95% { transform: translateY(-360px); }
    100% { transform: translateY(0); }
}

.grid-announcement {
    grid-area: announcement;
    background: #fff;
    color: #222;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(26,69,151,0.07);
    padding: 24px 24px 24px 24px;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.grid-announcement h2 {
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a4597;
    margin-bottom: 16px;
}
.announcement-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.announcement-header h2 {
    margin: 0;
    font-size: 1.5rem;
}
.announcement-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}
.announcement-buttons a,
.for-students-btn {
    pointer-events: auto;
    cursor: pointer;
}
.announcement-buttons a {
    background: #ff0;
    color: #c00;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    animation: blink 1.5s ease-in-out infinite;
    text-decoration: none;
    width: 8rem;
    text-align: center;
}
@keyframes blink {
    0%,100% { opacity: 1; }
    50%     { opacity: 0.5; }
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 1rem;
    border-bottom: 1px dotted rgba(255,255,255,0.6);
}
.sidebar ul li::before {
    content: "🔸";
    position: absolute;
    left: 0;
    top: 0;
}
.sidebar ul li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}
.new-fees-btn {
    background: linear-gradient(45deg, #ff0, #ffff80, #ff0);
    color: #c00;
    font-weight: bold;
    text-transform: uppercase;
    padding: .75rem 1.5rem;
    border-radius: 8px;
    animation: blink 1.5s ease-in-out infinite, pulse 2s ease-in-out infinite, bounce 3s ease-in-out infinite;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid #c00;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.new-fees-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.new-fees-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
    background: linear-gradient(45deg, #ffff80, #ff0, #ffff80);
    border-color: #a00;
    animation-play-state: paused;
}

.new-fees-btn:hover::before {
    left: 100%;
}

.new-fees-btn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    }
    50% { 
        box-shadow: 0 4px 25px rgba(255, 0, 0, 0.6);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.announcement-content {
    line-height: 1.6;
    font-size: 1rem;
}

.grid-random {
    grid-area: random;
    background: #111;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(26,69,151,0.07);
    padding: 24px 24px 24px 24px;
    min-width: 0;
    min-height: 120px;
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.grid-random h2 {
    margin-top: 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffe082;
    margin-bottom: 4px;
}
.random-date {
    color: #ffe082;
    font-size: 0.98rem;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.random-content {
    padding: 20px;
    line-height: 1.5;
    font-size: 1rem;
    color: #fff;
    white-space: pre-line;
}

@media (max-width: 900px) {
    .page {
        grid-template-areas:
            "header"
            "sidebar"
            "announcement"
            "random"
            "footer";
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr auto auto;
        gap: 16px;
    }
    .grid-sidebar {
        min-width: 0;
        max-width: 100%;
        min-height: 120px;
        padding: 18px 8px;
        height: auto;
    }
    .grid-announcement, .grid-random {
        min-width: 0;
        max-width: 100%;
        padding: 18px 8px;
        height: auto;
    }
    .header-center {
        justify-content: flex-start;
    }
    .footer {
        border-radius: 8px;
    }
}

.footer {
    grid-area: footer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #c00, #f00);
    height: 40px;
    border-radius: 8px;
    margin-top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer .ticker {
    white-space: nowrap;
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: max-content;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    will-change: transform;
    animation: scroll-left 10s linear infinite;
}
@keyframes scroll-left {
    from { transform: translateX(100%); }
    to   { transform: translateX(-100%); }
}
.grid-sidebar, .grid-announcement, .grid-random {
    height: 100%;
    min-height: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 1.08rem;
}

.footer-links a {
    color: #fff;
    text-decoration: underline;
    margin: 0 6px;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffe082;
}

/* Ticker styles */
.ticker {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: linear-gradient(90deg, #1a4597 0%, #d0021b 100%);
    color: #fff;
    z-index: 1000;
    height: 44px;
    display: flex;
    align-items: center;
    box-shadow: 0 -2px 12px rgba(26,69,151,0.08);
    overflow: hidden;
}
.ticker__wrap {
    width: 100vw;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 44px;
}
.ticker__text {
    display: inline-block;
    padding-left: 100vw;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    animation: ticker-scroll 18s linear infinite;
}
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100vw);
    }
}

@media (max-width: 600px) {
    .ticker, .ticker__wrap {
        height: 36px;
    }
    .ticker__text {
        font-size: 0.95rem;
    }
}

.footer, .footer-content, .footer-links { display: none !important; }

/* Wise ticker styles inside the red box */
.wise-ticker {
    width: 100%;
    margin-top: 18px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
    height: 32px;
    display: flex;
    align-items: center;
    position: relative;
}
.wise-ticker__wrap {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 32px;
}
.wise-ticker__text {
    display: inline-block;
    padding-left: 100%;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.01em;
    animation: wise-ticker-scroll 22s linear infinite;
}
@keyframes wise-ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
@media (max-width: 600px) {
    .wise-ticker, .wise-ticker__wrap {
        height: 24px;
    }
    .wise-ticker__text {
        font-size: 0.92rem;
    }
}

@media (max-width: 600px) {
    .wise-vertical-ticker {
        height: 44px;
    }
    .wise-vertical-ticker__item {
        font-size: 0.92rem;
        min-height: 32px;
    }
}

.scrollable-announcement {
    overflow-y: auto;
    max-height: 70vh;
    padding: 20px;
    box-sizing: border-box;
}

.breaking-ticker {
    width: 100vw;
    min-width: 100%;
    background: linear-gradient(90deg, #c00 0%, #f00 100%);
    color: #fff;
    font-weight: bold;
    font-size: 1.15rem;
    height: 44px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(200,0,0,0.08);
}
.breaking-ticker__wrap {
    width: 100vw;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 44px;
    position: relative;
}
.breaking-ticker__text {
    display: inline-block;
    padding-left: 100vw;
    font-size: 1.15rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.01em;
    animation: breaking-ticker-scroll 16s linear infinite;
}
@keyframes breaking-ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100vw);
    }
}
@media (max-width: 600px) {
    .breaking-ticker, .breaking-ticker__wrap {
        height: 32px;
    }
    .breaking-ticker__text {
        font-size: 1rem;
    }
}

.signature-heading {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: #fff;
    display: block;
    text-align: left;
    font-weight: normal;
    letter-spacing: 0.04em;
    margin-bottom: 0.2em;
    margin-top: 0.2em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.random-date.signature-heading {
    font-size: 1.3rem;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #ffe082;
}

.for-students-btn {
    background: #ff0;
    color: #c00;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    animation: blink 1.5s ease-in-out infinite;
    text-decoration: none;
    width: 8rem;
    text-align: center;
    border: 2px solid #c00;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.for-students-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
    background: linear-gradient(45deg, #ffff80, #ff0, #ffff80);
    border-color: #a00;
    animation-play-state: paused;
}
.for-students-btn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

/* Student box on for-students.html */
.grid-announcement h1 + p {
    border: 2px solid #c00;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.15);
    padding: 20px;
    background: #fffbe6;
    margin-bottom: 1.5rem;
}

.about-press {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f9f9f9;
    border-left: 4px solid #c00;
    border-radius: 6px;
}
.about-press h4 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    color: #c00;
}
.about-press p {
    margin: 0;
    line-height: 1.5;
}
.about-press a {
    color: #0066cc;
    text-decoration: underline;
}

.about-press-img {
    float: left;
    width: 80px;
    height: auto;
    margin-right: 1rem;
    border-radius: 4px;
}
.about-press h4 {
    margin-top: 0;
}
.press-date {
    margin: 0.25rem 0 1rem;
    color: #555;
    font-style: italic;
}
.about-press::after {
    content: "";
    display: block;
    clear: both;
}

.about-press, .about-press * {
  color: #111 !important;
} 