Update style.css
Browse files
style.css
CHANGED
|
@@ -80,6 +80,7 @@ header h1 {
|
|
| 80 |
#top-nav a:hover {
|
| 81 |
background: #003a3f;
|
| 82 |
}
|
|
|
|
| 83 |
/* Hero Section with centered, compact banner */
|
| 84 |
.hero {
|
| 85 |
position: relative;
|
|
@@ -88,24 +89,22 @@ header h1 {
|
|
| 88 |
align-items: center;
|
| 89 |
justify-content: center;
|
| 90 |
text-align: center;
|
| 91 |
-
min-height:
|
| 92 |
padding: 20px;
|
| 93 |
color: white;
|
| 94 |
background: url('STC_logo.png') center center no-repeat;
|
| 95 |
-
background-size:
|
| 96 |
background-color: #0a0f3c;
|
| 97 |
overflow: hidden;
|
| 98 |
border-bottom: 4px solid #0d6efd;
|
| 99 |
}
|
| 100 |
-
|
| 101 |
.hero::before {
|
| 102 |
content: "";
|
| 103 |
position: absolute;
|
| 104 |
inset: 0;
|
| 105 |
-
background: rgba(0, 0, 0, 0.
|
| 106 |
z-index: 1;
|
| 107 |
}
|
| 108 |
-
|
| 109 |
.hero .overlay {
|
| 110 |
position: relative;
|
| 111 |
z-index: 2;
|
|
@@ -113,25 +112,39 @@ header h1 {
|
|
| 113 |
border-radius: 12px;
|
| 114 |
max-width: 90%;
|
| 115 |
}
|
| 116 |
-
|
| 117 |
.hero h1 {
|
| 118 |
-
font-size: 1.
|
| 119 |
-
margin-bottom:
|
| 120 |
}
|
| 121 |
-
|
| 122 |
.hero p {
|
| 123 |
-
font-size:
|
| 124 |
-
margin-bottom:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
}
|
| 126 |
|
| 127 |
-
@media (max-width: 768px) {
|
| 128 |
-
.hero {
|
| 129 |
-
min-height: 250px;
|
| 130 |
-
background-size: 80px;
|
| 131 |
-
}
|
| 132 |
/* Sections */
|
| 133 |
.section, .info-section, .form-section {
|
| 134 |
-
padding:
|
| 135 |
text-align: center;
|
| 136 |
background: #ffffff;
|
| 137 |
margin: 20px auto;
|
|
@@ -145,7 +158,7 @@ header h1 {
|
|
| 145 |
.section h2, .info-section h2, .form-section h2 {
|
| 146 |
color: #0a0f3c;
|
| 147 |
margin-bottom: 20px;
|
| 148 |
-
font-size: 1.
|
| 149 |
}
|
| 150 |
|
| 151 |
/* Form Styling */
|
|
@@ -211,18 +224,19 @@ footer {
|
|
| 211 |
/* Responsive adjustments */
|
| 212 |
@media (max-width: 768px) {
|
| 213 |
.hero {
|
| 214 |
-
|
|
|
|
| 215 |
}
|
| 216 |
.hero h1 {
|
| 217 |
-
font-size: 1.
|
| 218 |
}
|
| 219 |
.hero p {
|
| 220 |
-
font-size:
|
| 221 |
}
|
| 222 |
header h1 {
|
| 223 |
font-size: 1.4rem;
|
| 224 |
}
|
| 225 |
.section, .info-section, .form-section {
|
| 226 |
-
padding:
|
| 227 |
}
|
| 228 |
}
|
|
|
|
| 80 |
#top-nav a:hover {
|
| 81 |
background: #003a3f;
|
| 82 |
}
|
| 83 |
+
|
| 84 |
/* Hero Section with centered, compact banner */
|
| 85 |
.hero {
|
| 86 |
position: relative;
|
|
|
|
| 89 |
align-items: center;
|
| 90 |
justify-content: center;
|
| 91 |
text-align: center;
|
| 92 |
+
min-height: 250px; /* ✅ Compact */
|
| 93 |
padding: 20px;
|
| 94 |
color: white;
|
| 95 |
background: url('STC_logo.png') center center no-repeat;
|
| 96 |
+
background-size: 80px; /* ✅ Small subtle size */
|
| 97 |
background-color: #0a0f3c;
|
| 98 |
overflow: hidden;
|
| 99 |
border-bottom: 4px solid #0d6efd;
|
| 100 |
}
|
|
|
|
| 101 |
.hero::before {
|
| 102 |
content: "";
|
| 103 |
position: absolute;
|
| 104 |
inset: 0;
|
| 105 |
+
background: rgba(0, 0, 0, 0.4); /* ✅ Visible but subtle overlay */
|
| 106 |
z-index: 1;
|
| 107 |
}
|
|
|
|
| 108 |
.hero .overlay {
|
| 109 |
position: relative;
|
| 110 |
z-index: 2;
|
|
|
|
| 112 |
border-radius: 12px;
|
| 113 |
max-width: 90%;
|
| 114 |
}
|
|
|
|
| 115 |
.hero h1 {
|
| 116 |
+
font-size: 1.5rem; /* ✅ Compact heading */
|
| 117 |
+
margin-bottom: 8px;
|
| 118 |
}
|
|
|
|
| 119 |
.hero p {
|
| 120 |
+
font-size: 0.95rem; /* ✅ Compact subtext */
|
| 121 |
+
margin-bottom: 12px;
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
/* Button Styling */
|
| 125 |
+
.btn, .cta-button {
|
| 126 |
+
display: inline-block;
|
| 127 |
+
background: #0d6efd;
|
| 128 |
+
color: white;
|
| 129 |
+
padding: 12px 20px;
|
| 130 |
+
border: none;
|
| 131 |
+
border-radius: 6px;
|
| 132 |
+
font-size: 1rem;
|
| 133 |
+
cursor: pointer;
|
| 134 |
+
text-decoration: none;
|
| 135 |
+
transition: background 0.3s, transform 0.2s;
|
| 136 |
+
font-weight: 600;
|
| 137 |
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
|
| 138 |
+
margin-top: 15px;
|
| 139 |
+
}
|
| 140 |
+
.btn:hover, .cta-button:hover {
|
| 141 |
+
background: #0b5ed7;
|
| 142 |
+
transform: translateY(-2px);
|
| 143 |
}
|
| 144 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
/* Sections */
|
| 146 |
.section, .info-section, .form-section {
|
| 147 |
+
padding: 40px 20px;
|
| 148 |
text-align: center;
|
| 149 |
background: #ffffff;
|
| 150 |
margin: 20px auto;
|
|
|
|
| 158 |
.section h2, .info-section h2, .form-section h2 {
|
| 159 |
color: #0a0f3c;
|
| 160 |
margin-bottom: 20px;
|
| 161 |
+
font-size: 1.6rem;
|
| 162 |
}
|
| 163 |
|
| 164 |
/* Form Styling */
|
|
|
|
| 224 |
/* Responsive adjustments */
|
| 225 |
@media (max-width: 768px) {
|
| 226 |
.hero {
|
| 227 |
+
min-height: 200px;
|
| 228 |
+
background-size: 60px;
|
| 229 |
}
|
| 230 |
.hero h1 {
|
| 231 |
+
font-size: 1.3rem;
|
| 232 |
}
|
| 233 |
.hero p {
|
| 234 |
+
font-size: 0.9rem;
|
| 235 |
}
|
| 236 |
header h1 {
|
| 237 |
font-size: 1.4rem;
|
| 238 |
}
|
| 239 |
.section, .info-section, .form-section {
|
| 240 |
+
padding: 30px 15px;
|
| 241 |
}
|
| 242 |
}
|