@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* --- Base Styles --- */
:root {
    --primary-color: #66fcf1;  /* ब्राइट Cyan */
    --secondary-color: #45a29e; /* हल्का Cyan */
    --dark-bg1: #0b0c10;       /* बहुत डार्क बैकग्राउंड */
    --dark-bg2: #1f2833;       /* डार्क कंटेनर */
    --text-color-light: #c5c6c7; /* हल्का टेक्स्ट */
    --text-color-dark: #ffffff;  /* सफ़ेद टेक्स्ट */
    /* यहाँ आपका ड्रॉप शैडो इफ़ेक्ट है */
    --shadow-color: rgba(102, 252, 241, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg1);
    color: var(--text-color-light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2 {
    color: var(--text-color-dark);
    font-weight: 600;
}

p { line-height: 1.7; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover { color: var(--secondary-color); }

/* --- Header & Footer --- */
.main-header {
    background-color: var(--dark-bg2);
    padding: 20px 0;
    border-bottom: 2px solid var(--secondary-color);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color-dark);
}
.logo-accent { color: var(--primary-color); }
.main-nav a {
    color: var(--text-color-light);
    margin-left: 25px;
    font-size: 16px;
    font-weight: 600;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}
.main-footer {
    background-color: var(--dark-bg2);
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid #333;
}

/* --- Main Content --- */
.main-content {
    min-height: calc(100vh - 160px); /* पेज को फुल हाइट रखने के लिए */
}
.page-container {
    padding: 40px 0;
    animation: fadeIn 0.8s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Portal Page (index.php) --- */
.portal-intro {
    text-align: center;
    margin-bottom: 40px;
}
.portal-intro h1 {
    font-size: 36px;
    color: var(--primary-color);
}
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.portal-card {
    background: var(--dark-bg2);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    /* --- यह रहा आपका ड्रॉप शैडो --- */
    box-shadow: 0 5px 15px var(--shadow-dark);
}
.portal-card:hover {
    transform: translateY(-10px);
    /* --- होवर पर और बेहतर ड्रॉप शैडो --- */
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--secondary-color);
}
.card-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color-dark);
}
.card-icon.whatsapp { background: #25D366; }
.card-icon.edu { background: #ffc107; }
.card-icon.mokena { background: #007bff; }
.portal-card h2 { margin-bottom: 10px; }
.portal-card p { font-size: 15px; margin-bottom: 25px; }

.portal-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    color: var(--dark-bg1);
    background: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
    font-weight: 600;
}
.portal-btn:hover {
    background: var(--secondary-color);
    color: var(--text-color-dark);
}

/* --- Contact Form --- */
.contact-form {
    max-width: 600px;
    margin: 20px auto;
    background: var(--dark-bg2);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-dark);
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #333;
    background: var(--dark-bg1);
    color: var(--text-color-light);
    font-size: 16px;
    border-radius: 5px;
    box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}
.contact-form button { width: 100%; }

/* --- PIN Modal Styles --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}
.modal-content {
    background: var(--dark-bg2);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    width: 320px;
    position: relative;
}
.close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.modal-content h2 { color: var(--primary-color); margin-top: 0; }
#pinInput {
    width: 100%;
    padding: 12px;
    margin: 20px 0;
    border: 2px solid var(--secondary-color);
    background: var(--dark-bg1);
    color: var(--text-color-light);
    font-size: 20px;
    border-radius: 5px;
    text-align: center;
    box-sizing: border-box;
    letter-spacing: 5px;
}
#submitPin {
    width: 100%;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--dark-bg1);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
}
#pinError {
    color: #ff4d4d;
    margin-top: 15px;
    display: none;
    font-weight: 600;
}