|
| 1 | +* { |
| 2 | + margin: 0; |
| 3 | + padding: 0; |
| 4 | + box-sizing: border-box; |
| 5 | +} |
| 6 | + |
| 7 | +body { |
| 8 | + font-family: 'Poppins', sans-serif; |
| 9 | + background-color: #f4f4f4; |
| 10 | + color: #333; |
| 11 | + line-height: 1.6; |
| 12 | +} |
| 13 | + |
| 14 | +/* Global link styles */ |
| 15 | +a { |
| 16 | + text-decoration: none; |
| 17 | + color: inherit; |
| 18 | +} |
| 19 | + |
| 20 | +img { |
| 21 | + max-width: 100%; |
| 22 | + height: auto; |
| 23 | +} |
| 24 | +/* Header Styles */ |
| 25 | +.header { |
| 26 | + display: flex; |
| 27 | + justify-content: space-between; |
| 28 | + align-items: center; |
| 29 | + position: fixed; |
| 30 | + top: 0; |
| 31 | + left: 0; |
| 32 | + right: 0; |
| 33 | + background-color: #fff; |
| 34 | + padding: 20px 30px; |
| 35 | + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
| 36 | + z-index: 10; |
| 37 | +} |
| 38 | + |
| 39 | +.header-logo img { |
| 40 | + width: 200px; /* Adjust logo size */ |
| 41 | +} |
| 42 | + |
| 43 | +.header-top-menu { |
| 44 | + list-style-type: none; |
| 45 | + display: flex; |
| 46 | +} |
| 47 | + |
| 48 | +.header-top-menu li { |
| 49 | + margin-right: 25px; |
| 50 | +} |
| 51 | + |
| 52 | +.header-top-menu a { |
| 53 | + font-size: 16px; |
| 54 | + color: #333; |
| 55 | + font-weight: 600; |
| 56 | + padding: 10px 15px; |
| 57 | + transition: color 0.3s; |
| 58 | +} |
| 59 | + |
| 60 | +.header-top-menu a:hover { |
| 61 | + color: #ff4c61; |
| 62 | +} |
| 63 | + |
| 64 | +.header-cta a { |
| 65 | + background-color: #ff4c61; |
| 66 | + color: white; |
| 67 | + font-weight: bold; |
| 68 | + padding: 12px 20px; |
| 69 | + border-radius: 4px; |
| 70 | + transition: background-color 0.3s; |
| 71 | +} |
| 72 | + |
| 73 | +.header-cta a:hover { |
| 74 | + background-color: #e03e4d; |
| 75 | +} |
| 76 | +/* Hero Section */ |
| 77 | +.hero-section { |
| 78 | + position: relative; |
| 79 | + background-image: url('hero.jpg'); |
| 80 | + color: white; |
| 81 | + text-align: center; |
| 82 | + padding: 100px 20px; |
| 83 | + height: 750px; /* Fullscreen height */ |
| 84 | + display: flex; |
| 85 | + justify-content: center; |
| 86 | + align-items: center; |
| 87 | + flex-direction: column; |
| 88 | + text-transform: uppercase; |
| 89 | +} |
| 90 | + |
| 91 | +.hero-overlay { |
| 92 | + position: absolute; |
| 93 | + top: 0; |
| 94 | + left: 0; |
| 95 | + right: 0; |
| 96 | + bottom: 0; |
| 97 | + background-color: rgba(0, 0, 0, 0.3); /* Darker overlay */ |
| 98 | + z-index: 1; |
| 99 | +} |
| 100 | + |
| 101 | +.hero-content { |
| 102 | + position: relative; |
| 103 | + z-index: 2; |
| 104 | +} |
| 105 | + |
| 106 | +.hero-title { |
| 107 | + font-size: 3rem; |
| 108 | + font-weight: bolder; |
| 109 | + margin-bottom: 20px; |
| 110 | + line-height: 1.2; |
| 111 | + padding-right: 250px; |
| 112 | + margin-right: 20%; |
| 113 | +} |
| 114 | + |
| 115 | +.highlight { |
| 116 | + color: #ff4c61; |
| 117 | +} |
| 118 | + |
| 119 | +.hero-text { |
| 120 | + font-size: 1.25rem; |
| 121 | + max-width: 800px; |
| 122 | + margin: 0 auto; |
| 123 | + color: rgba(255, 255, 255, 0.8); /* Lighter text color */ |
| 124 | +} |
| 125 | +/* Programs Section */ |
| 126 | +.programs-section { |
| 127 | + padding: 60px 20px; |
| 128 | + background-color: #fff; |
| 129 | + text-align: center; |
| 130 | +} |
| 131 | + |
| 132 | +.programs-section h2 { |
| 133 | + font-size: 2.5rem; |
| 134 | + font-weight: 900; |
| 135 | + margin-bottom: 40px; |
| 136 | + color: #1c3d5a; |
| 137 | +} |
| 138 | + |
| 139 | +.programs-section .highlight { |
| 140 | + color: #ff4c61; |
| 141 | +} |
| 142 | + |
| 143 | +.programs { |
| 144 | + list-style-type: none; |
| 145 | + display: grid; |
| 146 | + grid-template-columns: repeat(3, 1fr); |
| 147 | + gap: 30px; |
| 148 | + margin: 0; |
| 149 | +} |
| 150 | + |
| 151 | +.program { |
| 152 | + background-color: #f9f9f9; |
| 153 | + padding: 30px; |
| 154 | + border-radius: 8px; |
| 155 | + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); |
| 156 | + transition: box-shadow 0.3s ease; |
| 157 | +} |
| 158 | + |
| 159 | +.program:hover { |
| 160 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); |
| 161 | +} |
| 162 | + |
| 163 | +.program h3 { |
| 164 | + font-size: 1.75rem; |
| 165 | + color: #1c3d5a; |
| 166 | + margin-bottom: 20px; |
| 167 | +} |
| 168 | + |
| 169 | +.program p { |
| 170 | + font-size: 1rem; |
| 171 | + color: #555; |
| 172 | + line-height: 1.6; |
| 173 | +} |
| 174 | + |
| 175 | +/* Responsive styles for small screens */ |
| 176 | +@media (max-width: 768px) { |
| 177 | + .programs { |
| 178 | + grid-template-columns: 1fr; |
| 179 | + } |
| 180 | + |
| 181 | + .hero-title { |
| 182 | + font-size: 2.5rem; |
| 183 | + } |
| 184 | + |
| 185 | + .hero-text { |
| 186 | + font-size: 1rem; |
| 187 | + } |
| 188 | +} |
| 189 | +/* Footer Styles */ |
| 190 | +.footer { |
| 191 | + background-color: #222; |
| 192 | + color: white; |
| 193 | + text-align: center; |
| 194 | + padding: 20px; |
| 195 | + font-size: 0.9rem; |
| 196 | + position: relative; |
| 197 | + bottom: 0; |
| 198 | + width: 100%; |
| 199 | +} |
| 200 | + |
| 201 | +.footer a { |
| 202 | + color: #ff4c61; |
| 203 | + text-decoration: none; |
| 204 | +} |
| 205 | + |
| 206 | +.footer a:hover { |
| 207 | + text-decoration: underline; |
| 208 | +} |
| 209 | + |
| 210 | + |
0 commit comments