/* Color Palette */
:root {
    --olive-leaf: #606c38ff;
    --black-forest: #283618ff;
    --cornsilk: #fefae0ff;
    --sunlit-clay: #dda15eff;
    --copperwood: #bc6c25ff;
}

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

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--cornsilk) 0%, #f5eed9 100%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Section */
.header {
    text-align: center;
    margin-bottom: 40px;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    margin-bottom: 20px;
}

.school-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(40, 54, 24, 0.3);
    transition: transform 0.3s ease;
    border: 4px solid var(--cornsilk);
}

.school-logo:hover {
    transform: scale(1.05) rotate(5deg);
}

.logo-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--olive-leaf), var(--black-forest));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(40, 54, 24, 0.3);
    transition: transform 0.3s ease;
}

.logo-circle:hover {
    transform: scale(1.05) rotate(5deg);
}

.logo-circle i {
    font-size: 48px;
    color: var(--cornsilk);
}

.school-name {
    font-size: 2.2rem;
    color: var(--black-forest);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1rem;
    color: var(--olive-leaf);
    margin-bottom: 15px;
    font-weight: 500;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--sunlit-clay), var(--copperwood));
    color: var(--cornsilk);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(188, 108, 37, 0.3);
    animation: pulse 2s infinite;
}

.coming-soon-badge i {
    margin-right: 6px;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Info Section - Minimal */
.info-section {
    background: white;
    border-radius: 20px;
    padding: 40px 32px;
    margin-bottom: 40px;
    box-shadow: 0 6px 20px rgba(40, 54, 24, 0.12);
    border: 2px solid var(--cornsilk);
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-logo-container {
    margin-bottom: 24px;
}

.info-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(40, 54, 24, 0.2);
    border: 4px solid var(--olive-leaf);
    transition: transform 0.3s ease;
}

.info-logo:hover {
    transform: scale(1.05);
}

.info-title {
    font-size: 1.8rem;
    color: var(--black-forest);
    margin-bottom: 12px;
    font-weight: 700;
}

.info-description {
    color: var(--olive-leaf);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Links Section */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.link-card {
    background: white;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    color: var(--black-forest);
    box-shadow: 0 4px 12px rgba(40, 54, 24, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--olive-leaf), var(--black-forest));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.link-card:hover::before {
    opacity: 0.05;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(40, 54, 24, 0.2);
    border-color: var(--olive-leaf);
}

.link-card:active {
    transform: translateY(-2px);
}

.link-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--olive-leaf), var(--black-forest));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    z-index: 1;
}

.link-card:hover .link-icon {
    transform: rotate(10deg) scale(1.1);
}

.link-icon i {
    font-size: 24px;
    color: var(--cornsilk);
}

.whatsapp-card .link-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.link-content {
    flex: 1;
    z-index: 1;
}

.link-content h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--black-forest);
}

.link-content p {
    font-size: 0.85rem;
    color: var(--olive-leaf);
    font-weight: 400;
}

.link-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cornsilk);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1;
}

.link-card:hover .link-arrow {
    background: var(--olive-leaf);
    transform: translateX(5px);
}

.link-card:hover .link-arrow i {
    color: var(--cornsilk);
}

.link-arrow i {
    font-size: 14px;
    color: var(--olive-leaf);
    transition: color 0.3s ease;
}

/* Notify Section */
.notify-section {
    background: white;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(40, 54, 24, 0.12);
    border: 2px solid var(--cornsilk);
}

.notify-title {
    font-size: 1.5rem;
    color: var(--black-forest);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.notify-title i {
    color: var(--sunlit-clay);
    animation: ring 2s infinite;
}

@keyframes ring {
    0%,
    100% {
        transform: rotate(0deg);
    }
    10%,
    30% {
        transform: rotate(-10deg);
    }
    20%,
    40% {
        transform: rotate(10deg);
    }
}

.notify-subtitle {
    text-align: center;
    color: var(--olive-leaf);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--cornsilk);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--cornsilk);
    color: var(--black-forest);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--olive-leaf);
    background: white;
    box-shadow: 0 0 0 4px rgba(96, 108, 56, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23606c38' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--olive-leaf), var(--black-forest));
    color: var(--cornsilk);
    border: none;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 54, 24, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.success-message {
    display: none;
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 16px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message.show {
    display: block;
}

.success-message i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.success-message p {
    font-size: 1rem;
    font-weight: 600;
}

/* Social Section */
.social-section {
    text-align: center;
    margin-bottom: 30px;
}

.social-title {
    color: var(--olive-leaf);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--olive-leaf);
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(40, 54, 24, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--olive-leaf), var(--black-forest));
    color: var(--cornsilk);
    transform: translateY(-3px) rotate(10deg);
    box-shadow: 0 6px 16px rgba(40, 54, 24, 0.2);
}

.social-icon i {
    font-size: 18px;
}

/* Location Section */
.location-section {
    background: white;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(40, 54, 24, 0.12);
    border: 2px solid var(--cornsilk);
}

.location-title {
    font-size: 1.5rem;
    color: var(--black-forest);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
}

.location-title i {
    color: var(--copperwood);
    font-size: 1.4rem;
}

.location-subtitle {
    text-align: center;
    color: var(--olive-leaf);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.map-container {
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(40, 54, 24, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
}

.address-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.address-text {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--cornsilk);
    border-radius: 12px;
    color: var(--black-forest);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.address-text:hover {
    background: linear-gradient(135deg, var(--cornsilk), #f0e7c8);
    transform: translateX(5px);
}

.address-text i {
    color: var(--olive-leaf);
    font-size: 18px;
    width: 20px;
}

.address-text strong {
    color: var(--copperwood);
    margin-right: 4px;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(40, 54, 24, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-info {
    border-left: 4px solid var(--olive-leaf);
}

.notification i {
    color: var(--olive-leaf);
    font-size: 20px;
}

.notification span {
    color: var(--black-forest);
    font-weight: 500;
}

/* Loading Spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Footer */
.footer {
    text-align: center;
    color: var(--olive-leaf);
    font-size: 0.85rem;
    padding: 20px 0;
    border-top: 2px solid rgba(96, 108, 56, 0.2);
}

.footer p {
    margin-bottom: 6px;
}

.footer-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--copperwood);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    .school-name {
        font-size: 1.7rem;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .link-card {
        padding: 16px 18px;
    }

    .link-content h3 {
        font-size: 1rem;
    }

    .link-content p {
        font-size: 0.8rem;
    }

    .notify-section {
        padding: 24px;
    }

    .notify-title {
        font-size: 1.3rem;
    }

    .form-group input,
    .form-group select {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .logo-circle {
        width: 80px;
        height: 80px;
    }

    .logo-circle i {
        font-size: 36px;
    }

    .school-logo {
        width: 90px;
        height: 90px;
    }

    .about-card {
        padding: 24px;
    }

    .info-section {
        padding: 32px 24px;
    }

    .info-logo {
        width: 120px;
        height: 120px;
    }

    .info-title {
        font-size: 1.5rem;
    }

    .info-description {
        font-size: 0.9rem;
    }

    .location-section {
        padding: 24px;
    }

    .location-title {
        font-size: 1.3rem;
    }

    .address-info {
        font-size: 0.85rem;
    }

    .notification {
        right: 10px;
        top: 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    .school-name {
        font-size: 1.5rem;
    }

    .link-icon {
        width: 44px;
        height: 44px;
    }

    .link-icon i {
        font-size: 20px;
    }

    .info-logo {
        width: 100px;
        height: 100px;
    }
}
