@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary: #1e3a8a; /* Deep authoritative blue */
    --secondary: #fbbf24; /* Premium Gold */
    --text-dark: #1f2937;
    --text-light: #4b5563;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border: #e5e7eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { color: var(--text-dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }

/* Topbar */
.topbar { background: var(--primary); color: var(--white); font-size: 0.85rem; padding: 0.6rem 5%; display: flex; justify-content: space-between; align-items: center; }
.topbar-right { display: flex; gap: 1.5rem; }
.topbar i { color: var(--secondary); margin-right: 5px; }

/* Header & Navigation */
.header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; background: var(--white); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; }
.logo img { height: 55px; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-dark); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 2px; background: var(--secondary); }
.btn-apply { background: var(--secondary); color: var(--primary); padding: 0.6rem 1.5rem; border-radius: 5px; font-weight: 600; text-transform: uppercase; font-size: 0.85rem; }
.btn-apply:hover { background: #f59e0b; color: var(--white); }

/* Hero Section */
.hero { height: 85vh; background: linear-gradient(rgba(30,58,138,0.7), rgba(30,58,138,0.8)), url('https://demo.sdmesociety.in/sdmdml_new/wp-content/uploads/2026/06/P1299992-scaled-copy.png') center/cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); padding: 0 20px; }
.hero-content { max-width: 800px; animation: fadeIn 1s ease-in-out; }
.hero h1 { font-size: 4rem; margin-bottom: 1.5rem; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.hero h1 span { color: var(--secondary); }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; font-weight: 300; opacity: 0.9; }

/* Subpage Header */
.page-header { height: 40vh; background: linear-gradient(rgba(30,58,138,0.9), rgba(30,58,138,0.9)), url('https://demo.sdmesociety.in/sdmdml_new/wp-content/uploads/2026/04/P1300122-scaled-1-1024x683.jpg') center/cover; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); }
.page-header h1 { font-size: 3rem; font-weight: 700; text-transform: uppercase; }

/* Standard Section */
.section { padding: 6rem 5%; background: var(--white); }
.section.bg-light { background: var(--bg-light); }
.section-title { text-align: center; font-size: 2.2rem; color: var(--primary); margin-bottom: 3.5rem; font-weight: 700; }
.section-title::after { content: ''; display: block; width: 50px; height: 3px; background: var(--secondary); margin: 1rem auto 0; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }

/* Feature Cards */
.feature-card { background: var(--white); padding: 2.5rem 2rem; border-radius: 8px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); text-align: center; transition: all 0.3s ease; border: 1px solid var(--border); border-bottom: 4px solid transparent; }
.feature-card:hover { transform: translateY(-10px); border-bottom-color: var(--secondary); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.feature-card i { font-size: 3rem; color: var(--primary); margin-bottom: 1.5rem; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--primary); }

/* About President Section */
.president-img { border-radius: 8px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); border: 8px solid var(--white); }
.president-content h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 0.5rem; }
.president-content h4 { color: var(--secondary); font-size: 1.2rem; margin-bottom: 1.5rem; font-weight: 500; }
.president-content p { color: var(--text-light); font-size: 1.1rem; }

/* Forms */
.form-card { background: var(--white); padding: 3rem; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); max-width: 800px; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--primary); }
.form-control { width: 100%; padding: 1rem; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-light); transition: 0.3s; }
.form-control:focus { outline: none; border-color: var(--primary); background: var(--white); }
.btn-submit { background: var(--primary); color: var(--white); padding: 1rem 2.5rem; border: none; border-radius: 6px; cursor: pointer; font-size: 1.1rem; font-weight: 600; width: 100%; transition: 0.3s; }
.btn-submit:hover { background: var(--secondary); color: var(--primary); }

/* Footer */
.footer { background: #111827; color: #d1d5db; padding: 5rem 5% 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 3rem; }
.footer h4 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.2rem; position: relative; padding-bottom: 0.5rem; }
.footer h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--secondary); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.8rem; }
.footer ul li a:hover { color: var(--secondary); padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #374151; font-size: 0.9rem; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .grid-2, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero h1 { font-size: 3rem; }
}
