/* ----- Main CSS for the Digital Business Card ----- */ * { margin: 0; padding: 0; box-sizing: border-box; } body { background: linear-gradient(135deg, #e0f7fa, #f3e5f5); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; display: flex; flex-direction: column; /* Added for proper ad layout */ justify-content: center; align-items: center; min-height: 100vh; padding: 20px; } .card { background: white; padding: 30px; border-radius: 25px; box-shadow: 0 10px 30px rgba(0, 64, 128, 0.2); max-width: 450px; width: 100%; text-align: center; position: relative; overflow: hidden; margin-top: 20px; margin-bottom: 20px; } .card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 8px; background: linear-gradient(90deg, #0077b6, #00b4d8, #90e0ef); border-radius: 25px 25px 0 0; } .profile-container { position: relative; margin-bottom: 20px; } .profile-pic { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid #e0f7fa; box-shadow: 0 4px 12px rgba(0, 64, 128, 0.2); margin: 0 auto 15px; background: white; padding: 5px; } .name { font-size: 24px; font-weight: 700; color: #0077b6; margin-bottom: 5px; letter-spacing: 0.5px; } .tagline { font-size: 16px; color: #5a5a5a; margin-bottom: 15px; font-weight: 500; } .specialty { background: linear-gradient(to right, #0077b6, #00b4d8); color: white; padding: 8px 15px; border-radius: 20px; display: inline-block; font-size: 14px; font-weight: 600; margin-bottom: 20px; box-shadow: 0 4px 8px rgba(0, 180, 216, 0.3); } .timing { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 15px; color: #444; margin-bottom: 25px; background: #f8fdff; padding: 12px; border-radius: 15px; border: 1px solid #e0f7fa; } .timing i { color: #0077b6; font-size: 18px; } .section-title { text-align: left; font-size: 18px; color: #0077b6; margin: 20px 0 15px 5px; font-weight: 600; position: relative; padding-left: 10px; } .section-title::before { content: ''; position: absolute; left: 0; top: 5px; height: 20px; width: 4px; background: #0077b6; border-radius: 2px; } .medicine-strip-container { background: #f8fdff; border-radius: 20px; padding: 20px; margin-bottom: 25px; border: 1px solid #e0f7fa; position: relative; overflow: hidden; } .medicine-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; position: relative; z-index: 2; } .pill-container { position: relative; width: 70px; height: 70px; perspective: 800px; } .pill { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform 0.5s ease; cursor: pointer; } .pill-container:hover .pill { transform: rotateY(180deg); } .pill-front, .pill-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); } .pill-front { background: linear-gradient(145deg, #ffffff, #f0f0f0); border: 1px solid #e0e0e0; } .pill-front::before { content: ''; position: absolute; width: 80%; height: 20px; background: linear-gradient(to right, #90e0ef, #caf0f8); border-radius: 10px; opacity: 0.7; } .pill-back { background: linear-gradient(145deg, #00b4d8, #0077b6); transform: rotateY(180deg); color: white; font-size: 24px; } .pill img { width: 30px; height: 30px; z-index: 2; } .contact-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 25px; } .contact-item { background: #f8fdff; padding: 12px; border-radius: 12px; text-align: center; font-size: 13px; color: #444; border: 1px solid #e0f7fa; transition: all 0.3s ease; } .contact-item:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 180, 216, 0.2); } .contact-item i { font-size: 20px; margin-bottom: 8px; color: #0077b6; } .book-btn { background: linear-gradient(to right, #0077b6, #00b4d8); color: white; text-decoration: none; padding: 14px 30px; border-radius: 50px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px; cursor: pointer; border: none; box-shadow: 0 5px 15px rgba(0, 180, 216, 0.4); transition: all 0.3s ease; width: 100%; margin-top: 10px; } .book-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 180, 216, 0.6); } .book-btn i { margin-right: 10px; font-size: 18px; } .form-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); justify-content: center; align-items: center; z-index: 1000; backdrop-filter: blur(5px); } .form-box { background: #fff; padding: 30px; border-radius: 20px; width: 90%; max-width: 400px; text-align: left; box-shadow: 0 15px 40px rgba(0, 64, 128, 0.25); position: relative; transform: scale(0.95); animation: scaleUp 0.4s forwards; } @keyframes scaleUp { to { transform: scale(1); } } .form-box h3 { margin-top: 0; color: #0077b6; font-size: 24px; margin-bottom: 20px; text-align: center; padding-bottom: 15px; border-bottom: 2px solid #e0f7fa; } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; color: #0077b6; font-weight: 500; } .form-box input, .form-box textarea { width: 100%; padding: 12px 15px; border: 1px solid #caf0f8; border-radius: 10px; font-size: 15px; transition: all 0.3s; } .form-box input:focus, .form-box textarea:focus { outline: none; border-color: #00b4d8; box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2); } .form-actions { margin-top: 25px; display: flex; justify-content: space-between; gap: 10px; } .form-actions button { padding: 12px 20px; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 15px; transition: all 0.3s; flex: 1; } .submit-btn { background: linear-gradient(to right, #0077b6, #00b4d8); color: white; box-shadow: 0 4px 10px rgba(0, 180, 216, 0.4); } .cancel-btn { background: linear-gradient(to right, #e63946, #ff758f); color: white; box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3); } .back-btn { background: linear-gradient(to right, #6c757d, #adb5bd); color: white; box-shadow: 0 4px 10px rgba(108, 117, 125, 0.3); } .form-actions button:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); } .decoration { position: absolute; z-index: 1; } .dec-1 { top: -30px; right: -30px; width: 100px; height: 100px; background: rgba(0, 180, 216, 0.1); border-radius: 50%; } .dec-2 { bottom: -40px; left: -40px; width: 120px; height: 120px; background: rgba(0, 119, 182, 0.08); border-radius: 50%; } /* ----- Adsterra Ads Styling ----- */ .header-ad-banner { display: block; margin: 0 auto 20px; max-width: 450px; width: 100%; } .in-card-ad-button { background: linear-gradient(to right, #e63946, #ff758f); color: white; text-decoration: none; padding: 14px 30px; border-radius: 50px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px; cursor: pointer; border: none; box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4); transition: all 0.3s ease; width: 100%; margin-bottom: 10px; } .in-card-ad-button:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(230, 57, 70, 0.6); } .footer-ad { margin-top: 20px; text-align: center; } .footer-ad-link { background: linear-gradient(to right, #6c757d, #adb5bd); color: white; text-decoration: none; padding: 12px 25px; border-radius: 50px; font-weight: 600; font-size: 15px; box-shadow: 0 4px 10px rgba(108, 117, 125, 0.3); transition: all 0.3s ease; } .footer-ad-link:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.2); } /* ----- Responsive Design ----- */ @media (max-width: 480px) { .card { padding: 25px 20px; } .contact-info { grid-template-columns: 1fr; } .medicine-strip { gap: 8px; } .pill-container { width: 60px; height: 60px; } } ]]>
Advertisement
Profile Picture
Certified Digital Marketing Expert
9:00 AM - 6:00 PM (Mon - Sat)
Connect With Me
Call
WhatsApp
Email
Website
Facebook
Instagram
LinkedIn
YouTube
Contact Information
Special Promotion! Boost Your Reach!

Book Your Consultation