/* ========================================= RESET ========================================= */ * { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; } body { direction: rtl; font-family: Arial, Tahoma, sans-serif; background: #f7f8fa; color: #263238; line-height: 1.7; min-height: 100vh; } a { color: inherit; text-decoration: none; } img { max-width: 100%; height: auto; display: block; } /* ========================================= CONTAINER ========================================= */ .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* ========================================= HEADER ========================================= */ .site-header { width: 100%; background: #ffffff; border-bottom: 1px solid #e9ecef; } .site-header .container { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 25px; } /* ========================================= LOGO ========================================= */ .logo { display: inline-flex; align-items: center; gap: 8px; color: #2563eb; font-size: 22px; font-weight: 700; white-space: nowrap; } .logo:hover { color: #1d4ed8; } /* ========================================= NAVIGATION ========================================= */ .site-header nav { display: flex; align-items: center; gap: 3px; } .site-header nav a { display: inline-block; padding: 8px 12px; border-radius: 7px; color: #4b5563; font-size: 15px; font-weight: 500; transition: background-color 0.2s ease, color 0.2s ease; } .site-header nav a:hover { background: #f3f6fa; color: #2563eb; } /* ========================================= MAIN ========================================= */ main { width: 100%; max-width: 1200px; margin: 0 auto; padding: 40px 20px; } main h1 { margin-bottom: 12px; color: #1f2937; font-size: 32px; font-weight: 700; line-height: 1.4; } main h2 { margin-bottom: 10px; color: #1f2937; font-size: 25px; font-weight: 700; line-height: 1.4; } main h3 { margin-bottom: 8px; color: #374151; font-size: 20px; font-weight: 600; } main p { color: #6b7280; font-size: 16px; } /* ========================================= GENERAL CARD ========================================= */ .card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 22px; } /* ========================================= FOOTER ========================================= */ .site-footer { margin-top: 40px; background: #ffffff; border-top: 1px solid #e9ecef; } .site-footer .container { padding-top: 22px; padding-bottom: 22px; text-align: center; } .site-footer p { color: #8a929c; font-size: 14px; } /* ========================================= HOME PAGE ========================================= */ .home-hero { margin-bottom: 35px; padding: 30px 20px; text-align: center; } .home-hero-icon { display: block; margin-bottom: 8px; font-size: 42px; } .home-hero h1 { margin-bottom: 6px; color: #1f2937; font-size: 30px; font-weight: 700; } .home-hero p { max-width: 600px; margin: 0 auto; color: #6b7280; font-size: 16px; } /* ========================================= GRADES ========================================= */ .grades-section { margin-bottom: 20px; } .grades-section .section-heading { margin-bottom: 16px; } .grades-section .section-heading h2 { margin-bottom: 3px; color: #1f2937; font-size: 23px; font-weight: 700; } .grades-section .section-heading p { color: #7a828c; font-size: 14px; } /* ========================================= GRADES GRID ========================================= */ .grades-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } /* ========================================= GRADE CARD ========================================= */ .grade-card { display: flex; align-items: center; min-height: 82px; padding: 15px 18px; background: #ffffff; border: 1px solid #e3e7eb; border-radius: 9px; transition: border-color 0.2s ease, background-color 0.2s ease; } .grade-card:hover { border-color: #cfd6de; background: #fcfcfd; } /* ========================================= GRADE ICON ========================================= */ .grade-card-icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-left: 14px; background: #f5f6f8; border-radius: 8px; font-size: 22px; } /* ========================================= GRADE CONTENT ========================================= */ .grade-card-content { min-width: 0; } .grade-card-content h3 { margin: 0 0 1px; color: #2f3742; font-size: 17px; font-weight: 600; } .grade-card-content p { margin: 0; color: #8a929c; font-size: 13px; } /* ========================================= GRADE ARROW ========================================= */ .grade-card-arrow { margin-right: auto; color: #9aa1a9; font-size: 17px; transition: color 0.2s ease; } .grade-card:hover .grade-card-arrow { color: #555e68; } /* ========================================= GRADE PAGE ========================================= */ .grade-header { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; } .grade-icon { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: #f5f6f8; border-radius: 10px; font-size: 30px; } .grade-header h1 { margin: 0 0 3px; color: #1f2937; font-size: 28px; font-weight: 700; } .grade-header p { margin: 0; color: #7a828c; font-size: 15px; } /* ========================================= SUBJECTS ========================================= */ .subjects-section { margin-bottom: 30px; } .section-heading { margin-bottom: 16px; } .section-heading h2 { margin: 0 0 3px; color: #1f2937; font-size: 23px; font-weight: 700; } .section-heading p { margin: 0; color: #7a828c; font-size: 14px; } /* ========================================= SUBJECT GRID ========================================= */ .subjects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } /* ========================================= SUBJECT CARD ========================================= */ .subject-card { display: flex; align-items: center; min-height: 105px; padding: 18px; background: #ffffff; border: 1px solid #e3e7eb; border-radius: 10px; transition: border-color 0.2s ease, background-color 0.2s ease; } .subject-card:hover { border-color: #cfd6de; background: #fcfcfd; } /* ========================================= SUBJECT ICON ========================================= */ .subject-icon { width: 55px; height: 55px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-left: 14px; background: #f5f6f8; border-radius: 9px; font-size: 27px; } /* ========================================= SUBJECT CONTENT ========================================= */ .subject-content { min-width: 0; } .subject-content h3 { margin: 0 0 2px; color: #2f3742; font-size: 18px; font-weight: 600; } .subject-content p { margin: 0; color: #8a929c; font-size: 13px; } /* ========================================= SUBJECT ARROW ========================================= */ .subject-arrow { margin-right: auto; color: #9aa1a9; font-size: 18px; transition: color 0.2s ease; } .subject-card:hover .subject-arrow { color: #555e68; } /* ========================================= RESPONSIVE - TABLET ========================================= */ @media (max-width: 768px) { .container { padding-left: 15px; padding-right: 15px; } .site-header .container { min-height: auto; padding-top: 12px; padding-bottom: 12px; flex-direction: column; gap: 8px; } .logo { font-size: 21px; } .site-header nav { width: 100%; justify-content: center; flex-wrap: wrap; } .site-header nav a { padding: 7px 11px; font-size: 14px; } main { padding: 30px 15px; } main h1 { font-size: 27px; } main h2 { font-size: 23px; } main h3 { font-size: 18px; } .grade-header { margin-bottom: 25px; } .grade-header h1 { font-size: 25px; } } /* ========================================= RESPONSIVE - MOBILE ========================================= */ @media (max-width: 550px) { .container { padding-left: 12px; padding-right: 12px; } .logo { font-size: 20px; } .site-header nav { gap: 2px; } .site-header nav a { padding: 6px 9px; font-size: 13px; border-radius: 6px; } main { padding: 25px 12px; } .home-hero { margin-bottom: 25px; padding: 15px 5px; } .home-hero-icon { font-size: 36px; } .home-hero h1 { font-size: 24px; } .home-hero p { font-size: 14px; } .grades-section .section-heading h2 { font-size: 21px; } .grades-section .section-heading p { font-size: 13px; } .grades-grid { grid-template-columns: 1fr; gap: 8px; } .grade-card { min-height: 72px; padding: 11px 13px; border-radius: 8px; } .grade-card-icon { width: 42px; height: 42px; margin-left: 11px; border-radius: 7px; font-size: 20px; } .grade-card-content h3 { font-size: 16px; } .grade-card-content p { font-size: 12px; } .grade-card-arrow { font-size: 16px; } .grade-header { gap: 12px; margin-bottom: 22px; } .grade-icon { width: 52px; height: 52px; border-radius: 8px; font-size: 26px; } .grade-header h1 { font-size: 22px; } .grade-header p { font-size: 13px; } .subjects-grid { grid-template-columns: 1fr; gap: 8px; } .subject-card { min-height: 82px; padding: 12px 14px; border-radius: 8px; } .subject-icon { width: 45px; height: 45px; margin-left: 11px; border-radius: 7px; font-size: 23px; } .subject-content h3 { font-size: 16px; } .subject-content p { font-size: 12px; } .subject-arrow { font-size: 16px; } } /* ========================================= VERY SMALL SCREENS ========================================= */ @media (max-width: 360px) { .logo { font-size: 18px; } .site-header nav a { padding: 5px 7px; font-size: 12px; } .home-hero h1 { font-size: 22px; } .home-hero p { font-size: 13px; } .grade-card { min-height: 68px; padding: 10px 11px; } .grade-card-icon { width: 40px; height: 40px; margin-left: 9px; font-size: 19px; } .grade-card-content h3 { font-size: 15px; } .grade-card-content p { font-size: 11px; } .grade-header h1 { font-size: 20px; } }