This commit is contained in:
KaviSaparamadu 2026-08-10 09:08:39 +05:30
parent f5df67c87d
commit d3817ac619
1 changed files with 125 additions and 59 deletions

View File

@ -363,118 +363,184 @@ h1, h2, h3, h4, h5, h6,
/* --- Features Section --- */ /* --- Features Section --- */
.features-section { .features-section {
background-color: var(--bg-light); position: relative;
padding: 80px 40px; border-radius: 32px;
padding: 85px 40px;
margin-bottom: 40px; margin-bottom: 40px;
background-image: radial-gradient(rgba(62, 81, 184, 0.04) 1px, transparent 0); overflow: hidden;
background-size: 20px 20px; border: 1px solid rgba(255, 255, 255, 0.15);
box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
} }
.features-eyebrow { .features-eyebrow {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 8px; gap: 8px;
background: rgba(255, 255, 255, 0.12); background: linear-gradient(135deg, rgba(255, 230, 24, 0.18) 0%, rgba(227, 100, 20, 0.22) 100%);
border: 1px solid rgba(255, 255, 255, 0.25); border: 1px solid rgba(255, 230, 24, 0.45);
backdrop-filter: blur(12px); backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
color: #FFE618; color: #FFE618;
font-size: 12.5px; font-size: 13px;
font-weight: 700; font-weight: 700;
letter-spacing: 0.08em; letter-spacing: 0.12em;
text-transform: uppercase; text-transform: uppercase;
padding: 7px 18px; padding: 8px 22px;
border-radius: 999px; border-radius: 999px;
margin-bottom: 16px; margin-bottom: 20px;
box-shadow: 0 4px 18px rgba(255, 230, 24, 0.15);
transition: all 0.3s ease;
}
.features-eyebrow i {
animation: starPulse 2s infinite ease-in-out;
}
@keyframes starPulse {
0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px #FFE618); }
50% { transform: scale(1.25); filter: drop-shadow(0 0 8px #FFE618); }
} }
.features-section h2 { .features-section h2 {
font-size: 45px; font-size: clamp(2.2rem, 4.2vw, 3.2rem);
font-weight: 800; font-weight: 800;
color: #ffffff; color: #ffffff;
letter-spacing: -0.02em;
margin-bottom: 54px; margin-bottom: 54px;
text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
position: relative;
display: inline-block;
}
.features-section h2::after {
content: '';
display: block;
width: 60px;
height: 4px;
background: linear-gradient(90deg, #3E51B8, #FFE618, #BC1A1A);
border-radius: 4px;
margin: 16px auto 0;
box-shadow: 0 0 12px rgba(255, 230, 24, 0.6);
} }
.feature-box { .feature-box {
position: relative; position: relative;
background: #fff; background: rgba(255, 255, 255, 0.08);
padding: 40px 28px; backdrop-filter: blur(18px);
border-radius: 24px; -webkit-backdrop-filter: blur(18px);
padding: 44px 28px 38px;
border-radius: 26px;
height: 100%; height: 100%;
transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
border: 1px solid var(--card-border); border: 1px solid rgba(255, 255, 255, 0.14);
text-align: center; text-align: center;
box-shadow: 0 6px 20px rgba(62, 81, 184, 0.02); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
overflow: hidden; overflow: hidden;
z-index: 1;
}
.feature-box::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, #3E51B8 0%, #FFE618 50%, #BC1A1A 100%);
opacity: 0.35;
transition: opacity 0.4s ease, height 0.4s ease;
}
.feature-box:hover::before {
opacity: 1;
height: 5px;
} }
.feature-index { .feature-index {
position: absolute; position: absolute;
top: 14px; top: 18px;
right: 18px; right: 20px;
font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
font-size: 13px; font-size: 13px;
font-weight: 700; font-weight: 800;
color: rgba(62, 81, 184, 0.25); color: rgba(255, 255, 255, 0.5);
letter-spacing: 0.05em; letter-spacing: 0.08em;
} background: rgba(255, 255, 255, 0.08);
padding: 3px 10px;
.feature-icon-wrapper { border-radius: 12px;
width: 58px; border: 1px solid rgba(255, 255, 255, 0.12);
height: 58px; transition: all 0.4s ease;
background-color: rgba(62, 81, 184, 0.08);
color: var(--primary);
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
margin: 0 auto 24px;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.feature-box:hover {
transform: translateY(-8px);
box-shadow: 0 15px 35px rgba(62, 81, 184, 0.12);
border-color: rgba(188, 26, 26, 0.2);
color:#6a2525 ;
} }
.feature-box:hover .feature-index { .feature-box:hover .feature-index {
color: rgba(188, 26, 26, 0.35); color: #FFE618;
background: rgba(255, 230, 24, 0.15);
border-color: rgba(255, 230, 24, 0.4);
transform: scale(1.05);
}
.feature-icon-wrapper {
width: 66px;
height: 66px;
background: linear-gradient(135deg, rgba(62, 81, 184, 0.35) 0%, rgba(10, 103, 223, 0.2) 100%);
color: #60A5FA;
border-radius: 20px;
border: 1px solid rgba(96, 165, 250, 0.35);
display: flex;
align-items: center;
justify-content: center;
font-size: 26px;
margin: 0 auto 26px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.feature-box:hover {
transform: translateY(-12px);
background: rgba(255, 255, 255, 0.14);
border-color: rgba(255, 255, 255, 0.32);
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 30px rgba(62, 81, 184, 0.3);
} }
.feature-box:hover .feature-icon-wrapper { .feature-box:hover .feature-icon-wrapper {
background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-orange) 100%); background: linear-gradient(135deg, #3E51B8 0%, #BC1A1A 100%);
color: #fff; color: #ffffff;
transform: rotateY(180deg); border-color: transparent;
box-shadow: 0 8px 15px rgba(188, 26, 26, 0.25); transform: scale(1.12) rotate(6deg);
box-shadow: 0 15px 30px rgba(188, 26, 26, 0.4), 0 0 20px rgba(62, 81, 184, 0.6);
} }
.feature-icon-wrapper i { .feature-icon-wrapper i {
transition: transform 0.4s ease; transition: transform 0.4s ease;
} }
.feature-box:hover .feature-icon-wrapper i { .feature-box:hover .feature-icon-wrapper i {
transform: rotateY(-180deg); transform: scale(1.15);
} }
.feature-box h5 { .feature-box h5 {
font-size: 19px; font-size: 20px;
font-weight: 700; font-weight: 750;
color: #181818; color: #ffffff;
margin-bottom: 12px; margin-bottom: 14px;
transition: color 0.3s ease;
} }
.feature-box h5:hover { .feature-box:hover h5 {
color: #822424 ; color: #ffffff;
text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
} }
.feature-box p { .feature-box p {
font-size: 14.5px; font-size: 14.5px;
color: var(--text-muted); color: #CBD5E1;
margin-bottom: 0; margin-bottom: 0;
line-height: 1.6; line-height: 1.65;
transition: color 0.3s ease;
}
.feature-box:hover p {
color: #F8FAFC;
} }
#noResults { #noResults {
@ -612,7 +678,7 @@ h1, h2, h3, h4, h5, h6,
<section class="pb-5 why-study-section"> <section class="pb-5 why-study-section">
<div class="container"> <div class="container">
<div class="features-section text-center animate-on-scroll fade-up-init" <div class="features-section text-center animate-on-scroll fade-up-init"
style="background-image: linear-gradient(rgba(77, 103, 169, 0.61), rgba(0, 0, 0, 0.9)), url('https://images.pexels.com/photos/4489749/pexels-photo-4489749.jpeg?auto=compress&cs=tinysrgb&w=1600'); style="background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 50%, rgba(15, 23, 42, 0.95) 100%), url('https://images.pexels.com/photos/4489749/pexels-photo-4489749.jpeg?auto=compress&cs=tinysrgb&w=1600');
background-size: cover; background-size: cover;
background-position: center; background-position: center;
background-repeat: no-repeat;"> background-repeat: no-repeat;">