:root {
    --primary-red: #d32f2f;
    --light-bg: #f8f9fa;
    --dark-blue: #2c3e50;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.container {
    /* Pehle ye 1100px tha, ab ise 95% ya 1400px kar dete hain */
    max-width: 95%; 
    margin: 0 auto;
    padding: 0 15px; /* Side ki extra padding kam kar di gayi hai */
}

/* Patti 1: Top Bar */
.top-bar {
    background-color: var(--primary-red);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

/* Patti 2: Logo */
.logo-section {
    padding: 20px 0;
    background-color: white;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-text h1 {
    color: var(--dark-blue);
    font-size: 28px;
}

/* Patti 3: Menu */
.navbar {
    background-color: #e3f2fd; /* Light Blue Background (Azure tint) */
    border-top: 1px solid #bbdefb;
    border-bottom: 1px solid #bbdefb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center; /* Menu items ko center mein rakhne ke liye */
}

.nav-links li {
    position: relative;
}
.nav-links a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #1a237e; /* Dark Blue Text jo light background par khulega */
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}
.nav-links a:hover {
    color: #ffffff;
    background-color: #2196f3; /* Hover karne par thoda dark blue */
}

/* Submenu */
.submenu {
    display: none;
    position: absolute;
    background: #ffffff;
    
    /* 1. Width ko auto rakhein aur ek badi min-width dein */
    min-width: 250px; 
    width: max-content; /* Jitna bada text, utni badi width */
    
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    z-index: 100;
    top: 100%;
    border-radius: 0 0 5px 5px;
    border: 1px solid #bbdefb;
    overflow: hidden;
}

.dropdown:hover .submenu {
    display: block;
}

.submenu li a {
    padding: 12px 25px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    background-color: #ffffff;
    
    /* 2. Text ko ek hi line mein rakhne ke liye */
    white-space: nowrap; 
    
    font-size: 15px;
    text-align: left; /* Text ko left align rakhein professional look ke liye */
}
.submenu li a:hover {
    background-color: #e3f2fd;
    color: #2196f3;
    padding-left: 30px; /* Hover par thoda khisakne wala effect (Animation) */
    transition: all 0.3s ease;
}

/* Patti 4: Heading */
.page-heading {
    margin: 40px 0; /* Upar aur neeche thoda extra gap */
    
    /* Gradient Background: Sky Blue to Royal Blue */
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    
    /* Height badhane ke liye padding ka upyog (Zyada flexible rehta hai) */
    padding: 80px 0; 
    
    text-align: center;
    color: #ffffff; /* White text gradient par bahut achha dikhta hai */
    box-shadow: inset 0 0 50px rgba(0,0,0,0.1), 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.page-heading::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.page-heading h2 {
    font-size: 42px; /* Font size thoda bada */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2); /* Text ko thoda ubharne ke liye */
    position: relative;
    z-index: 2;
}

.page-heading h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #fdbb2d; /* Saffron line for contrast */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-heading p {
    font-size: 18px;
    opacity: 0.9;
    font-style: italic;
    position: relative;
    z-index: 2;
}

/* Patti 5: Columns */
.grid-container {
    display: grid;
    grid-template-columns: 75% 25%; /* Left column ko thoda aur bada kiya gaya hai */
    gap: 20px; /* Beech ka gap thoda kam kiya gaya hai */
    margin-bottom: 40px;
    align-items: start;
}

.content-area {
    background: #ffffff;
    padding: 30px; /* Andar ka space badhaya gaya hai taaki text khula-khula lage */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    line-height: 2;
    text-align: justify; /* Text dono taraf se barabar dikhega */
}
.content-area h3{
	font-size:30px;
	color:#336;
}
/* News Section with Scrolling */
.news-area {
    border: 1px solid #bbdefb;
    border-radius: 8px;
    height: 400px; /* Height thodi badhai gayi hai */
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.news-header {
    background: var(--dark-blue);
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

.news-ticker {
    padding: 10px;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.news-scroll {
    position: absolute;
    width: 100%;
    animation: scrollUp 15s linear infinite;
}

.news-scroll p {
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
    font-size: 14px;
}

.news-ticker:hover .news-scroll {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% { top: 100%; }
    100% { top: -100%; }
}

/* Footer */
.footer {
    background-color:#2c3e50; /* Dark Navy Blue - Jo Top bar ke Red ke saath achha dikhta hai */
    color: #ffffff; /* Shuddh Safed Text */
    padding: 30px 0;
    text-align: center;
    border-top: 4px solid #d32f2f; /* Red border top - Registration patti se match karne ke liye */
    line-height: 1.8;
}

.footer p {
    margin-bottom: 10px;
    font-size: 15px;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer i {
    color: #fdbb2d; /* Saffron/Golden color icons ke liye taaki wo chamkein */
    font-size: 18px;
}

/* Footer Bottom Copy (Optional) */
.footer::after {
    content: "© 2026 Darshan Parishad. All Rights Reserved.";
    display: block;
    margin-top: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

/* Hover effect on contact info */
.footer p:hover {
    color: #fdbb2d;
    transition: 0.3s;
    cursor: default;
}

/* Responsive Menu */
.menu-toggle {
    display: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
}
.golden-line {
    width: 500px;
    height: 5px;
    background: #FFD700; /* Solid Gold Color */
    margin: 10px 0px; /* Center karne ke liye */
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2); /* Thoda ubharne ke liye */
}

@media screen and (max-width: 768px) {
	
	.golden-line {
    width: 310px;
    height: 5px;
    background: #FFD700; /* Solid Gold Color */
    margin: 10px 0px; /* Center karne ke liye */
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2); /* Thoda ubharne ke liye */
}
    .grid-container {
        grid-template-columns: 1fr;
    }

 .menu-toggle {
        display: block !important;
        font-size: 30px;
        cursor: pointer;
        padding: 15px;
    }
.navbar {
        position: relative; 
        z-index: 1000;
    }
.nav-links {
        display: none; /* Default Hide */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%; /* Navbar ke thik niche se shuru hoga */
        left: 0;
        background-color: #e3f2fd; /* Light Blue jo aapne manga tha */
        padding: 15px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 9999 !important; /* Taaki Vision/Mission ke upar dikhe */
    }
	.nav-links a {
		 padding: 9px;
		 }
   .nav-links.active {
        display: flex !important; 
    }
	.nav-links li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
	.dropdown:hover .submenu {
        display: block;
        position: static; /* Relative/Static taaki menu niche expand ho */
        width: 100%;
        box-shadow: none;
    }

    .submenu {
        position: relative;
        width: 100%;
        display: none; /* Ise bhi click par kholne ke liye JS chahiye hoga */
    }
	.page-heading {
        padding: 50px 20px;
    }
    .page-heading h2 {
        font-size: 28px;
    }
	.content-area h3{
	font-size:20px;
	color:#336;
}

}
@media screen and (max-width: 1024px) {
    .grid-container {
        grid-template-columns: 1fr; /* Tablet par single column ho jayega */
        max-width: 90%;
    }
}