/* ===================== GLOBAL RESET ===================== */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Arial, Helvetica, sans-serif; background: linear-gradient(135deg, #eef6ff, #f8fbff); color: #222; line-height: 1.6; } .top-header img, .topbar img, .topbar { height: 60px; /* give it a visible height */ background-color: #004080; /* dark blue background */ color: #fff; /* text color */ display: flex; align-items: center; /* vertical centering */ justify-content: space-between;/* space between left/right content */ padding: 0 20px; /* horizontal spacing */ } .logo { display: none !important; } /* ===================== TOP HEADER ===================== */ /* ===================== TOP HEADER ===================== */ .top-header { display: flex; align-items: center; /* logo + text vertical center */ gap: 12px; padding: 10px 20px; background-color: #0b3c6f; box-shadow: 0 2px 4px rgba(0,0,0,0.15); } /* ✅ LOGO FINAL SIZE CONTROL */ .top-header img.logo { height: 32px; /* 🔥 यही main control है */ width: auto; max-width: 32px; object-fit: contain; } /* Academy name */ .site-title { font-size: 18px; font-weight: 600; color: #ffffff; } } /* ===================== CONTAINER & CARDS ===================== */ .container { max-width: 900px; margin: 30px auto; padding: 0 15px; } .card { background: #ffffff; padding: 22px; margin-bottom: 22px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); } /* ===================== BUTTONS ===================== */ .btn { display: inline-block; background: linear-gradient(135deg, #2b59ff, #1f45cc); color: #fff; padding: 12px 22px; border-radius: 10px; text-decoration: none; font-weight: 600; margin-top: 10px; } .btn:hover { opacity: 0.9; } /* ===================== CLASS LIST ===================== */ .class-list a { display: block; background: linear-gradient(135deg, #2b59ff, #1f45cc); color: #fff; text-align: center; padding: 14px; border-radius: 12px; margin-bottom: 12px; font-weight: 600; text-decoration: none; } .class-list a:hover { opacity: 0.9; } /* ===================== MATERIAL LINKS ===================== */ .material-card { background: #ffffff; padding: 20px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); } .material-links a { display: inline-block; margin: 6px 10px 6px 0; padding: 8px 14px; background: #eef3ff; border-radius: 8px; text-decoration: none; color: #1f45cc; font-weight: 500; } .material-links a:hover { background: #dbe5ff; } /* ===================== BACK LINK ===================== */ .back { text-decoration: none; font-weight: 600; color: #5a2ca0; } /* ===================== FOOTER ===================== */ footer { text-align: center; padding: 25px; font-size: 14px; color: #555; } /* FORCE REMOVE LOGO - FINAL */ .top-header img, .logo { display: none !important; height: 0 !important; width: 0 !important; } /* ================================ STUDY MATERIAL PAGE – FINAL ================================ */ /* Material container */ .material-card { background: #ffffff; padding: 16px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,0.08); margin: 20px 0; } /* PDF links grid */ .material-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; } /* Each PDF button */ .material-links a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(135deg, #2563eb, #1e40af); color: #ffffff; text-decoration: none; border-radius: 10px; font-size: 15px; font-weight: 500; transition: all 0.25s ease; } /* Hover effect */ .material-links a:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37,99,235,0.35); } /* PDF icon look (emoji safe) */ .material-links a::before { content: "📄"; font-size: 18px; } /* Back button */ a.back { display: inline-block; margin-top: 14px; color: #2563eb; font-weight: 600; text-decoration: none; } a.back:hover { text-decoration: underline; } /* Mobile polish */ @media (max-width: 480px) { .material-links a { font-size: 14px; padding: 10px 12px; } } /* ===== FORCE FIX FOR PDF LIST ===== */ .material-links { display: flex !important; flex-wrap: wrap !important; gap: 12px !important; } .material-links a { flex: 1 1 240px !important; background: #2563eb !important; color: #fff !important; padding: 12px 14px !important; border-radius: 10px !important; text-decoration: none !important; font-size: 15px !important; display: flex !important; align-items: center !important; gap: 8px !important; } .material-links a::before { content: "📄"; } /* Academy name under What You Get */ .academy-name { text-align: center; font-size: 20px; font-weight: 700; color: #0b3c6f; margin: 25px 0 10px; letter-spacing: 0.5px; } .academy-center { text-align: center; font-size: 20px; font-weight: 700; margin: 20px 0; color: #0b3c6f; } /* --- Mobile Responsive & Grid Update --- */ /* 1. कंटेनर को मोबाइल के अनुसार ढालने के लिए */ .container, div[style*="max-width:800px"] { width: 95% !important; margin: 10px auto !important; padding: 10px !important; } /* 2. ग्रिड लेआउट: डेस्कटॉप पर 2 कॉलम और मोबाइल पर 1 कॉलम */ div[style*="display:grid"] { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important; gap: 20px !important; padding: 15px 0 !important; } /* 3. बटन्स (Links) को सुंदर और बड़ा बनाने के लिए */ a[href*="view.php"] { background: #ffffff !important; color: #2b63e9 !important; border: 2px solid #2b63e9 !important; border-radius: 12px !important; padding: 22px 15px !important; text-decoration: none !important; font-weight: 700 !important; font-size: 17px !important; display: flex !important; align-items: center; justify-content: center; text-align: center; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important; box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important; } /* 4. होवर इफेक्ट (Mouse Hover) */ a[href*="view.php"]:hover { background: #2b63e9 !important; color: #ffffff !important; transform: translateY(-4px); box-shadow: 0 10px 20px rgba(43, 99, 233, 0.2) !important; } /* 5. मोबाइल के लिए खास सेटिंग्स (Media Query) */ @media screen and (max-width: 600px) { div[style*="display:grid"] { grid-template-columns: 1fr !important; /* मोबाइल पर एक के नीचे एक */ gap: 15px !important; } header { font-size: 18px !important; padding: 15px !important; } a[href*="view.php"] { padding: 18px 10px !important; font-size: 16px !important; } } @media screen and (max-width: 600px) { div[style*="display:grid"] { grid-template-columns: 1fr !important; gap: 10px !important; } a[href*="view.php"], a[href$=".php"] { font-size: 15px !important; padding: 15px !important; } }