/* ========== Global Reset ========== */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; } /* ========== Wrapper Utility ========== */ .content-fit { width: min(1200px, 90vw); margin: auto; min-height: 100vh; position: relative; padding-block: 10em; } /* ========== Header ========== */ header { padding-block: 1em; position: absolute; top: 0; width: 100%; z-index: 100; backdrop-filter: blur(3px); background-color: #1B1B1B11; background-image: repeating-linear-gradient( to right, transparent 0 500px, #eee1 500px 501px ); } header .content-fit { display: flex; justify-content: space-between; align-items: center; min-height: unset !important; padding-block: unset !important; } header nav ul { display: flex; gap: 2em; list-style: none; padding: 0; } /* ========== Utilities ========== */ .menu, .icons { font-size: 18px; cursor: pointer; } .logo { font-size: 24px; font-weight: bold; } /* ========== Hero Section ========== */ .hero { position: relative; width: 100%; overflow: hidden; } .hero-image { width: 100%; max-height: 90vh; object-fit: cover; } .pd { margin: 0 5%; } /* ========== Support Section ========== */ .support-section { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 20px; background: white; gap: 30px; } /* Desktop / Tablet view */ @media (min-width: 768px) { .support-section { flex-direction: row; gap: 60px; padding: 80px 5%; } } /* Image Area */ .support-image { width: 100%; max-width: 600px; } .support-image img { width: 100%; height: auto; border-radius: 10px; } /* Text Area */ .support-text { width: 100%; max-width: 600px; padding: 0; } .support-text h2 { font-size: 28px; font-weight: bold; border-left: 6px solid #555; padding-left: 20px; } .support-text h2 span { font-weight: normal; } .support-text p { margin-top: 20px; font-size: 18px; color: #555; line-height: 1.6; } /* Mobile-specific adjustments */ @media (max-width: 480px) { .support-text h2 { font-size: 22px; padding-left: 15px; } .support-text p { font-size: 16px; } .hero-image { max-height: 60vh; } } /* SECTION 1 WITH IMG END */ .Heading-Info { font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; font-size: 3rem; text-align: center; margin-top: 5%; } .Inf-Div img { width: 100%; height: auto; object-fit: cover; transition: transform 0.3s ease, filter 0.3s ease; } .div-order { margin: 5% auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; } .main-div4-block { width: 100%; max-width: 380px; height: 400px; border: 1px black solid; position: relative; cursor: pointer; overflow: hidden; transition: all 0.3s ease; color: black; background: white; } .main-div4-block::before { content: ""; position: absolute; bottom: -100%; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); transition: bottom 0.4s ease; z-index: 0; } .main-div4-block:hover::before { bottom: 0; } .main-div4-block:hover img { transform: scale(1.05); filter: brightness(90%); } .main-div4-fn1, .main-div4-fn2 { position: relative; z-index: 1; } .main-div4-fn1 { font-size: 24px; font-weight: 600; padding: 15px 20px 10px 20px; color: black; transition: color 0.3s ease; } .main-div4-block:hover .main-div4-fn1, .main-div4-block:hover .main-div4-fn2 { color: white; } .main-div4-fn2 { opacity: 0.8; font-size: 14px; padding: 0 20px 20px; color: black; transition: color 0.3s ease; } @media (max-width: 768px) { .Heading-Info { font-size: 2rem; } .main-div4-block { height: auto; } .main-div4-fn1, .main-div4-fn2 { padding: 10px; font-size: 16px; } .div-order { gap: 20px; } .main-div4-block:hover img { filter: brightness(95%); } } /* Sliding Info End */ /** BLOG PAGE */ .section-header { text-align: left; margin: 40px 60px; font-size: 3rem; color: black; } .articles-container { display: flex; justify-content: center; gap: 30px; padding: 0 60px; flex-wrap: wrap; } .article { text-align: left; max-width: 350px; margin: 0px 30px; } .article-image-container { overflow: hidden; /* Prevent the zoomed image from overflowing */ border-radius: 5px; } .article img { width: 100%; height: auto; transition: transform 0.3s ease; /* Smooth zoom effect */ } .article-image-container:hover img { transform: scale(1.1); /* Zoom the image within its container */ } .article-title { font-size: 1.5rem; font-weight: bold; margin: 10px 0; color: black; } .article-link { font-size: 1rem; color: #81b29a; text-decoration: none; position: relative; /* Enable pseudo-element positioning */ display: inline-block; /* Needed for pseudo-element alignment */ transition: color 0.3s; } .article-link:hover { color: #777d74; } .article-link::after { content: ''; position: absolute; left: 0; bottom: -2px; /* Position the line just below the text */ width: 0%; height: 1px; background-color: black; transition: width 0.3s ease; /* Smooth line animation */ } .article-link:hover::after { width: 100%; /* Expand the line to full width on hover */ } /* END BLOG */ /* Footer Start */ footer { background-color: #ffffff; color: #333; padding: 40px 60px; box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1); display: flex; justify-content: space-between; flex-wrap: wrap; } /* Logo Section */ .footer-logo { max-width: 300px; } .footer-logo h1 { margin: 0; font-size: 2.5rem; font-weight: bold; color: #222; } .footer-logo span { font-size: 3rem; font-weight: bold; color: #000; } .footer-logo p { font-size: 1rem; margin-top: 10px; color: #666; } /* Navigation Section */ .footer-nav { flex: 1; max-width: 300px; } .footer-nav ul { list-style: none; padding: 0; } .footer-nav li { margin: 15px 0; } .footer-nav a { text-decoration: none; color: #333; font-size: 1rem; transition: color 0.3s; } .footer-nav a:hover { color: #888; } /* Contact Section */ .footer-contact { max-width: 300px; } .footer-contact h2 { font-size: 1.5rem; margin: 0 0 15px; color: #222; } .footer-contact p { font-size: 1rem; margin: 10px 0; color: #666; } .footer-social { margin-top: 15px; width: 100%; } .footer-social a { text-decoration: none; margin: 0 10px; font-size: 1.5rem; color: #333; transition: color 0.3s; width: 100%; } .footer-social a:hover { color: #888; width: 100%; } /* Bottom Section */ .footer-bottom { margin-top: 30px; width: 100%; text-align: center; font-size: 0.875rem; color: #999; border-top: 1px solid #ddd; padding-top: 20px; } /* Responsive Design */ @media (max-width: 768px) { footer { flex-direction: column; align-items: center; } .footer-logo, .footer-nav, .footer-contact { max-width: 100%; text-align: center; margin-bottom: 20px; } } /* Footer End */