/* --- VARIABLES & RESET --- */
:root {
    --primary: #FF9933;       /* Saffron */
    --primary-glow: rgba(255, 153, 51, 0.2);
    --secondary: #27AE60;     /* Emerald Green */
    --secondary-glow: rgba(39, 174, 96, 0.2);
    --danger: #E74C3C;        /* Red */
    --dark-bg: #FFFFFF;       /* Pure White Background */
    --card-bg: #FDFCF0;       /* Light Cream Card */
    --glass-border: rgba(255, 153, 51, 0.2);
    --text-main: #2C3E50;     /* Dark Slate */
    --text-muted: #7F8C8D;     /* Greyish */
    --font-head: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; outline: none; }
body {
    background-color: var(--dark-bg);
    background-image: radial-gradient(circle at 50% 0%, #FFF5E6 0%, var(--dark-bg) 70%);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0; padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hidden { display: none !important; }

/* --- NAVIGATION --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--primary);
    padding: 0 5%;
    min-height: 80px;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 2px solid var(--primary);
    padding: 20px 5%;
    min-height: 80px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* HERO BANNER */
.hero-banner {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(rgba(30, 20, 18, 0.6), rgba(30, 20, 18, 0.6)), url('../../uploads/cow-hero.jpg') center/cover no-repeat;
    position: relative;
    border-radius: 0 0 30px 30px;
    border-bottom: 2px solid var(--primary);
}

.hero-banner-sub {
    height: 45vh;
    min-height: 300px;
    background: linear-gradient(rgba(30, 20, 18, 0.7), rgba(30, 20, 18, 0.7)), url('../../uploads/cow-hero.jpg') center/cover no-repeat;
    position: relative;
    border-radius: 0 0 30px 30px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--primary);
} 

.hero-overlay {
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(45, 27, 10, 0.4), rgba(45, 27, 10, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0 0 30px 30px;
}

.hero-content h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.5rem;
    color: #FF9933; /* Saffron color */
    margin: 10px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    max-width: 700px;
    font-size: 1.1rem;
    color: #f0f0f0;
    margin: 0 auto 30px;
}

.badge-gold {
    background: #F1C40F;
    color: #2D1B0A;
    padding: 5px 15px;
    font-weight: bold;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: #fff;
}

.stat-item span {
    color: #FF9933;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* --- INFO BLOCK (Side by Side) --- */
.info-block {
    padding: 40px 15px;
    max-width: 1350px;
    margin: 0 auto;
}

.info-content-split {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(255, 153, 51, 0.08);
}

.info-image {
    flex: 1;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    margin-left: 20px;
}

.info-text {
    flex: 1;
    padding: 50px;
}

.info-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.gau-he {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.info-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
}

/* INFO SECTION */
.info-section {
    padding: 0px 15px;
    max-width: 1350px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

/*.info-grid {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(3, 1fr);*/
/*    gap: 30px;*/
/*}*/

.feature-card {
    background: linear-gradient(145deg, #FFF9F3, #FFF2E6);
    border: 1px solid rgba(255, 153, 51, 0.15);
    padding: 40px 25px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(255, 153, 51, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-12px);
    background: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(255, 153, 51, 0.15);
}

.feature-image-wrap {
    width: 100%;
    height: 180px;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
}

.feature-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: white;
    color: #FF9933;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.1);
    transition: 0.3s;
    flex-shrink: 0;
}

.img-circle  {
  
    background: white;
    color: #FF9933;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.1);
    transition: 0.3s;
    flex-shrink: 0;
}

.img-circle img {
    width: 100%;
    height: 430px;
    border-radius: 21px;
}

section#view-dashboard {
    padding-top: 50px;
}

.Supporter h3{
    margin-bottom: 0 !important;
}
.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #2D1B0A;
}

.feature-card p {
    color: #5D4037;
    line-height: 1.6;
}
.logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.logo i { color: var(--primary); filter: drop-shadow(0 0 8px var(--primary-glow)); }

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 16px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 6px;
    opacity: 0.6;
}

.nav-btn:hover { color: var(--text-main); background: rgba(255,255,255,0.05); opacity: 1; }
.nav-btn.active { 
    color: var(--primary); 
    opacity: 1; 
    border-bottom: 2px solid var(--primary); 
    border-radius: 6px 6px 0 0;
}
/* --- Hamburger Button Styling --- */
#hamburger-btn {
    display: none; /* Hidden on desktop */
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

.glass-card {
    max-width: 1270px;  text-align: center; position: relative; z-index: 10;
}
.info-grid {
    display: flex;
    gap: 15px;
}

@media screen and (max-width: 1090px)
{
    
    .vision-image-wrap img {
    width: 100% !important;
    height: 100% !important;
   
}
    
 .info-grid {
    flex-direction: column;
    max-width: 661px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
}
/* --- Responsive Design (Tablets & Mobile) --- */
@media screen and (max-width: 992px) {
    /*.info-grid {*/
    /*    grid-template-columns: repeat(2, 1fr);*/
    /*}*/
    .info-content-split {
        flex-direction: column;
        gap: 0;
    }
    .info-image {
        width: 100%;
        height: 300px;
        min-height: 300px;
        margin-left: 0;
    }
    .info-text {
        padding: 30px;
    }
    

}

@media screen and (max-width: 768px) {
     .hero-banner {
        padding: 20px;
    }
    
    .hero-banner-sub {

    margin-bottom: 0;
   
}
.img-circle img {
  
    height: 100%;
    
}

.info-text h2 {
    font-size: 2rem;
    text-align: center;
}

.vision-container {
    padding: 20px 15px;
 
}

.vision-row {
   
    margin-bottom: 43px;
}
.glass-card {
    padding: 15px;

}

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        
        gap: 20px;
    }

   
      

    .feature-card {
        padding: 30px 20px;
    }

    .feature-image-wrap {
        height: 150px;
    }

  

    .vision-row {
        flex-direction: column !important;
        margin-bottom: 50px;
        gap: 30px;
    }

    .vision-image-wrap img {
  
        box-shadow: 10px 10px 0px var(--primary-light, #FFF5E6) !important;
    }

    .vision-row:nth-child(even) img {
        box-shadow: -10px 10px 0px #E8F5E9 !important;
    }

    .vision-text-box {
        padding: 25px;
        border-left-width: 5px !important;
    }

    .glass-card {
        margin-top: 0 !important;
        padding: 20px;
        margin-bottom: 20px;
    }

    header {
        position: sticky;
        padding: 10px 20px;
    }

    /* Show hamburger on mobile */
    #hamburger-btn {
        display: block;
        color: var(--primary);
    }

    /* Transform Nav into a Dropdown */
    #nav-menu {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Push it right below the header */
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 2px solid var(--primary);
        padding: 10px 0;
        z-index: 1000;
        box-shadow: 0 10px 20px rgba(255, 153, 51, 0.15);
    }

    /* Class to show menu when active */
    #nav-menu.nav-active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    /* Mobile Nav Buttons */
    #nav-menu .nav-btn {
        width: 100%;
        text-align: left;
        padding: 15px 25px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        justify-content: flex-start;
    }

    #nav-menu .nav-btn:last-child {
        border-bottom: none;
    }

    /* --- General Mobile Adjustments --- */
    
    /* Adjust Dashboard Grid to single column */
    .dashboard-grid {
        grid-template-columns: 1fr !important; /* Force stack */
        gap: 20px;
    }

    /* Tab Container Scrollable on small screens */
    .tab-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .tab-btn {
        flex-shrink: 0; /* Prevent shrinking */
        white-space: nowrap;
    }

    /* Feed Card Responsive */
    .feed-card { flex-direction: column; }
    .feed-img-box { width: 100%; height: 200px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .feed-actions { flex-wrap: wrap; }
    .btn-sm { flex: 1; justify-content: center; }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    .hero-stats .stat-item strong {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 1.8rem !important;
    }
}

/* Simple Slide Down Animation */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- LAYOUT & CARDS --- */
main {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    flex: 1;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(255, 153, 51, 0.1);
    margin-bottom: 30px;
}

h1, h2, h3, h4 { font-family: var(--font-head); margin-top: 0; letter-spacing: 0.5px; }

/* --- FORMS & INPUTS --- */
.input-field {
    width: 100%;
    padding: 14px;
    background: #FFFFFF;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1rem;
    transition: 0.3s;
    margin-bottom: 15px;
}

.input-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 153, 51, 0.1);
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #8B4513);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--primary-glow); }
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; }

/* --- DASHBOARD GRID --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
}

/* --- VISION GRID STYLING --- */
.vision-container {
    padding: 40px 15px;
    max-width: 1350px;
    margin: 0 auto;
}

.vision-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 100px;
}

/* Reverse every second row for the zig-zag effect */
.vision-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* Image Styling */
.vision-image-wrap {
    flex: 1;
    position: relative;
}

.vision-image-wrap img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--primary-light, #FFF5E6);
    transition: transform 0.4s ease;
}

.vision-row:nth-child(even) img {
    box-shadow: -20px 20px 0px #E8F5E9; /* Light Emerald tint */
}

.vision-row:hover img {
    transform: scale(1.02);
}

/* Text Box Styling */
.vision-text-box {
    flex: 1;
    padding: 40px;
    background: #FFFFFF;
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Saffron Accent for odd rows, Emerald for even */
.vision-row:nth-child(odd) .vision-text-box {
    border-left: 8px solid var(--primary);
}
.vision-row:nth-child(even) .vision-text-box {
    border-left: 8px solid var(--secondary);
}

.vision-text-box h3 {
    color: var(--text-main);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Rajdhani', sans-serif;
}

.vision-text-box p {
    line-height: 1.7;
    color: #555;
    font-size: 1.05rem;
}

/* --- MAP --- */
#map-area {
    height: 400px;
    width: 100%;
    border-radius: 12px;
    border: 2px solid var(--glass-border);
    margin-bottom: 20px;
    overflow: hidden;
    z-index: 1;
}

/* --- TABS --- */
.tab-container {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
}

.tab-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid transparent;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.tab-btn.active {
    background: rgba(255,255,255,0.1);
    color: #000;
    border-color: var(--glass-border);
}

.tab-btn i { margin-right: 8px; }

/* --- PROFESSIONAL FEED CARDS --- */
.feed-card {
    display: flex;
    background: #FFFFFF;
    border: 1px solid var(--glass-border);
    border-left-width: 5px; 
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 153, 51, 0.15);
    border-color: var(--primary);
}

.feed-img-box {
    width: 200px;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    background: var(--card-bg);
}

.feed-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    cursor: pointer;
}

.feed-card:hover .feed-img-box img { transform: scale(1.1); }

.feed-info {
    flex: 1;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.feed-header h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
    padding-right: 15px;
}

.badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.feed-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feed-meta i { color: var(--primary); margin-right: 5px; }

.action-box {
    background: rgba(46, 204, 113, 0.08);
    border-left: 3px solid var(--secondary);
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #5D4037;
}

.action-box strong {
    color: var(--secondary);
    display: block;
    margin-bottom: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feed-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
}

.btn-locate {
    background: rgba(255, 153, 51, 0.08);
    color: var(--primary);
    border-color: rgba(255, 153, 51, 0.1);
}
.btn-locate:hover { background: var(--primary); color: white; }

.btn-resolve {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}
.btn-resolve:hover { transform: translateY(-2px); }

.btn-del {
    background: rgba(231, 76, 60, 0.1);
    color: #ff6b6b;
    border-color: rgba(231, 76, 60, 0.3);
}
.btn-del:hover { background: #E74C3C; color: white; }

/* --- TOAST --- */
#toast-container { position: fixed; bottom: 30px; right: 30px; z-index: 2000; }
.toast {
    background: #FFFFFF; color: var(--text-main); padding: 16px 24px;
    border-radius: 8px; margin-top: 10px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: slideIn 0.4s ease;
    display: flex; align-items: center; gap: 10px;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
