*{ padding: 0; margin: 0; } .main-wrapper { max-width:95%; /* Restrict maximum width */ margin: 0 auto; /* Center the wrapper */ padding: 20px; /* Add padding inside the div */ background-color: #f4f4f4; /* Light gray background */ border: 1px solid #ddd; /* Subtle border */ border-radius: 10px; /* Rounded corners */ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */ } /* Add responsiveness */ @media (max-width: 768px) { .main-wrapper { padding: 15px; /* Adjust padding for smaller screens */ } } /* General Reset */ body, ul, li, a { margin: 0; padding: 0; list-style: none; text-decoration: none; font-family: Arial, sans-serif; } /* Header Area Styles */ .header-area { background-color: #f8f9fa; padding: 15px 0; border-bottom: 1px solid #ddd; } .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; } .header-content { display: flex; align-items: center; justify-content: space-between; } .logo-area img { max-width: 150px; } .menu-area { text-align: right; } .main-menu { display: flex; gap: 20px; } .main-menu li { position: relative; } .main-menu a { color: #333; font-weight: bold; padding: 5px 10px; transition: color 0.3s ease, border-bottom 0.3s ease; } .main-menu a:hover, .main-menu .active a { color: #4caf50; border-bottom: 2px solid #4caf50; } /* Responsive Design */ @media (max-width: 768px) { .header-content { flex-direction: column; align-items: flex-start; } .main-menu { flex-direction: column; align-items: flex-start; } .main-menu li { margin: 10px 0; } } /* Banner area styles */ .banner-area { position: relative; width: 100%; height: 100vh; /* Full viewport height */ overflow: hidden; display: flex; justify-content: center; align-items: center; background-color: #000; /* Fallback color */ } .banner-container { position: relative; width: 100%; height: 100%; } .banner-img { position: absolute; width: 100%; height: 100%; overflow: hidden; } .banner-img img { width: 100%; height: 100%; } .banner-img h1 { position: absolute; top: 43%; text-transform: uppercase; font-weight: 900; font-size: 80px; color: #fff; z-index: 1; width: 100%; text-align: center; } /* Loaded state for fade-in effects */ .banner-area.loaded .banner-img img { opacity: 1; /* Image becomes visible */ } .banner-area.loaded .banner-text { opacity: 1; /* Text becomes visible */ } /* Responsive adjustments */ @media (max-width: 768px) { .banner-text { font-size: 2rem; /* Adjust font size for smaller screens */ } } /* Welcome Area */ .welcome-area { padding: 80px 0; background-color: #f3f3f3; } .welcome-text h1 { font-size: 2.5rem; color: #4caf50; margin-bottom: 1rem; } .welcome-text p { font-size: 1.1rem; margin-bottom: 1.5rem; color: #555; } .welcome-text .button { display: inline-block; padding: 10px 20px; font-size: 1rem; background-color: #4caf50; color: #fff; text-decoration: none; border-radius: 5px; transition: background-color 0.3s ease; } .welcome-text .button:hover { background-color: #3e8e41; } .welcome-image img { width: 100%; height: 500Px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); } /* Cow Breeds Section */ .cow-breeds-section { padding: 80px 20px; background-color: #fff; text-align: center; } .section-title { font-size: 2.5rem; color: #4CAF50; margin-bottom: 20px; } .section-description { font-size: 1.2rem; color: #666; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; } .breed-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; } .breed-card { background-color: #fff; border: 1px solid #ddd; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); width: 370px; padding: 20px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; } .breed-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); } .breed-img { width: 100%; border-radius: 8px; margin-bottom: 15px; } .breed-card h3 { font-size: 1.5rem; color: #4CAF50; margin-bottom: 10px; } .breed-card p { font-size: 1rem; color: #666; } /* Responsive Design */ @media (max-width: 768px) { .breed-cards { flex-direction: column; align-items: center; } .breed-card { width: 100%; max-width: 350px; } } /* Care and Health Tips Section */ .health-tips-section { width: 100%; padding: 80px 20px; background-color: #f9f1f1; text-align: center; } .tips-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; } .tip-card { background-color: #fff; border: 1px solid #ddd; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); width: 350px; padding: 20px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; } .tip-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); } .tip-img { width: 100%; border-radius: 8px; margin-bottom: 15px; } .tip-card h3 { font-size: 1.5rem; color: #3498db; margin-bottom: 10px; } .tip-card p { font-size: 1rem; color: #666; } /* Responsive Design */ @media (max-width: 768px) { .tips-cards { flex-direction: column; align-items: center; } .tip-card { width: 100%; max-width: 350px; } } /* Service Section */ .feature-area { padding: 80px 0; text-align: center; background-color: #fff; } .single-feature { background-color: #f9f9f9; border: 1px solid #e6e6e6; border-radius: 10px; padding: 20px; margin: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .single-feature:hover { transform: translateY(-5px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); } .single-feature img { width: 100%; border-radius: 10px; margin-bottom: 15px; } .single-feature h3 { font-size: 1.5rem; color: #4caf50; margin-bottom: 1rem; } .single-feature p { font-size: 1rem; color: #555; margin-bottom: 1.5rem; } .button-small { display: inline-block; padding: 8px 15px; font-size: 0.9rem; background-color: #4caf50; color: #fff; text-decoration: none; border-radius: 5px; transition: background-color 0.3s ease; } .button-small:hover { background-color: #3e8e41; } /* Responsive Design */ @media (max-width: 768px) { .welcome-text h1 { font-size: 2rem; } .single-feature { margin-bottom: 20px; } } /* Footer Area */ .footer-area { background-color: #222; color: #f9f9f9; padding: 80px 0; } .footer-area h2 { font-size: 1.5rem; color: #4CAF50; margin-bottom: 1rem; } .footer-list { list-style: none; padding: 0; } .footer-list li { margin-bottom: 10px; } .footer-list a { text-decoration: none; color: #ccc; font-size: 1rem; transition: color 0.3s ease; } .footer-list a:hover { color: #4CAF50; } /* Footer Bottom Area */ .footer-bottom { background-color: #111; color: #ccc; padding: 20px 0; text-align: center; } .footer-bottom a { color: #4CAF50; text-decoration: none; font-weight: bold; transition: color 0.3s ease; } .footer-bottom a:hover { color: #fff; } /* Responsive Design */ @media (max-width: 768px) { .footer-area .row { flex-direction: column; text-align: center; } .footer-area .col-md-4 { margin-bottom: 20px; } .footer-bottom p { font-size: 0.9rem; } }