 /*
Theme Name: Moonlight Surgicare
Author: Nishant Sharma
Version: 1.0
Description: Custom theme for surgical equipment and device dealership.
*/
 
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 :root {
     --primary-blue: #1e3a5f;
     --secondary-blue: #2d5aa0;
     --accent-teal: #4fd1c7;
     --moonlight-silver: #c8d6e5;
     --light-gray: #f8f9fa;
     --dark-gray: #343a40;
     --white: #ffffff;
     --success-green: #28a745;
     --text-dark: #212529;
     --border-light: #e9ecef;
     --gradient-moonlight: linear-gradient(135deg, #1e3a5f, #4fd1c7);
 }

 body {
     font-family: 'Arial', sans-serif;
     line-height: 1.6;
     color: var(--text-dark);
     background: var(--white);
 }

 /* Header */
 .header {
     background: var(--white);
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     position: fixed;
     width: 100%;
     top: 0;
     z-index: 1000;
     transition: all 0.3s ease;
 }

 .header.scrolled {
     background: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(10px);
 }

 .nav-container {
     max-width: 1200px;
     margin: 0 auto;
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 1rem 2rem;
 }

 .logo {
     display: flex;
     align-items: center;
     font-size: 1.5rem;
     font-weight: bold;
     color: var(--primary-blue);
     text-decoration: none;
 }

 .logo-icon {
     width: 50px;
     height: 50px;
     margin-right: 1rem;
     background: var(--gradient-moonlight);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
     box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
 }

 .logo-icon::before {
     content: '';
     position: absolute;
     width: 20px;
     height: 20px;
     background: var(--white);
     border-radius: 50%;
     top: 8px;
     right: 10px;
     box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
 }

 .logo-icon::after {
     content: '⚕️';
     font-size: 20px;
     color: var(--white);
     z-index: 2;
     position: relative;
 }

 .logo-text {
     display: flex;
     flex-direction: column;
     line-height: 1.2;
 }

 .logo-text .brand-name {
     font-size: 1.4rem;
     font-weight: 700;
     background: var(--gradient-moonlight);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 .logo-text .tagline {
     font-size: 0.8rem;
     color: var(--moonlight-silver);
     font-weight: 400;
     letter-spacing: 0.5px;
 }

 .nav-menu {
     display: flex;
     list-style: none;
     gap: 2rem;
 }

 .nav-menu a {
     text-decoration: none;
     color: var(--text-dark);
     font-weight: 500;
     transition: color 0.3s ease;
     position: relative;
 }

 .nav-menu a:hover {
     color: var(--primary-blue);
 }

 .nav-menu a::after {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     bottom: -5px;
     left: 0;
     background: var(--gradient-moonlight);
     transition: width 0.3s ease;
 }

 .nav-menu a:hover::after {
     width: 100%;
 }

 .cta-button {
     background: var(--gradient-moonlight);
     color: var(--white);
     padding: 0.8rem 1.5rem;
     border-radius: 25px;
     text-decoration: none;
     font-weight: 600;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
 }

 .cta-button:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
 }

 /* Hero Section */
 .hero {
     background: var(--gradient-moonlight);
     color: var(--white);
     padding: 120px 0 80px;
     text-align: center;
     position: relative;
     overflow: hidden;
 }

 .hero::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
     opacity: 0.3;
 }

 .hero::after {
     content: '🌙';
     position: absolute;
     top: 20px;
     right: 20px;
     font-size: 3rem;
     opacity: 0.2;
     animation: float 3s ease-in-out infinite;
 }

 @keyframes float {

     0%,
     100% {
         transform: translateY(0px);
     }

     50% {
         transform: translateY(-10px);
     }
 }

 .hero-content {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 2rem;
     position: relative;
     z-index: 2;
 }

 .hero h1 {
     font-size: 3.5rem;
     margin-bottom: 1.5rem;
     font-weight: 700;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
     animation: fadeInUp 1s ease;
 }

 .hero p {
     font-size: 1.3rem;
     margin-bottom: 2rem;
     opacity: 0.9;
     max-width: 600px;
     margin-left: auto;
     margin-right: auto;
     animation: fadeInUp 1s ease 0.2s both;
 }

 .hero-buttons {
     display: flex;
     gap: 1rem;
     justify-content: center;
     animation: fadeInUp 1s ease 0.4s both;
 }

 .btn-primary {
     background: var(--white);
     color: var(--primary-blue);
     padding: 1rem 2rem;
     border-radius: 30px;
     text-decoration: none;
     font-weight: 600;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
 }

 .btn-primary:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
 }

 .btn-secondary {
     background: transparent;
     color: var(--white);
     padding: 1rem 2rem;
     border: 2px solid var(--white);
     border-radius: 30px;
     text-decoration: none;
     font-weight: 600;
     transition: all 0.3s ease;
 }

 .btn-secondary:hover {
     background: var(--white);
     color: var(--primary-blue);
     transform: translateY(-3px);
 }

 /* Features Section */
 .features {
     padding: 80px 0;
     background: var(--light-gray);
 }

 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 2rem;
 }

 .section-title {
     text-align: center;
     margin-bottom: 4rem;
 }

 .section-title h2 {
     font-size: 2.5rem;
     color: var(--primary-blue);
     margin-bottom: 1rem;
     font-weight: 700;
 }

 .section-title p {
     font-size: 1.2rem;
     color: var(--dark-gray);
     max-width: 600px;
     margin: 0 auto;
 }

 .features-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 2rem;
     margin-top: 3rem;
 }

 .feature-card {
     background: var(--white);
     padding: 2.5rem;
     border-radius: 15px;
     text-align: center;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
 }

 .feature-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 3px;
     background: var(--gradient-moonlight);
     transition: left 0.5s ease;
 }

 .feature-card:hover::before {
     left: 0;
 }

 .feature-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
 }

 .feature-icon {
     font-size: 3rem;
     margin-bottom: 1.5rem;
     display: block;
 }

 .feature-card h3 {
     font-size: 1.5rem;
     margin-bottom: 1rem;
     color: var(--primary-blue);
     font-weight: 600;
 }

 .feature-card p {
     color: var(--dark-gray);
     line-height: 1.7;
 }

 /* Products Section */
 .products {
     padding: 80px 0;
     background: var(--white);
 }

 .products-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
     gap: 2rem;
     margin-top: 3rem;
 }

 .product-card {
     background: var(--white);
     border-radius: 15px;
     overflow: hidden;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
 }

 .product-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
 }

 .product-image {
     height: 250px;
     background: linear-gradient(135deg, var(--moonlight-silver), #e9ecef);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 4rem;
     color: var(--primary-blue);
 }

 .product-content {
     padding: 2rem;
 }

 .product-content h3 {
     font-size: 1.5rem;
     margin-bottom: 1rem;
     color: var(--primary-blue);
     font-weight: 600;
 }

 .product-content p {
     color: var(--dark-gray);
     margin-bottom: 1.5rem;
     line-height: 1.7;
 }

 .product-features {
     list-style: none;
     margin-bottom: 1.5rem;
 }

 .product-features li {
     padding: 0.3rem 0;
     color: var(--dark-gray);
     position: relative;
     padding-left: 1.5rem;
 }

 .product-features li::before {
     content: "✓";
     position: absolute;
     left: 0;
     color: var(--success-green);
     font-weight: bold;
 }

 .learn-more {
     color: var(--primary-blue);
     text-decoration: none;
     font-weight: 600;
     transition: color 0.3s ease;
 }

 .learn-more:hover {
     color: var(--accent-teal);
 }

 /* Stats Section */
 .stats {
     background: var(--gradient-moonlight);
     color: var(--white);
     padding: 60px 0;
 }

 .stats-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 2rem;
     text-align: center;
 }

 .stat-item h3 {
     font-size: 3rem;
     margin-bottom: 0.5rem;
     font-weight: 700;
 }

 .stat-item p {
     font-size: 1.1rem;
     opacity: 0.9;
 }

 /* Footer */
 .footer {
     background: var(--dark-gray);
     color: var(--white);
     padding: 60px 0 30px;
 }

 .footer-content {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
     margin-bottom: 2rem;
 }

 .footer-section h3 {
     margin-bottom: 1.5rem;
     color: var(--accent-teal);
     font-weight: 600;
 }

 .footer-section p,
 .footer-section a {
     color: #adb5bd;
     text-decoration: none;
     line-height: 1.8;
     transition: color 0.3s ease;
 }

 .footer-section a:hover {
     color: var(--accent-teal);
 }

 .footer-section ul {
     list-style: none;
 }

 .footer-section ul li {
     margin-bottom: 0.8rem;
 }

 .footer-bottom {
     border-top: 1px solid #495057;
     padding-top: 2rem;
     text-align: center;
     color: #adb5bd;
 }

 /* Animations */
 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* Responsive Design */
 @media (max-width: 768px) {
     .nav-menu {
         display: none;
     }

     .logo-text .brand-name {
         font-size: 1.2rem;
     }

     .logo-text .tagline {
         font-size: 0.7rem;
     }

     .hero h1 {
         font-size: 2.5rem;
     }

     .hero-buttons {
         flex-direction: column;
         align-items: center;
     }

     .features-grid,
     .products-grid {
         grid-template-columns: 1fr;
     }

     .stats-grid {
         grid-template-columns: repeat(2, 1fr);
     }
 }

 /* Scroll animations */
 .fade-in {
     opacity: 0;
     transform: translateY(30px);
     transition: all 0.6s ease;
 }

 .fade-in.visible {
     opacity: 1;
     transform: translateY(0);
 }