Files
Gyannetra_website/css/backup/06-forms-buttons.css
ectasy663 67c46fedb4 Major website redesign: Complete CSS architecture overhaul
- Reorganized CSS into modular architecture (core.css, pages.css, responsive.css, components.css)
- Implemented comprehensive design system with CSS custom properties for theming
- Added responsive navigation with hamburger menu and dropdown systems
- Created modern card-based component system for courses, expertise, and services
- Enhanced all HTML pages with updated styling and improved user experience
- Added extensive animation system with smooth transitions and hover effects
- Implemented mobile-first responsive design with comprehensive breakpoints
- Established industry-specific color theming system
- Moved old CSS files to backup folder for reference
- Updated all service, education, and industry pages with consistent styling
2025-06-04 14:23:55 +05:30

632 lines
17 KiB
CSS

/* ===== FORMS AND BUTTONS ===== */
/* ===== GENERAL BUTTON STYLES ===== */
.btn {
display: inline-block;
text-decoration: none;
padding: 14px 28px;
border-radius: 8px;
letter-spacing: 1px;
text-transform: uppercase;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
cursor: pointer;
text-align: center;
color: #ffffff;
font-size: 1rem;
border: 2px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.3);
background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover));
}
.btn-primary {
display: inline-block;
text-decoration: none;
padding: 14px 28px;
border-radius: 8px;
letter-spacing: 1px;
text-transform: uppercase;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
cursor: pointer;
text-align: center;
color: #ffffff;
font-size: 1rem;
border: 2px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.3);
background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover));
}
.btn-primary:before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
transition: all 0.8s ease;
z-index: -1;
}
.btn:hover,
.btn-primary:hover {
transform: translateY(-3px) scale(1.02);
box-shadow: 0 15px 25px -10px rgba(var(--primary-color-rgb), 0.6);
background: linear-gradient(135deg, var(--primary-color-hover), var(--primary-color));
}
.btn-primary:hover:before {
left: 100%;
}
/* ===== CENTERED BUTTON STYLING ===== */
.centered-btn {
display: block !important;
width: fit-content !important;
margin: 2.5rem auto 0 auto !important;
text-align: center !important;
}
.btn-primary.centered-btn {
background: linear-gradient(135deg, #6d28d9 0%, #9333ea 50%, #a855f7 100%) !important;
border: 2px solid rgba(255, 255, 255, 0.3) !important;
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) !important;
padding: 18px 36px !important;
letter-spacing: 1.5px !important;
text-transform: uppercase !important;
font-size: 1.2rem !important;
border-radius: 12px !important;
color: #ffffff !important;
text-decoration: none !important;
position: relative !important;
overflow: hidden !important;
transition: all 0.3s ease !important;
cursor: pointer !important;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
backdrop-filter: blur(8px) !important;
}
.btn-primary.centered-btn:hover {
transform: translateY(-3px) scale(1.05) !important;
background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%) !important;
border-color: rgba(255, 255, 255, 0.5) !important;
box-shadow:
0 12px 40px rgba(109, 40, 217, 0.6),
0 6px 20px rgba(147, 51, 234, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.3),
0 0 20px rgba(168, 85, 247, 0.5) !important;
text-shadow: 0 0 8px rgba(255, 255, 255, 0.4) !important;
}
.btn-primary.centered-btn:active {
transform: translateY(-1px) scale(1.02) !important;
transition: all 0.1s ease !important;
}
/* ===== BUTTON CONTAINER CENTERING ===== */
.cta-buttons,
.cta-buttons-section .cta-buttons,
.webinar-actions,
.hero-cta-buttons,
.program-buttons,
.section-buttons,
.training-buttons,
.course-actions,
.workflow-actions {
display: flex !important;
justify-content: center !important;
align-items: center !important;
gap: 1rem !important;
flex-wrap: wrap !important;
text-align: center !important;
margin: 0 auto !important;
}
.cta-buttons-section {
text-align: center !important;
padding: 2rem 0 !important;
}
.cta-buttons-section .container {
display: flex !important;
justify-content: center !important;
align-items: center !important;
}
div[style*="text-align: center"] {
display: flex !important;
justify-content: center !important;
align-items: center !important;
text-align: center !important;
margin: 2.5rem auto !important;
}
.explore-button-section {
display: flex !important;
justify-content: center !important;
align-items: center !important;
text-align: center !important;
margin: 4rem auto !important;
padding: 1rem 0 !important;
}
/* ===== SPECIALIZED BUTTONS ===== */
.btn-book-consultation {
display: inline-block;
text-decoration: none;
padding: 14px 28px;
border-radius: 8px;
letter-spacing: 1px;
text-transform: uppercase;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
cursor: pointer;
text-align: center;
color: #ffffff;
font-size: 1rem;
border: 2px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.3);
background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover));
}
.btn-book-consultation:before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
transition: all 0.8s ease;
z-index: -1;
}
.btn-book-consultation:hover {
transform: translateY(-3px) scale(1.02);
box-shadow: 0 15px 25px -10px rgba(var(--primary-color-rgb), 0.6);
background: linear-gradient(135deg, var(--primary-color-hover), var(--primary-color));
}
.btn-book-consultation:hover:before {
left: 100%;
}
.btn-discuss-project {
background-color: #1E1E2F;
color: var(--fg);
padding: 0.7rem 1.5rem;
border: 1px solid #3A3A5A;
border-radius: 8px;
text-decoration: none;
font-size: 1.2rem;
transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.btn-discuss-project:hover {
background-color: #2C2C44;
border-color: #4F4F6A;
transform: translateY(-2px);
}
/* ===== CONTACT FORM STYLING ===== */
body.contact-page {
padding-top: 1;
}
.contact-page-container {
padding-top: 0;
padding-bottom: 4rem;
color: #fff;
animation: none !important;
transition: none !important;
transform: none !important;
}
#contact-us-section {
animation: none !important;
transition: none !important;
transform: none !important;
}
#contact-us-section .contact-header {
text-align: center;
margin-bottom: 40px;
animation: none !important;
transition: none !important;
}
#contact-us-section .contact-header h1 {
font-size: 4rem;
margin-bottom: 20px;
}
#contact-us-section .contact-header p {
font-size: 1.3rem;
color: #ccc;
margin-bottom: 10px;
}
.contact-content {
display: flex;
gap: 2rem;
flex-wrap: wrap;
justify-content: center;
align-items: stretch;
}
.contact-form-container,
.contact-info-container {
background: rgba(20, 20, 40, 0.5);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 16px;
padding: 2rem;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
border: 1px solid rgba(255, 255, 255, 0.18);
}
.contact-form-container {
flex: 1;
min-width: 300px;
max-width: 500px;
}
.contact-info-container {
flex: 1;
min-width: 300px;
max-width: 500px;
}
/* ===== ENHANCED CONTACT FORM STYLING ===== */
.form-group {
margin-bottom: 1.8rem;
position: relative;
}
.form-group label {
display: block;
margin-bottom: 0.6rem;
font-size: 1.1rem;
color: #52eef5;
font-family: 'Inter', sans-serif;
letter-spacing: 0.5px;
text-transform: uppercase;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
width: 100%;
padding: 1rem 1.2rem;
font-size: 1.1rem;
font-family: 'Inter', sans-serif;
background: rgba(255, 255, 255, 0.08);
border: 2px solid rgba(255, 255, 255, 0.15);
border-radius: 12px;
color: #ffffff;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-sizing: border-box;
}
.form-group textarea {
resize: vertical;
min-height: 120px;
line-height: 1.6;
}
.form-group input[type="text"]:hover,
.form-group input[type="email"]:hover,
.form-group select:hover,
.form-group textarea:hover {
background: rgba(255, 255, 255, 0.12);
border-color: rgba(82, 238, 245, 0.4);
transform: translateY(-1px);
}
.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group textarea::placeholder {
color: rgba(255, 255, 255, 0.6);
font-style: italic;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
outline: none;
border-color: #52eef5;
background: rgba(255, 255, 255, 0.15);
box-shadow:
0 0 20px rgba(82, 238, 245, 0.3),
0 0 40px rgba(82, 238, 245, 0.1),
inset 0 1px 3px rgba(0, 0, 0, 0.1);
transform: translateY(-2px);
}
.form-group select {
appearance: none;
-webkit-appearance: none;
background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2352eef5%22%20d%3D%22M287%2C197.9L159.3%2C69.2c-3.7-3.7-9.7-3.7-13.5%2C0L5.4%2C197.9c-3.7%2C3.7-3.7%2C9.7%2C0%2C13.5l13.5%2C13.5c3.7%2C3.7%2C9.7%2C3.7%2C13.5%2C0l118.3-118.3l118.3%2C118.3c3.7%2C3.7%2C9.7%2C3.7%2C13.5%2C0l13.5-13.5C290.7%2C207.6%2C290.7%2C201.6%2C287%2C197.9z%22%2F%3E%3C%2Fsvg%3E');
background-repeat: no-repeat;
background-position: right 1rem center;
background-size: 14px auto;
padding-right: 3rem;
cursor: pointer;
}
.form-group select option {
background: #1a1a2e;
color: #ffffff;
padding: 0.5rem;
}
/* ===== ENHANCED SUBMIT BUTTON ===== */
.btn-send-message,
.btn-primary.btn-send-message {
display: block;
width: 100%;
padding: 1.2rem 2rem;
background: linear-gradient(135deg, #52eef5 0%, #667eea 50%, #764ba2 100%);
border: none;
border-radius: 12px;
color: #ffffff;
font-size: 1.2rem;
font-family: 'Inter', sans-serif;
text-transform: uppercase;
letter-spacing: 1.5px;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
box-shadow:
0 8px 25px rgba(82, 238, 245, 0.3),
0 4px 12px rgba(102, 126, 234, 0.2);
margin-top: 1rem;
}
.btn-send-message::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.6s ease;
}
.btn-send-message:hover {
background: linear-gradient(135deg, #45d1dc 0%, #5a73e8 50%, #6b4ba8 100%);
transform: translateY(-3px) scale(1.02);
box-shadow:
0 12px 35px rgba(82, 238, 245, 0.4),
0 6px 18px rgba(102, 126, 234, 0.3);
}
.btn-send-message:hover::before {
left: 100%;
}
.btn-send-message:active {
transform: translateY(-1px) scale(1.01);
transition: all 0.1s ease;
}
/* ===== FORM VALIDATION ===== */
.form-message {
padding: 1rem;
border-radius: 8px;
margin-bottom: 1.5rem;
text-align: center;
display: none;
}
.form-message.success {
background: rgba(34, 197, 94, 0.15);
border: 2px solid rgba(34, 197, 94, 0.3);
color: #22c55e;
}
.form-message.error {
background: rgba(239, 68, 68, 0.15);
border: 2px solid rgba(239, 68, 68, 0.3);
color: #ef4444;
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
border-color: #ef4444;
background: rgba(239, 68, 68, 0.1);
}
.form-group.success input,
.form-group.success select,
.form-group.success textarea {
border-color: #22c55e;
background: rgba(34, 197, 94, 0.1);
}
/* ===== CONTACT INFO STYLING ===== */
.contact-details {
list-style: none;
padding: 0;
margin-bottom: 2rem;
}
.contact-details li {
margin-bottom: 1rem;
display: flex;
align-items: center;
padding: 1.2rem;
background: rgba(255, 255, 255, 0.05);
border-radius: 8px;
font-size: 1.1rem;
border-left: 3px solid #52eef5;
border-radius: 0 8px 8px 0;
transition: all 0.3s ease;
}
.contact-details li:hover {
background: rgba(82, 238, 245, 0.08);
transform: translateX(5px);
}
.contact-details li i {
margin-right: 1rem;
color: #52eef5;
font-size: 1.45rem;
width: 20px;
text-align: center;
}
.expert-advice-card {
background: rgba(20, 20, 40, 0.7);
border-radius: 12px;
padding: 2rem;
text-align: center;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.expert-advice-card h3 {
margin-top: 0;
color: #a2b0ff;
}
.expert-advice-card p {
font-size: 1.2rem;
margin-bottom: 1.5rem;
color: rgba(255, 255, 255, 0.8);
}
/* ===== ENHANCED CONTACT INFO STYLING ===== */
.contact-info-container h2 {
font-size: 1.8rem;
color: #52eef5;
margin-bottom: 1.5rem;
font-family: 'VT323', monospace;
text-transform: uppercase;
letter-spacing: 2px;
}
/* ===== FORM ANIMATION ENHANCEMENTS ===== */
.form-group.floating-label input:focus + label,
.form-group.floating-label input:not(:placeholder-shown) + label,
.form-group.floating-label textarea:focus + label,
.form-group.floating-label textarea:not(:placeholder-shown) + label {
transform: translateY(-1.5rem) scale(0.85);
color: #52eef5;
}
.btn-send-message.loading {
pointer-events: none;
opacity: 0.7;
position: relative;
color: transparent;
}
.btn-send-message.loading::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
top: 50%;
left: 50%;
margin-left: -10px;
margin-top: -10px;
border: 2px solid #ffffff;
border-radius: 50%;
border-top-color: transparent;
animation: btn-loading-spinner 1s ease infinite;
}
@keyframes btn-loading-spinner {
from {
transform: rotate(0turn);
}
to {
transform: rotate(1turn);
}
}
.form-group.success::after {
content: '✓';
position: absolute;
right: 1rem;
top: 50%;
transform: translateY(-50%);
color: #22c55e;
font-size: 1.2rem;
animation: checkmark-appear 0.3s ease;
}
@keyframes checkmark-appear {
from {
opacity: 0;
transform: translateY(-50%) scale(0);
}
to {
opacity: 1;
transform: translateY(-50%) scale(1);
}
}
/* ===== INDUSTRY PAGES BUTTON CONSISTENCY OVERRIDE ===== */
/* Force "Explore Our Solutions" buttons on industry pages to use purple gradient */
.explore-button-section .btn.btn-primary.gn-mobile-button,
.explore-button-section .btn-primary.gn-mobile-button {
background: linear-gradient(135deg, #6d28d9 0%, #9333ea 50%, #a855f7 100%) !important;
border: 2px solid rgba(255, 255, 255, 0.3) !important;
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) !important;
color: #ffffff !important;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}
.explore-button-section .btn.btn-primary.gn-mobile-button:hover,
.explore-button-section .btn-primary.gn-mobile-button:hover {
background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%) !important;
border-color: rgba(255, 255, 255, 0.5) !important;
box-shadow:
0 12px 40px rgba(109, 40, 217, 0.6),
0 6px 20px rgba(147, 51, 234, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
transform: translateY(-3px) scale(1.05) !important;
}
/* Additional selector for buttons that might not have the exact same classes */
.explore-button-section .btn[href*="contact"],
.explore-button-section .btn[href*="Contact"] {
background: linear-gradient(135deg, #6d28d9 0%, #9333ea 50%, #a855f7 100%) !important;
border: 2px solid rgba(255, 255, 255, 0.3) !important;
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) !important;
color: #ffffff !important;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}
.explore-button-section .btn[href*="contact"]:hover,
.explore-button-section .btn[href*="Contact"]:hover {
background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%) !important;
border-color: rgba(255, 255, 255, 0.5) !important;
box-shadow:
0 12px 40px rgba(109, 40, 217, 0.6),
0 6px 20px rgba(147, 51, 234, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
transform: translateY(-3px) scale(1.05) !important;
}