/* ============================================
   RESET & VARIABLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --dark: #1f2937;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --border: #e5e7eb;
    --white: #ffffff;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light-gray);
}

/* ============================================
   HEADER
   ============================================ */
.main-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 0.5rem;
}

.logo-small {
    width: 40px;
    height: 40px;
}

.main-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
}

.main-header nav {
    display: flex;
    gap: 1.5rem;
}

.main-header nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.main-header nav a:hover {
    opacity: 0.8;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: white;
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.hero h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

/* ============================================
   FORM SECTIONS
   ============================================ */
.application-form, .status-check {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-gray);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.3rem;
    color: var(--gray);
    font-size: 0.85rem;
}

/* ============================================
   CHECKBOX GROUP
   ============================================ */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.checkbox-label:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.checkbox-label.declaration {
    grid-column: 1 / -1;
    background: var(--light-gray);
}

/* ============================================
   FAMILY MEMBERS
   ============================================ */
.family-member {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
}

.family-member h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.remove-member {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--danger);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary,
.btn-secondary,
.btn-danger,
.btn-success {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gray);
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-primary:disabled,
.btn-secondary:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   STATUS MESSAGES
   ============================================ */
.status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.status.show {
    display: block;
}

.status.success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.status.error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.status.uploading {
    background: #dbeafe;
    color: #1e40af;
    border: 2px solid #3b82f6;
}

/* ============================================
   STATUS CHECK
   ============================================ */
.status-check {
    text-align: center;
}

.status-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 1.5rem auto;
}

.status-form input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
}

#statusResult {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    margin: 0.5rem 0;
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem;
}

.login-box {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.center {
    text-align: center;
}

.login-box h1 {
    color: var(--primary);
    margin: 1rem 0;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
}

.btn-logout {
    background: var(--danger);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    width: 100%;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--dark);
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar .logo-section {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar h2 {
    font-size: 1.5rem;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255,255,255,0.1);
    color: white;
    border-left-color: var(--primary);
}

.nav-item span {
    font-size: 1.3rem;
}

.user-info {
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.user-info strong {
    display: block;
    margin-bottom: 0.25rem;
}

.user-info p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.dashboard-main {
    flex: 1;
    margin-left: 260px;
    background: var(--light-gray);
}

.dashboard-header {
    background: white;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header h1 {
    color: var(--primary);
    font-size: 1.8rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box,
.filter-select {
    padding: 0.6rem 1rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
}

.search-box {
    min-width: 250px;
}

.dashboard-content {
    padding: 2rem;
}

/* ============================================
   APPLICATION CARDS
   ============================================ */
.applications-grid {
    display: grid;
    gap: 1.5rem;
}

.application-card {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--primary);
}

.application-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.card-header h3 {
    color: var(--dark);
    font-size: 1.2rem;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-coordinator_approved {
    background: #dbeafe;
    color: #1e40af;
}

.status-president_approved {
    background: #d1fae5;
    color: #065f46;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.card-body {
    margin-bottom: 1rem;
}

.card-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.info-value {
    font-weight: 600;
    color: var(--dark);
}

.card-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ============================================
   STATISTICS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal.show {
    display: block;
}

.modal-content {
    background: white;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.modal-content.large {
    max-width: 1000px;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--dark);
}

/* ============================================
   COMMENTS SECTION
   ============================================ */
.comments-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.comment {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: var(--primary);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--gray);
}

.comment-text {
    color: var(--dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }

    .logo-section {
        flex-direction: column;
    }

    .main-header h1 {
        font-size: 1.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .dashboard {
        flex-direction: column;
    }

    .sidebar {
        position: static;
        width: 100%;
        height: auto;
    }

    .dashboard-main {
        margin-left: 0;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
    }

    .header-actions {
        flex-direction: column;
    }

    .search-box {
        width: 100%;
    }

    .card-actions {
        flex-direction: column;
    }

    .card-actions button {
        width: 100%;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.hidden {
    display: none !important;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--gray);
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--gray);
}

.empty-state h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}
/* ============================================
   HOMEPAGE STYLES
   ============================================ */

.hero-home {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    margin: 2rem 0;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.hero-home h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.hero-home h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    margin: 1.5rem auto;
    max-width: 700px;
    opacity: 0.9;
    line-height: 1.8;
}

.btn-apply-now,
.btn-learn-more {
    display: inline-block;
    padding: 1rem 2.5rem;
    margin: 0.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-apply-now {
    background: white;
    color: var(--primary);
}

.btn-apply-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-learn-more {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.btn-learn-more:hover {
    background: rgba(255,255,255,0.3);
}

/* About Section */
.about-section {
    margin: 3rem 0;
}

.about-section h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.about-content {
    display: grid;
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.about-card.highlight {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border: 2px solid var(--primary);
}

.malayalam-text {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    color: var(--gray);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.service-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.service-item h4 {
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.service-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Values List */
.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--light-gray);
    border-radius: 6px;
    border-left: 4px solid var(--primary);
}

.values-list strong {
    color: var(--primary);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--gray);
    font-size: 0.9rem;
}

.cta-center {
    text-align: center;
}

/* Statistics Section */
.stats-section {
    margin: 3rem 0;
    text-align: center;
}

.stats-section h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-section {
    margin: 3rem 0;
    text-align: center;
}

.contact-section h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-home h2 {
        font-size: 1.8rem;
    }
    
    .hero-home h3 {
        font-size: 1.3rem;
    }
    
    .btn-apply-now,
    .btn-learn-more {
        display: block;
        margin: 0.5rem 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ENAYA CONTACT STYLES
   ============================================ */

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.contact-intro p {
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 1.1rem;
}

.enaya-contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
    border: 2px solid var(--primary);
}

.enaya-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.enaya-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    padding: 0.5rem;
    background: var(--light-gray);
}

.enaya-header h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.enaya-location {
    color: var(--gray);
    font-size: 1rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-info label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-link {
    display: block;
    color: var(--dark);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--primary);
}

.btn-copy {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-copy:hover {
    background: var(--primary-dark);
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp,
.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-call {
    background: var(--primary);
    color: white;
}

.btn-call:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-whatsapp span,
.btn-call span {
    font-size: 1.3rem;
}

.alternative-contact {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.alternative-contact h3 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.alternative-contact .contact-card {
    text-align: center;
}

.alternative-contact .contact-card h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.alternative-contact .contact-card a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
}

.alternative-contact .contact-card a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .enaya-header {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .btn-whatsapp,
    .btn-call {
        width: 100%;
        justify-content: center;
    }
}

/* Copy notification */
.copy-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--success);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================================
   FORM FIELD IMPROVEMENTS
   ============================================ */

/* Better spacing for form rows */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}

/* Make single-column fields full width */
.form-group.full-width {
    grid-column: 1 / -1;
}

/* Better label visibility */
.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Consistent input heights */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

/* Better select dropdown appearance */
.form-group select {
    background-color: white;
    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='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Focus states */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Required field indicator */
.form-group label::after {
    content: "";
}

/* Mobile responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Better textarea sizing */
.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Placeholder styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

/* Better alignment for Malayalam text */
.form-group select option {
    padding: 0.5rem;
}
```

---

## 📋 **NEW PROFESSIONAL LAYOUT:**

Now your form will look like this:
```
┌─────────────────────────────────────────────────────────┐
│  📋 Personal Information / വ്യക്തിഗത വിവരങ്ങൾ           │
├─────────────────────────────────────────────────────────┤
│                                                         │
│  [Applicant Name           ]  [House Name           ]  │
│                                                         │
│  [Age    ]                    [Mobile Number        ]  │
│                                                         │
│  [Mahalla ▼]                  [Previous Member? ▼   ]  │
│                                                         │
│  [Address                                           ]  │
│  [                                                   ]  │
│                                                         │
│  [Email (Optional)                                  ]  │
│                                                         │
└─────────────────────────────────────────────────────────┘