/* ===== Pyramid Educational Services - Shared Styles ===== */

body {
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Navbar shrink on scroll */
#navbar.scrolled {
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
#navbar.scrolled > div > div {
    height: 64px;
}

/* Mobile menu bar animation */
#menu-toggle.open .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle.open .menu-bar:nth-child(2) {
    opacity: 0;
}
#menu-toggle.open .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.float-anim {
    animation: float 3s ease-in-out infinite;
}

/* Background patterns */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(13, 27, 61, 0.04) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Check icon */
.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #E31E24;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(227, 30, 36, 0.3);
}
.check-icon svg {
    width: 16px;
    height: 16px;
}

/* FAQ rotation */
.faq-icon.rotate {
    transform: rotate(180deg);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Selection */
::selection {
    background: #E31E24;
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f0f0;
}
::-webkit-scrollbar-thumb {
    background: #0D1B3D;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E31E24;
}

/* Form inputs */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #F8F9FB;
    color: #2D2D2D;
}
.form-input::placeholder {
    color: #666666;
}
.form-input:focus {
    outline: none;
    border-color: #E31E24;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}