Files
Gyannetra_website/css/responsive.css
ectasy663 1c95e237b3 Update website with enhanced features and mobile optimization
- Enhanced individual training pages with better course layouts
- Updated testimonial sections across multiple pages
- Improved mobile responsiveness and navigation
- Added new testimonial assets and images
- Optimized CSS styling for better user experience
- Updated service and industry pages with latest content
2025-06-06 14:08:36 +05:30

1643 lines
33 KiB
CSS

/* ===== MEDIA QUERIES AND RESPONSIVE DESIGN ===== */
/* ===== LARGE DESKTOP (1024px and up) ===== */
@media (min-width: 1024px) {
.hero-container {
padding: 12rem 4% 2rem 4%;
}
}
@media (min-height: 600px) {
#hero {
height: 80vh;
min-height: 600px;
}
}
@media (max-height: 599px) {
#hero {
height: auto;
min-height: 500px;
padding: 2rem 0;
}
.hero-container {
height: auto;
min-height: 500px;
}
}
/* ===== TABLET (769px - 1023px) ===== */
@media (min-width: 769px) and (max-width: 1023px) {
.hero-container {
padding: 10rem 4% 2rem 4%;
}
.exp-grid {
gap: 1.5rem;
max-width: 100%;
padding: 0 2rem;
grid-template-columns: repeat(4, 1fr);
}
.exp-item {
padding: 1.8rem;
max-width: 420px;
min-height: 320px;
}
.exp-item img {
width: 100px;
margin-bottom: 1.2rem;
}
.exp-item p:first-of-type {
font-size: 1.3rem;
margin-bottom: 0.9rem;
}
.exp-item .exp-description {
font-size: 0.95rem;
line-height: 1.5;
}
}
/* ===== MOBILE AND TABLET (768px and below) ===== */
@media (max-width: 768px) {
/* Base mobile adjustments */
body {
padding-top: 80px;
}
#hero {
min-height: calc(100vh - 80px);
height: calc(100vh - 80px);
padding-top: 1rem;
}
.hero-container {
padding: 2rem 4% 1rem 4%;
justify-content: center;
align-items: center;
}
.hero-content {
text-align: center;
max-width: 100%;
padding: 0 0.5rem;
margin-top: 0.5rem;
}
.hero-content h1 {
font-size: 2.8rem;
font-weight: 100;
line-height: 1.1;
margin-bottom: 1rem;
letter-spacing: 0.3px;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
/* Hero typewriter section mobile */
.hero-typewriter-section {
margin: 0.5rem 0 1rem 0;
width: 100%;
}
.hero-subheading {
font-size: 1.1rem;
margin-bottom: 0.4rem;
}
.typewriter-container {
font-size: 2.2rem;
min-height: 2.8rem;
line-height: 1.1;
padding: 0;
width: 100%;
overflow: hidden;
}
.typewriter-text {
display: inline-block;
word-break: break-word;
text-align: center;
max-width: 100%;
}
.hero-supporting-text {
font-size: 1.1rem;
line-height: 1.5;
margin: 1rem auto 1.5rem auto;
color: rgba(255, 255, 255, 0.9);
max-width: 95%;
padding: 0 0.5rem;
}
.hero-content .btn-primary {
padding: 0.9rem 1.5rem;
font-size: 1rem;
border-radius: 10px;
min-width: 180px;
margin: 0.3rem;
}
/* Hero CTA buttons mobile */
.hero-cta-buttons {
gap: 0.8rem;
margin-top: 1rem;
flex-direction: column;
align-items: center;
}
/* Navigation mobile styles */
.site-header {
padding: 0.5rem 1rem;
}
/* Logo adjustments */
.logo-img {
height: 55px;
max-width: 240px;
}
.logo {
min-height: 60px;
padding: 0.4rem 0.8rem;
}
/* Technology cards mobile */
.tech-icon {
min-width: 35px;
min-height: 35px;
max-width: 65px;
max-height: 65px;
}
#technologies {
padding-top: 1.5rem;
}
/* Expertise grid mobile */
.exp-grid {
gap: 1.2rem;
padding: 0 1.5rem;
grid-template-columns: repeat(2, 1fr);
}
.exp-item {
padding: 1.5rem;
max-width: 100%;
min-height: 300px;
}
.exp-item img {
width: 90px;
margin-bottom: 1rem;
}
.exp-item p:first-of-type {
font-size: 1.2rem;
margin-bottom: 0.8rem;
}
.exp-item .exp-description {
font-size: 0.9rem;
line-height: 1.4;
margin-top: 0.5rem;
}
/* Contact form mobile */
.contact-content {
flex-direction: column;
padding: 0;
}
.contact-form-container,
.contact-info-container {
max-width: 100%;
padding-left: 30px;
padding-right: 30px;
padding: 1.5rem;
}
.contact-info-container {
margin-top: 0;
}
/* Case studies mobile */
.case-studies-hero h1 {
font-size: 2.2rem;
} .case-studies-hero p,
#contact-us-section .contact-header p {
font-size: 1.3rem;
line-height: 1.8;
}
.filter-controls {
flex-direction: column;
align-items: stretch;
gap: 1rem;
}
.dropdown-filter .dropdown-toggle-filter {
width: 100%;
}
.search-filter {
max-width: none;
}
.discuss-project-cta .container {
flex-direction: column;
text-align: center;
}
.discuss-project-cta h2 {
margin-bottom: 1.5rem;
font-size: 1.9rem;
}
.btn-discuss-project {
width: 100%;
text-align: center;
}
#contact-us-section .contact-header h1 {
font-size: 3.35rem;
}
/* Enhanced Contact Form mobile */
.contact-form-container {
padding: 1.5rem;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
font-size: 1rem;
margin-bottom: 0.5rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
padding: 1rem;
font-size: 1rem;
}
.form-group textarea {
min-height: 100px;
}
.btn-send-message {
padding: 1rem 1.5rem;
font-size: 1.1rem;
}
/* General mobile adjustments */
.nav-links {
display: none;
}
.section {
padding: 60px 0;
}
.section .container {
padding: 30px;
}
.page-header {
padding: 70px 0 40px;
}
.page-header h1 {
font-size: 3rem;
}
.grid-2 {
grid-template-columns: 1fr;
}
.btn-outline {
display: none;
}
/* Button adjustments */
.centered-btn {
margin: 2rem auto 0 auto !important;
}
.btn-primary.centered-btn {
padding: 14px 28px !important;
font-size: 1.1rem !important;
}
.cta-buttons,
.webinar-actions,
.hero-cta-buttons,
div[style*="text-align: center"] {
flex-direction: column !important;
gap: 1.5rem !important;
margin: 2rem auto !important;
}
.hero-section .btn,
.hero-section .btn-primary {
width: auto !important;
max-width: 280px !important;
margin: 1rem auto !important;
}
/* Footer mobile adjustments */
.footer-content {
gap: 20px;
text-align: center;
}
.footer-col {
min-width: 200px;
}
.footer-col-logo p {
max-width: 100%;
text-align: center;
}
.footer-col .social-links {
justify-content: center;
}
.footer-logo-img {
height: 120px;
max-width: 350px;
}
}
/* ===== EXTRA SMALL MOBILE (480px and below) ===== */
@media (max-width: 480px) {
#hero {
height: auto;
min-height: calc(100vh - 80px);
padding-top: 1rem;
}
.hero-container {
padding: 1.5rem 3% 1rem 3%;
}
.hero-content {
margin-top: 1rem;
padding: 0 0.25rem;
}
.hero-content h1 {
font-size: 2.2rem;
font-weight: 100;
line-height: 1.1;
margin-bottom: 0.8rem;
text-shadow: none !important;
letter-spacing: 0.2px;
filter: brightness(1.08);
}
/* Extra small mobile typewriter */
.hero-typewriter-section {
margin: 0.4rem 0 0.8rem 0;
}
.hero-subheading {
font-size: 1rem;
margin-bottom: 0.3rem;
}
.typewriter-container {
font-size: 1.8rem;
min-height: 2.2rem;
line-height: 1.0;
}
.hero-supporting-text {
font-size: 1rem;
margin: 0.8rem auto 1.2rem auto;
line-height: 1.6;
max-width: 98%;
padding: 0 0.25rem;
}
.hero-content .btn-primary {
padding: 0.8rem 1.2rem;
font-size: 0.95rem;
min-width: 160px;
margin: 0.25rem;
}
/* Hero CTA buttons extra small */
.hero-cta-buttons {
gap: 0.6rem;
margin-top: 1rem;
}
/* Logo extra small */
.logo-img {
height: 45px;
max-width: 180px;
}
.logo {
min-height: 50px;
padding: 0.3rem 0.6rem;
}
.footer-logo-img {
height: 100px;
max-width: 300px;
}
/* Technology cards extra small */
.tech-icon {
min-width: 30px;
min-height: 30px;
max-width: 50px;
max-height: 50px;
}
}
/* ===== VERY SMALL MOBILE (360px and below) ===== */
@media (max-width: 360px) {
.hero-content h1 {
font-size: 1.9rem;
margin-bottom: 0.6rem;
}
.hero-subheading {
font-size: 0.9rem;
}
.typewriter-container {
font-size: 1.5rem;
min-height: 1.8rem;
}
.hero-supporting-text {
font-size: 0.95rem;
margin: 0.6rem auto 1rem auto;
}
.hero-content .btn-primary {
padding: 0.7rem 1rem;
font-size: 0.9rem;
min-width: 140px;
}
.hero-container {
padding: 1rem 2% 0.5rem 2%;
}
/* Expertise grid extra small */
.exp-grid {
gap: 1rem;
padding: 0 1rem;
grid-template-columns: 1fr;
}
.exp-item {
padding: 1.2rem;
max-width: 350px;
min-height: 260px;
margin: 0 auto;
}
.exp-item img {
width: 80px;
margin-bottom: 1rem;
}
.exp-item p:first-of-type {
font-size: 1.1rem;
margin-bottom: 0.7rem;
}
.exp-item .exp-description {
font-size: 0.85rem;
line-height: 1.5;
margin-top: 0.5rem;
}
/* Enhanced contact form mobile */
.contact-form-container,
.contact-info-container {
padding: 1rem;
margin: 0.5rem 0;
}
.form-group {
margin-bottom: 1.2rem;
}
.form-group label {
font-size: 0.9rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
padding: 0.8rem;
font-size: 0.95rem;
}
.btn-send-message {
padding: 1rem;
font-size: 1rem;
letter-spacing: 1px;
}
#contact-us-section .contact-header h1 {
font-size: 2.5rem;
}
#contact-us-section .contact-header p {
font-size: 1.3rem;
line-height: 1.8;
}
/* Button adjustments extra small */
.centered-btn {
margin: 1.5rem auto 0 auto !important;
}
.btn-primary.centered-btn {
padding: 12px 24px !important;
font-size: 1rem !important;
letter-spacing: 1px !important;
}
.cta-buttons,
.webinar-actions,
.hero-cta-buttons {
gap: 1rem !important;
margin: 1.5rem auto !important;
}
.btn-primary,
.btn {
padding: 0.8rem 1.5rem !important;
font-size: 0.95rem !important;
min-width: 200px !important;
text-align: center !important;
}
.hero-cta-buttons,
.cta-buttons,
.webinar-actions {
flex-direction: column !important;
align-items: center !important;
width: 100% !important;
}
.btn-primary,
.btn-secondary,
.workflow-cta-btn,
.specialization-btn {
width: 100% !important;
max-width: 280px !important;
margin: 0.75rem auto !important;
}
/* Footer extra small */
.footer-content {
flex-direction: column;
gap: 25px;
}
.footer-col ul li p {
padding: 3px 0;
font-size: 0.9rem;
margin-bottom: 1px;
line-height: 1.2;
}
.footer-col ul li p i {
margin-right: 10px;
font-size: 1rem;
min-width: 18px;
}
.footer-col .social-links a {
min-width: 35px;
min-height: 35px;
font-size: 1.1rem;
}
}
/* ===== CASE STUDIES RESPONSIVE ===== */
@media (min-width: 768px) {
.case-studies-grid {
grid-template-columns: repeat(2, 1fr);
}
}
/* ===== INDUSTRY HERO RESPONSIVE ===== */
@media (max-width: 768px) {
.industry-hero-content {
flex-direction: column;
text-align: center;
gap: 20px;
}
.industry-hero .hero-text {
max-width: 100%;
}
.industry-hero h1 {
font-size: 3rem;
}
.industry-hero p {
font-size: 1.3rem;
}
}
/* ===== SPECIALIZED SECTIONS RESPONSIVE ===== */
@media (max-width: 1024px) {
.specializations-cards-grid {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
}
.benefit-card {
padding: 20px;
}
.benefit-card h3 {
font-size: 1.2rem;
}
}
@media (max-width: 768px) {
.specializations-cards-grid {
grid-template-columns: 1fr;
gap: 25px;
}
.specialization-card {
padding: 25px;
}
.specialization-card h3 {
font-size: 1.6rem;
}
.benefit-card .btn-primary {
padding: 14px 20px;
font-size: 0.85rem;
max-width: 180px;
}
}
/* ===== WORKFLOW SECTION RESPONSIVE ===== */
@media (max-width: 768px) {
.workflow-section {
padding: 2.5rem 0;
margin: 2rem 0;
} .workflow-intro p {
font-size: 1.3rem;
line-height: 1.8;
}
.workflow-benefits h3,
.workflow-process h3 {
font-size: 1.8rem;
}
.benefits-list {
grid-template-columns: 1fr;
gap: 1rem;
}
.benefit-item {
padding: 1.2rem;
flex-direction: column;
text-align: center;
gap: 0.8rem;
}
.workflow-step {
padding: 1.5rem;
margin-bottom: 2rem;
}
.workflow-step:hover {
transform: translateY(-5px);
}
.step-icon {
width: 70px;
height: 70px;
align-self: center;
}
.step-icon i {
font-size: 1.8rem;
}
.step-content {
text-align: center;
}
.step-content h4 {
font-size: 1.4rem;
}
.step-details span {
font-size: 0.9rem;
}
.workflow-cta {
padding: 2rem 1.5rem;
}
.cta-content h3 {
font-size: 1.6rem;
} .cta-content p {
font-size: 1.3rem;
line-height: 1.8;
}
.workflow-cta-btn {
padding: 0.7rem 1.5rem;
font-size: 1rem;
max-width: 260px;
width: 100%;
}
}
@media (max-width: 480px) {
.workflow-intro {
margin-bottom: 2rem;
}
.workflow-step {
flex-direction: column;
text-align: center;
gap: 1rem;
}
.step-connector {
display: none;
}
}
/* ===== COURSES AND WEBINARS RESPONSIVE ===== */
@media (max-width: 1024px) {
.courses-grid {
grid-template-columns: 1fr;
gap: 2rem;
}
.course-card {
padding: 1.25rem;
}
.webinar-videos-grid {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
margin: 0.5rem 0;
}
.webinar-meta {
gap: 1rem;
}
}
@media (max-width: 768px) {
.courses-grid {
gap: 1.5rem;
}
.course-card {
padding: 1rem;
}
.course-info h3 {
font-size: 1.4rem;
}
.course-info p {
font-size: 1rem;
}
.course-highlights {
gap: 0.6rem;
}
.course-highlights .highlight-item {
font-size: 0.8rem;
padding: 0.3rem 0.6rem;
}
/* Webinar responsive */
.webinar-main-card {
padding: 1.5rem;
margin: 2rem 0 3rem 0;
}
.webinar-card-header h2 {
font-size: 2rem;
flex-direction: column;
gap: 0.5rem;
}
.upcoming-webinar-item {
flex-direction: column;
gap: 1.5rem;
padding: 1.5rem;
}
.webinar-date-badge {
align-self: flex-start;
min-width: 80px;
}
.webinar-meta {
flex-direction: column;
gap: 0.8rem;
}
.webinar-actions {
flex-direction: column;
}
.register-btn, .add-calendar-btn {
justify-content: center;
text-align: center;
}
.webinar-videos-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.webinar-video-card {
padding: 1rem;
}
}
/* Responsive styles for webinar video cards */
@media (max-width: 768px) {
.webinar-video-card .video-container {
padding-bottom: 65%; /* Slightly increase height ratio on mobile */
}
.webinar-video-card {
padding: 1.2rem; /* Reduce padding to give more space to video */
}
}
@media (max-width: 480px) {
.course-video-container {
padding-bottom: 60%;
}
.course-info h3 {
font-size: 1.3rem;
}
.course-highlights {
flex-direction: column;
align-items: flex-start;
}
.course-highlights .highlight-item {
align-self: flex-start;
}
.gn-video-info h4 {
font-size: 1.2rem;
}
}
/* ===== ANIMATIONS AND EFFECTS ===== */
/* ===== CORE ANIMATIONS ===== */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes pulseGlow {
0% {
text-shadow: none;
filter: brightness(1.05);
}
100% {
text-shadow: none;
filter: brightness(1.08);
}
}
@keyframes glowLine {
0%, 100% {
opacity: 0.5;
box-shadow: 0 0 5px rgba(var(--primary-color-rgb), 0.3);
}
50% {
opacity: 1;
box-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.7);
}
}
@keyframes shimmer {
0% {
transform: translateX(-100%) scaleX(1);
}
49.9% {
transform: translateX(0%) scaleX(1);
}
50% {
transform: translateX(0%) scaleX(1);
}
100% {
transform: translateX(100%) scaleX(1);
}
}
@keyframes float {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(-5px);
}
100% {
transform: translateY(0px);
}
}
@keyframes blink {
0%, 50% { opacity: 1; }
51%, 100% { opacity: 0; }
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
@keyframes pulse {
0%, 100% {
opacity: 0.5;
}
50% {
opacity: 1;
}
}
/* ===== TECHNOLOGY CARD ANIMATIONS ===== */
@keyframes techCardsFlow {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
}
}
/* ===== BUTTON ANIMATIONS ===== */
@keyframes heroButtonPulse {
0%, 100% {
box-shadow:
0 8px 32px rgba(109, 40, 217, 0.4),
0 4px 16px rgba(147, 51, 234, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
50% {
box-shadow:
0 8px 32px rgba(109, 40, 217, 0.6),
0 4px 16px rgba(147, 51, 234, 0.5),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
}
@keyframes btn-loading-spinner {
from {
transform: rotate(0turn);
}
to {
transform: rotate(1turn);
}
}
@keyframes checkmark-appear {
from {
opacity: 0;
transform: translateY(-50%) scale(0);
}
to {
opacity: 1;
transform: translateY(-50%) scale(1);
}
}
/* ===== WEBINAR ANIMATIONS ===== */
@keyframes slideInFromLeft {
from {
left: -100%;
opacity: 0;
}
to {
left: 0;
opacity: 1;
}
}
@keyframes fadeInMenu {
from {
opacity: 0.8;
}
to {
opacity: 1;
}
}
/* ===== SPECIALIZATION CARDS ANIMATIONS ===== */
.hero-content h1,
.hero-content p,
.section-heading,
.tech-item,
.exp-item {
animation: fadeInUp 0.8s ease forwards;
}
/* Disable animations for hero content to prevent layout shifts */
#hero .hero-content p {
animation: none !important;
}
/* Allow hero heading to have the glow animation only */
#hero .hero-content h1 {
animation: pulseGlow 3s ease-in-out infinite alternate !important;
animation-delay: 0s !important;
}
.hero-content p {
animation-delay: 0.4s;
}
/* Override hero animation delays */
#hero .hero-content h1,
#hero .hero-content p {
animation-delay: 0s !important;
}
.section-heading {
animation-delay: 0.6s;
}
.section-subheading {
animation-delay: 0.7s;
}
.section-intro {
animation-delay: 0.8s;
}
.tech-item {
animation-delay: 0.9s;
}
.exp-item {
animation-delay: 1s;
}
/* ===== SPECIALIZATION CARDS EFFECTS ===== */
.specialization-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
opacity: 0;
transition: opacity 0.3s ease;
}
.specialization-card:hover::before {
opacity: 1;
animation: shimmer 3s ease-in-out infinite;
}
/* ===== BENEFIT CARD ANIMATIONS ===== */
.benefit-card-icon {
transition: transform 0.3s ease, background-color 0.3s ease;
}
.benefit-card:hover .benefit-card-icon {
transform: scale(1.1);
background: rgba(var(--primary-color-rgb, 109, 40, 217), 0.2);
}
.benefit-card-icon i {
transition: color 0.3s ease;
}
.highlight-badge {
transition: background 0.3s ease, transform 0.3s ease;
}
.specialization-card:hover .highlight-badge {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}
/* ===== TECH CARD ADVANCED EFFECTS ===== */
.tech-card-inner::before {
animation: shimmer 3s ease-in-out infinite;
}
.tech-icon-wrapper::before {
transition: opacity 0.3s ease;
}
.tech-card:hover .tech-icon-wrapper::before {
opacity: 0;
}
/* Mobile responsive animations */
@media (max-width: 768px) {
.hero-content h1 {
animation-duration: 2.5s;
}
}
/* ===== FOOTER ANIMATIONS ===== */
.footer-col .social-links a {
transition: color 0.3s ease, transform 0.3s ease;
}
.footer-col .social-links a:hover {
transform: translateY(-2px);
background-color: rgba(var(--primary-color-rgb), 0.1);
}
/* ===== ADVANCED CARD EFFECTS ===== */
.article-card,
.solution-item,
.related-content-item,
.offering-item,
.exp-item {
position: relative;
overflow: hidden;
}
.article-card::before,
.solution-item::before,
.related-content-item::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
transition: left 0.5s ease;
}
.article-card:hover::before,
.solution-item:hover::before,
.related-content-item:hover::before {
left: 100%;
}
/* ===== CONTACT FORM ANIMATIONS ===== */
.form-group input,
.form-group textarea,
.form-group select {
position: relative;
}
.form-group::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: linear-gradient(90deg, #52eef5, #667eea);
transition: width 0.3s ease;
}
.form-group input:focus + label::after,
.form-group textarea:focus + label::after,
.form-group select:focus + label::after {
width: 100%;
}
/* ===== WORKFLOW SECTION ANIMATIONS ===== */
.workflow-step {
position: relative;
}
.step-icon::before {
animation: shimmer 3s ease-in-out infinite;
}
.benefit-item {
transition: all 0.3s ease;
}
.benefit-item:hover {
transform: translateY(-5px);
border-color: rgba(var(--primary-color-rgb), 0.6);
box-shadow: 0 12px 25px rgba(var(--primary-color-rgb), 0.4);
}
/* ===== WEBINAR SECTION ANIMATIONS ===== */
.webinar-main-card::before,
.webinar-video-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 3px;
max-width: 100%;
overflow: hidden;
background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
animation: shimmer 3s ease-in-out infinite;
border-radius: 0 2px 2px 0;
}
.upcoming-webinar-item::before {
animation: shimmer 3s ease-in-out infinite;
border-radius: 0 2px 2px 0;
max-width: 100%;
overflow: hidden;
}
/* ===== GYANNETRA APP SECTION ANIMATIONS ===== */
.gn-feature-item:hover {
background: rgba(var(--primary-color-rgb), 0.1);
transform: translateX(5px);
}
.gn-feature-icon {
transition: all 0.3s ease;
}
.gn-feature-item:hover .gn-feature-icon {
background: rgba(var(--primary-color-rgb), 0.25);
transform: scale(1.1);
}
.gn-download-link {
transition: all 0.3s ease;
}
.gn-download-link:hover .gn-download-icon {
transform: scale(1.1);
}
/* ===== NAVIGATION ANIMATIONS ===== */
.nav-link {
position: relative;
}
.nav-link:after {
transition: width 0.3s ease-out, left 0.3s ease-out;
}
.dropdown-menu {
transition: opacity 0.3s ease, transform 0.3s ease, margin-top 0.3s ease, visibility 0s linear 0.3s;
}
/* ===== HOVER EFFECTS COLLECTION ===== */
.tech-card,
.benefit-card,
.specialization-card,
.course-card,
.webinar-video-card,
.gn-video-tutorial-card {
transition: all 0.3s ease;
}
.tech-card:hover,
.course-card:hover,
.webinar-video-card:hover,
.gn-video-tutorial-card:hover {
transform: translateY(-5px);
}
.benefit-card:hover,
.specialization-card:hover {
transform: translateY(-8px);
}
/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s ease;
}
.animate-on-scroll.animated {
opacity: 1;
transform: translateY(0);
}
/* Disable scroll animations for all purple buttons globally */
.btn-primary.animate-on-scroll,
.btn.animate-on-scroll,
button.animate-on-scroll {
opacity: 1 !important;
transform: none !important;
transition: all 0.3s ease !important; /* Keep only hover transitions */
}
.btn-primary.animate-on-scroll.animated,
.btn.animate-on-scroll.animated,
button.animate-on-scroll.animated {
opacity: 1 !important;
transform: none !important;
}
/* Stagger animation delays */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
/* ===== LOADING ANIMATIONS ===== */
.loading-spinner {
animation: spin 1s linear infinite;
}
.pulse-effect {
animation: pulse 2s ease-in-out infinite;
}
.float-effect {
animation: float 3s ease-in-out infinite;
}
/* ===== SPECIALIZED ANIMATION OVERRIDES ===== */
/* Ensure hero content is not affected by scroll animations */
#hero .hero-content.animate-on-scroll {
animation: none !important;
text-align: center !important;
}
#hero .hero-content.animate-on-scroll.animated {
transform: none !important;
opacity: 1 !important;
text-align: center !important;
}
/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.tech-cards-track {
will-change: transform;
}
.tech-card {
transform-style: preserve-3d;
}
/* ===== TRANSITION COLLECTIONS ===== */
.smooth-transition {
transition: all 0.3s ease;
}
.fast-transition {
transition: all 0.15s ease;
}
.slow-transition {
transition: all 0.6s ease;
}
/* ===== MOBILE ANIMATION ADJUSTMENTS ===== */
@media (max-width: 768px) {
/* Reduce animation intensity on mobile */
.tech-card:hover,
.benefit-card:hover,
.specialization-card:hover {
transform: translateY(-3px);
}
/* Simplify hover effects on mobile */
.workflow-step:hover {
transform: translateY(-5px);
}
/* Disable complex animations on mobile for performance */
.tech-card-inner::before {
animation: none;
}
.step-icon::before {
animation: none;
}
}
@media (max-width: 480px) {
/* Further reduce animations on very small screens */
.animate-on-scroll {
transition: all 0.3s ease;
}
/* Disable resource-intensive animations */
.shimmer-effect {
animation: none;
}
.webinar-main-card::before,
.webinar-video-card::before,
.upcoming-webinar-item::before {
animation: none;
}
}
/* ===== ACCESSIBILITY CONSIDERATIONS ===== */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
/* ===== EXPERTISE SECTION DIVIDER ANIMATION ===== */
.exp-item h3 {
position: relative;
padding-bottom: 14px;
margin-bottom: 15px;
}
.exp-item h3::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 70px;
height: 2px;
background: linear-gradient(90deg, rgba(82, 238, 245, 0.2), rgba(82, 238, 245, 1), rgba(82, 238, 245, 0.2));
border-radius: 2px;
box-shadow: 0 0 8px rgba(82, 238, 245, 0.5);
}
/* ===== CUSTOM SCROLL EFFECTS ===== */
.scroll-fade-in {
opacity: 0;
transform: translateY(50px);
transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.scroll-fade-in.visible {
opacity: 1;
transform: translateY(0);
}
.scroll-slide-left {
opacity: 0;
transform: translateX(-50px);
transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.scroll-slide-left.visible {
opacity: 1;
transform: translateX(0);
}
.scroll-slide-right {
opacity: 0;
transform: translateX(50px);
transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.scroll-slide-right.visible {
opacity: 1;
transform: translateX(0);
}
/* ===== FINAL PERFORMANCE OPTIMIZATIONS ===== */
.will-change-transform {
will-change: transform;
}
.will-change-opacity {
will-change: opacity;
}
.gpu-accelerated {
transform: translateZ(0);
backface-visibility: hidden;
perspective: 1000px;
}
/* Video container hover effects */
.webinar-video-card .video-container {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.webinar-video-card:hover .video-container {
transform: scale(1.02);
box-shadow: 0 6px 16px rgba(82, 238, 245, 0.15);
}
/* Hero section mobile adjustments - Fix excessive padding */
.hero-section,
#automation-flows-hero {
padding-top: 4rem !important;
padding-bottom: 4rem !important;
}
.case-studies-hero {
padding: 4rem 0 3rem 0 !important;
min-height: 50vh !important;
}
#generative-ai {
padding-top: 4.5rem !important;
padding-bottom: 3rem !important;
}
/* Hero headings mobile adjustments */
.hero-section h1,
#automation-flows-hero h1 {
font-size: 2.8rem !important;
margin-bottom: 1.5rem !important;
}
.case-studies-hero h1 {
font-size: 2.5rem !important;
letter-spacing: 2px !important;
margin-bottom: 1.5rem !important;
}
.generative-ai-header h1 {
font-size: 2.5rem !important;
margin-bottom: 1.5rem !important;
}
/* Hero text mobile adjustments */
.hero-section p,
#automation-flows-hero p,
.case-studies-hero p,
.generative-ai-header p {
font-size: 1.1rem !important;
line-height: 1.6 !important;
margin-bottom: 1.5rem !important;
}
/* Hero sections extra small mobile - Further reduce padding */
.hero-section,
#automation-flows-hero {
padding-top: 3rem !important;
padding-bottom: 3rem !important;
}
.case-studies-hero {
padding: 3rem 0 2rem 0 !important;
min-height: 40vh !important;
}
#generative-ai {
padding-top: 3.5rem !important;
padding-bottom: 2.5rem !important;
}
/* Hero headings extra small mobile */
.hero-section h1,
#automation-flows-hero h1 {
font-size: 2.2rem !important;
margin-bottom: 1rem !important;
}
.case-studies-hero h1 {
font-size: 2rem !important;
letter-spacing: 1px !important;
margin-bottom: 1rem !important;
}
.generative-ai-header h1 {
font-size: 2rem !important;
margin-bottom: 1rem !important;
}
/* Hero text extra small mobile */
.hero-section p,
#automation-flows-hero p,
.case-studies-hero p,
.generative-ai-header p,
.industry-hero p {
font-size: 0.95rem !important;
line-height: 1.5 !important;
margin-bottom: 1rem !important;
}