:root {
    --accent: #dd9433;
    --accent-rgb: 221, 148, 51;
    --sub-accent: #164e99;
    --sub-accent-rgb: 22, 78, 153;
    --color-1: #0ca0b3;
    --color-2: #5CCDE8;
    --color-3: #bebe2b;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Nunito:wght@400;600;700&family=Rasa:wght@400;700&family=Fira+Sans+Gujarati:wght@400;600;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Fira Sans Gujarati', 'Nunito', sans-serif;
}

.app-root {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    background-image: url(../img/srpv-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
}

/* ── Animated background ── */
.bg-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #f0f4f8d4 0%, #e8f1f7e3 40%, #d4e9f0b3 100%);
    z-index: 0;
}



/* Floating geometric shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
    width: 220px;
    height: 220px;
    background: var(--sub-accent);
    top: -60px;
    right: -60px;
    animation-delay: 0s;
}

.shape-2 {
    width: 140px;
    height: 140px;
    background: var(--accent);
    bottom: 120px;
    left: -40px;
    animation-delay: 2s;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-3 {
    width: 90px;
    height: 90px;
    background: var(--color-1);
    top: 38%;
    right: -20px;
    animation-delay: 4s;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.shape-4 {
    width: 60px;
    height: 60px;
    background: var(--color-3);
    top: 18%;
    left: 8%;
    animation-delay: 1.5s;
    opacity: 0.1;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(8deg);
    }
}

/* Dot grid pattern */
.dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(22, 78, 153, 0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    z-index: 0;
}



/* ── Content wrapper ── */
.content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 0 18px;
}

/* ── Logo area ── */
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeSlideDown 0.8s ease both;
    padding-top: 22px;
    gap: 24px;
}

.logo-ring {
    width: 24vw;
    height: 24vw;
    max-width: 150px;
    max-height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px rgba(221, 148, 51, 0.2), 0 8px 28px rgba(0, 0, 0, 0.12);
    position: relative;
    animation: pulseLogo 3s ease-in-out infinite;
}

.logo-ring::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(221, 148, 51, 0.35);
    animation: spinRing 18s linear infinite;
}

.logo-ring img {
    width: 23vw;
    height: auto;
    max-width: 146px;
    border-radius: 50%;
}

@keyframes spinRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseLogo {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(221, 148, 51, 0.2), 0 8px 28px rgba(0, 0, 0, 0.12);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(221, 148, 51, 0.1), 0 8px 36px rgba(0, 0, 0, 0.15);
    }
}


.school-name {
    font-family: 'Fira Sans Gujarati', 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.35rem;
    color: var(--sub-accent);
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: fadeSlideDown 1s 0.15s ease both;
}

.school-tagline {
    font-size: 0.72rem;
    color: var(--color-1);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    animation: fadeSlideDown 1s 0.25s ease both;
}

/* decorative bar */
.deco-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    animation: fadeIn 1.2s 0.4s ease both;
}

.deco-bar span {
    display: block;
    height: 2px;
    border-radius: 2px;
}

.deco-bar .d1 {
    width: 24px;
    background: var(--accent);
}

.deco-bar .d2 {
    width: 8px;
    background: var(--color-3);
}

.deco-bar .d3 {
    width: 24px;
    background: var(--accent);
}

/* ── Contact block ── */
.contact-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
    animation: fadeSlideUp 0.9s 0.3s ease both;
}

.contact-card {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(22, 78, 153, 0.15);
    border-radius: 14px;
    padding: 9px 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ci-map {
    background: rgba(221, 148, 51, 0.15);
}

.ci-phone {
    background: rgba(12, 160, 179, 0.15);
}

.ci-email {
    background: rgba(22, 78, 153, 0.15);
}

.contact-icon svg {
    width: 14px;
    height: 14px;
}

.contact-text {
    font-size: 0.9rem;
    color: rgba(22, 78, 153, 0.85);
    line-height: 1.5;
    flex: 1;
}

.contact-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-text a:hover {
    color: var(--accent);
}

.divider-line {
    width: 100%;
    height: 1px;
    background: rgba(22, 78, 153, 0.1);
    margin: 2px 0;
}

/* ── Quick links grid ── */
.links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    width: 100%;
    animation: fadeSlideUp 0.9s 0.5s ease both;
    padding-bottom: 18px;
}

.link-btn {
    position: relative;
    border: none;
    border-radius: 14px;
    padding: 13px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    font-family: 'Fira Sans Gujarati', 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: transform 0.18s, box-shadow 0.18s;
    overflow: hidden;
    text-decoration: none;
}

.link-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: inherit;
}

.link-btn:active {
    transform: scale(0.95);
}

.link-btn:active::before {
    opacity: 1;
}

.link-btn .btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    margin-bottom: 2px;
}

.link-btn .btn-icon svg {
    width: 17px;
    height: 17px;
}

.link-btn .btn-label {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    text-align: center;
}

.btn-admissions {
    background: linear-gradient(135deg, var(--sub-accent), #1a6ac7);
    box-shadow: 0 4px 16px rgba(22, 78, 153, 0.3);
}

.btn-academics {
    background: linear-gradient(135deg, var(--color-1), #0a7a8a);
    box-shadow: 0 4px 16px rgba(12, 160, 179, 0.3);
}

.btn-campus {
    background: linear-gradient(135deg, #1a8a3a, #25a84a);
    box-shadow: 0 4px 16px rgba(26, 138, 58, 0.3);
}

.btn-faculty {
    background: linear-gradient(135deg, #8a1a6a, #b82492);
    box-shadow: 0 4px 16px rgba(138, 26, 106, 0.3);
}

.btn-events {
    background: linear-gradient(135deg, var(--accent), #b87620);
    box-shadow: 0 4px 16px rgba(221, 148, 51, 0.3);
}

.btn-contact {
    background: linear-gradient(135deg, var(--color-3), #9a9a20);
    box-shadow: 0 4px 16px rgba(190, 190, 43, 0.25);
}

/* ── Animations ── */
@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}