|
| 1 | +/* === Reset and Base === */ |
| 2 | +* { |
| 3 | + margin: 0; |
| 4 | + padding: 0; |
| 5 | + box-sizing: border-box; |
| 6 | +} |
| 7 | + |
| 8 | +body { |
| 9 | + font-family: 'Poppins', sans-serif; |
| 10 | + background-color: #fff; /* You can change this */ |
| 11 | + color: #222; / |
| 12 | + p { |
| 13 | + line-height: 24px; |
| 14 | +} |
| 15 | +} |
| 16 | + |
| 17 | +/* === Header === */ |
| 18 | +.header { |
| 19 | + top: 0; |
| 20 | + position: sticky; |
| 21 | + display: flex; |
| 22 | + justify-content: space-between; |
| 23 | + align-items: center; |
| 24 | + padding: 20px; |
| 25 | + color: #3c3c3c; |
| 26 | +} |
| 27 | + |
| 28 | +.header-logo img { |
| 29 | + max-width: 150px; |
| 30 | +} |
| 31 | + |
| 32 | +.header-top-menu { |
| 33 | + list-style: none; |
| 34 | + display: flex; |
| 35 | +} |
| 36 | + |
| 37 | +.header-top-menu li { |
| 38 | + margin: 0 15px; |
| 39 | +} |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | +.header-top-menu a { |
| 44 | + color: #3c3c3c; |
| 45 | + text-decoration: none; |
| 46 | + font-weight: 600; |
| 47 | +} |
| 48 | + |
| 49 | +.header-top-menu li::after { |
| 50 | + content: ""; |
| 51 | + position: relative; |
| 52 | + display: block; |
| 53 | + width: 100%; |
| 54 | + height: 2px; |
| 55 | + background-color: #f47d26; |
| 56 | + transform: scaleX(0); |
| 57 | + transition: transform 0.3s ease; |
| 58 | +} |
| 59 | + |
| 60 | +.header-top-menu li:hover::after { |
| 61 | + transform: scaleX(1); |
| 62 | +} |
| 63 | + |
| 64 | +.header-cta .sign-up-button { |
| 65 | + background-color: #f47d26; /* Secondary color */ |
| 66 | + color: #fff; |
| 67 | + padding: 10px 20px; |
| 68 | + text-decoration: none; |
| 69 | + border-radius: 5px; |
| 70 | + font-weight: bold; |
| 71 | +} |
| 72 | + |
| 73 | + |
| 74 | +.hero-section { |
| 75 | + background: url('hero.jpg') center/cover no-repeat; |
| 76 | + color: #fff; |
| 77 | + padding: 4rem 2rem; |
| 78 | + position: relative; |
| 79 | + min-height: 60vh; |
| 80 | + padding-left: 0; |
| 81 | + |
| 82 | +} |
| 83 | + |
| 84 | +.hero-overlay { |
| 85 | + position: absolute; |
| 86 | + top: 0; |
| 87 | + left: 0; |
| 88 | + right: 0; |
| 89 | + bottom: 0; |
| 90 | + background-color: rgba(0, 0, 0, 0.5); |
| 91 | +} |
| 92 | + |
| 93 | +.hero-content { |
| 94 | + position: relative; |
| 95 | + z-index: 2; |
| 96 | + max-width: 800px; |
| 97 | + text-align: center; |
| 98 | +} |
| 99 | + |
| 100 | +.hero-title { |
| 101 | + font-size: 54px; |
| 102 | + margin: 0px 0px 7px ; |
| 103 | + font-family: 'Montserrat'; |
| 104 | + font-weight: 800; |
| 105 | + line-height: 1.4; |
| 106 | + margin-bottom: 20px; |
| 107 | + color: #fff; |
| 108 | +} |
| 109 | + |
| 110 | +em.highlight{ |
| 111 | + color: #fff; |
| 112 | + text-decoration: underline; |
| 113 | + text-underline-offset: 4px; |
| 114 | + text-decoration-color: #f47d26; |
| 115 | + text-decoration-thickness: 10px; |
| 116 | + text-decoration-skip-ink: none; |
| 117 | +} |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | +.hero-text { |
| 122 | + font-size: 20px; |
| 123 | + font-family: 'poppins'; |
| 124 | + background-color: #243e90; |
| 125 | + padding-top: 3%; |
| 126 | + padding-bottom: 3%; |
| 127 | + padding-right: 8%; |
| 128 | + padding-left: 8%; |
| 129 | +} |
| 130 | + |
| 131 | +/* Programs section styles */ |
| 132 | + |
| 133 | +.programs { |
| 134 | + display: grid; |
| 135 | + grid-template-columns: 1fr 1fr; |
| 136 | + /* Two columns */ |
| 137 | + gap: 20px; |
| 138 | + max-width: fit-content; |
| 139 | +} |
| 140 | + |
| 141 | +.programs-section { |
| 142 | + padding: 160px; |
| 143 | + margin-left: 60px; |
| 144 | + font-size: 25px; |
| 145 | + color: #444; |
| 146 | +} |
| 147 | + |
| 148 | +.programs-section h2 { |
| 149 | + font-weight: 900; |
| 150 | + margin-bottom: 70px; |
| 151 | + color: #444444; |
| 152 | + font-size: 27.2; |
| 153 | + font-family: 'Montserrat'; |
| 154 | +} |
| 155 | + |
| 156 | +.programs-section h2 .highlight { |
| 157 | + font-style: normal; |
| 158 | + color: #444444; |
| 159 | + font-size: 27.2; |
| 160 | + font-family: 'Montserrat'; |
| 161 | + padding: 0px 3px; |
| 162 | + text-underline-offset: 1px; |
| 163 | +} |
| 164 | + |
| 165 | +.programs-section li { |
| 166 | + list-style: none; |
| 167 | +} |
| 168 | + |
| 169 | +.programs li h3 { |
| 170 | + margin-bottom: 40px; |
| 171 | + font-size: 22px; |
| 172 | +} |
| 173 | + |
| 174 | +.programs li p { |
| 175 | + font-weight: lighter; |
| 176 | + font-family: 'Poppins'; |
| 177 | + color: #676767; |
| 178 | + font-size: small; |
| 179 | + font-weight: 400; |
| 180 | +} |
| 181 | + .footer { |
| 182 | + text-align: center; |
| 183 | + color: #3c3c3c; |
| 184 | + margin: 3px 0px 0px; |
| 185 | + font: 14px 'Poppins'; |
| 186 | + } |
| 187 | + /* === Media Queries for Responsiveness === */ |
| 188 | + |
| 189 | +/* Tablets */ |
| 190 | +@media (max-width: 768px) { |
| 191 | + .header { |
| 192 | + flex-direction: column; |
| 193 | + align-items: flex-start; |
| 194 | + padding: 15px; |
| 195 | + } |
| 196 | + |
| 197 | + .header-top-menu { |
| 198 | + flex-direction: column; |
| 199 | + align-items: flex-start; |
| 200 | + width: 100%; |
| 201 | + gap: 10px; |
| 202 | + } |
| 203 | + |
| 204 | + .hero-title { |
| 205 | + font-size: 36px; |
| 206 | + } |
| 207 | + |
| 208 | + .hero-text { |
| 209 | + font-size: 18px; |
| 210 | + padding: 20px; |
| 211 | + } |
| 212 | + |
| 213 | + .programs { |
| 214 | + grid-template-columns: 1fr; /* Stack programs vertically */ |
| 215 | + padding: 0 20px; |
| 216 | + } |
| 217 | + |
| 218 | + .programs-section { |
| 219 | + padding: 60px 20px; |
| 220 | + margin-left: 0; |
| 221 | + font-size: 20px; |
| 222 | + } |
| 223 | +} |
| 224 | + |
| 225 | +/* Phones */ |
| 226 | +@media (max-width: 480px) { |
| 227 | + .header-logo img { |
| 228 | + max-width: 120px; |
| 229 | + } |
| 230 | + |
| 231 | + .hero-title { |
| 232 | + font-size: 28px; |
| 233 | + } |
| 234 | + |
| 235 | + .hero-text { |
| 236 | + font-size: 16px; |
| 237 | + padding: 15px; |
| 238 | + } |
| 239 | + |
| 240 | + .programs-section h2 { |
| 241 | + font-size: 22px; |
| 242 | + } |
| 243 | + |
| 244 | + .programs li h3 { |
| 245 | + font-size: 18px; |
| 246 | + margin-bottom: 20px; |
| 247 | + } |
| 248 | + |
| 249 | + .programs li p { |
| 250 | + font-size: 14px; |
| 251 | + } |
| 252 | + |
| 253 | + .header-top-menu { |
| 254 | + gap: 5px; |
| 255 | + } |
| 256 | + |
| 257 | +} |
0 commit comments