:root { --primary: #0d6efd; --primary-hover: #0b5ed7; --secondary: #6c757d; --success: #198754; --danger: #dc3545; --warning: #ffc107; --info: #0dcaf0; --light: #f8f9fa; --dark: #212529; --white: #ffffff; --gray: #e9ecef; --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08); --shadow-lg: 0 10px 20px rgba(0,0,0,0.1), 0 6px 6px rgba(0,0,0,0.1); --shadow-xl: 0 20px 40px rgba(0,0,0,0.15), 0 15px 15px rgba(0,0,0,0.1); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background-color: #f9f9f9; overflow-x: hidden; } /* Scrollbar Styling */ ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: #f1f1f1; } ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { background: var(--primary-hover); } /* Container and Layout */ .container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px; } /* Header Styles */ header { background-color: var(--white); box-shadow: var(--shadow-md); position: fixed; width: 100%; top: 0; z-index: 1000; transition: var(--transition); } header.scrolled { box-shadow: var(--shadow-lg); } .header-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; } .logo { display: flex; align-items: center; text-decoration: none; } .logo-icon { font-size: 2rem; color: var(--primary); margin-right: 10px; } .logo-text { font-size: 1.5rem; font-weight: 700; color: var(--dark); } /* Navigation */ nav ul { display: flex; list-style: none; } nav ul li { margin-left: 25px; position: relative; } nav ul li a { text-decoration: none; color: var(--dark); font-weight: 500; padding: 5px 0; position: relative; transition: var(--transition); } nav ul li a:after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--primary); transition: var(--transition); } nav ul li a:hover:after, nav ul li a.active:after { width: 100%; } .mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--dark); } /* Hero Section */ .video-background { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; overflow: hidden; } .video-background video { min-width: 100%; min-height: 100%; object-fit: cover; } .video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(13, 110, 253, 0.8), rgba(13, 110, 253, 0.9)); } .hero { height: 100vh; background: linear-gradient(rgba(13, 110, 253, 0.8), rgba(13, 110, 253, 0.9)), url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fHx8fHx8fDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat; display: flex; align-items: center; text-align: center; color: var(--white); margin-top: 77px; } .hero-content { max-width: 800px; margin: 0 auto; padding: 0 20px; animation: fadeInUp 1s ease-out; } .hero h1 { font-size: 3.5rem; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.1); } .hero p { font-size: 1.2rem; margin-bottom: 30px; } .btn { display: inline-block; padding: 12px 30px; background-color: var(--white); color: var(--primary); border: 2px solid var(--white); border-radius: 50px; text-decoration: none; font-weight: 600; transition: var(--transition); cursor: pointer; box-shadow: var(--shadow-sm); } .btn:hover { background-color: transparent; color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-md); } .btn-primary { background-color: var(--primary); color: var(--white); } .btn-primary:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); } /* Services Section */ .section { padding: 80px 0; } .section-title { text-align: center; margin-bottom: 50px; } .section-title h2 { font-size: 2.5rem; color: var(--dark); margin-bottom: 15px; position: relative; display: inline-block; } .section-title h2:after { content: ''; position: absolute; width: 50px; height: 3px; background-color: var(--primary); bottom: -10px; left: 50%; transform: translateX(-50%); } .section-title p { color: var(--secondary); max-width: 700px; margin: 0 auto; } .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; } .service-card { background-color: var(--white); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; } .service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); } .service-card-img { height: 200px; overflow: hidden; } .service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); } .service-card:hover .service-card-img img { transform: scale(1.05); } .service-card-content { padding: 25px; } .service-card-content h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--dark); } .service-card-content p { color: var(--secondary); margin-bottom: 20px; } /* About Section */ .about { background-color: var(--gray); } .about-container { display: flex; align-items: center; gap: 50px; } .about-img { flex: 1; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); } .about-img img { width: 100%; height: auto; display: block; } .about-content { flex: 1; } .about-content h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--dark); } .about-content p { margin-bottom: 20px; color: var(--secondary); } .features-list { margin-top: 30px; } .feature-item { display: flex; margin-bottom: 15px; } .feature-icon { width: 50px; height: 50px; background-color: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; flex-shrink: 0; } .feature-text h4 { font-size: 1.2rem; margin-bottom: 5px; color: var(--dark); } /* Doctors Section */ .doctors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .doctor-card { background-color: var(--white); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); text-align: center; } .doctor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); } .doctor-card-img { height: 350px; overflow: hidden; } .doctor-card-img img { width: 100%; height: 100%; object-fit: cover; } .doctor-card-content { padding: 25px; } .doctor-card-content h3 { font-size: 1.5rem; margin-bottom: 5px; color: var(--dark); } .doctor-card-content p { color: var(--primary); margin-bottom: 15px; font-weight: 500; } .social-links { display: flex; justify-content: center; gap: 15px; } .social-link { width: 35px; height: 35px; background-color: var(--gray); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dark); transition: var(--transition); } .social-link:hover { background-color: var(--primary); color: var(--white); } /* Testimonials Section */ .testimonials { background-color: var(--gray); } .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .testimonial-card { background-color: var(--white); border-radius: 10px; padding: 30px; box-shadow: var(--shadow-sm); transition: var(--transition); } .testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); } .testimonial-text { font-style: italic; margin-bottom: 20px; color: var(--secondary); position: relative; } .testimonial-text:before { content: '"'; font-size: 3rem; position: absolute; top: -15px; left: -15px; color: var(--primary); opacity: 0.2; } .testimonial-author { display: flex; align-items: center; } .author-img { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; margin-right: 15px; } .author-img img { width: 100%; height: 100%; object-fit: cover; } .author-info h4 { font-size: 1.1rem; margin-bottom: 3px; color: var(--dark); } .author-info p { font-size: 0.9rem; color: var(--secondary); } /* Appointment Section */ .appointment { background: linear-gradient(rgba(13, 110, 253, 0.9), rgba(13, 110, 253, 0.9)), url('https://storage.googleapis.com/workspace-0f70711f-8b4e-4d94-86f1-2a93ccde5887/image/3c32a055-c59d-4669-a4d4-a7537ffd507a.png') center/cover no-repeat; color: var(--white); } .appointment-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; } .appointment-content h2 { font-size: 2.5rem; margin-bottom: 20px; } .appointment-content p { margin-bottom: 30px; } .appointment-form { background-color: var(--white); padding: 40px; border-radius: 10px; box-shadow: var(--shadow-lg); } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 5px; color: var(--dark); font-weight: 500; } .form-control { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; transition: var(--transition); } .form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25); } textarea.form-control { min-height: 120px; resize: vertical; } .submit-btn { width: 100%; padding: 12px; background-color: var(--primary); color: var(--white); border: none; border-radius: 5px; font-size: 1rem; font-weight: 500; cursor: pointer; transition: var(--transition); } .submit-btn:hover { background-color: var(--primary-hover); } /* Footer */ footer { background-color: var(--dark); color: var(--white); padding: 80px 0 30px; } .footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; margin-bottom: 50px; } .footer-col h3 { font-size: 1.5rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; } .footer-col h3:after { content: ''; position: absolute; width: 40px; height: 2px; background-color: var(--primary); bottom: 0; left: 0; } .footer-col p { margin-bottom: 20px; opacity: 0.8; } .footer-links { list-style: none; } .footer-links li { margin-bottom: 10px; } .footer-links a { color: var(--white); text-decoration: none; opacity: 0.8; transition: var(--transition); } .footer-links a:hover { opacity: 1; padding-left: 5px; } .social-links-footer { display: flex; gap: 15px; } .social-link-footer { width: 40px; height: 40px; background-color: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); } .social-link-footer:hover { background-color: var(--primary); } .footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); opacity: 0.8; } /* Animations */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } } .pulse { animation: pulse 2s infinite; } /* Responsive Styles */ @media (max-width: 1200px) { .about-container { flex-direction: column; } .about-img { max-width: 100%; } .appointment-container { grid-template-columns: 1fr; } .appointment-content { text-align: center; } } @media (max-width: 992px) { nav ul { position: fixed; top: 77px; left: -100%; width: 100%; height: calc(100vh - 77px); background-color: var(--white); flex-direction: column; align-items: center; justify-content: center; transition: var(--transition); z-index: 999; } nav ul.show { left: 0; } nav ul li { margin: 15px 0; } .mobile-menu-btn { display: block; } .hero h1 { font-size: 2.5rem; } } @media (max-width: 768px) { .section-title h2 { font-size: 2rem; } .hero h1 { font-size: 2rem; } .services-grid, .doctors-grid, .testimonials-grid { grid-template-columns: 1fr; } } @media (max-width: 576px) { .header-container { padding: 15px; } .hero { margin-top: 65px; } .section { padding: 60px 0; } .appointment-form { padding: 30px 20px; } }