 /* Global Resets & Base Styles from index.html */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html {
scroll-behavior: smooth;
}

body {
font-family: 'Roboto', sans-serif;
color: #333;
margin: 0;
padding-top: 70px; /* Matches navbar height */
background-color: #f8f8f8; /* Consistent with index.html sections */
overflow-x: hidden;
}
h2 {
text-align: center;
margin-bottom: 16px;
color: #1565c0; /* Original color */
}

a {
color: inherit;
text-decoration: none;
}

.img {
max-width: 100%;
height: auto;
display: block;
}

.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

/* --- Navbar (Copied from index.html) --- */
.navbar {
position: fixed;
top: 0;
width: 100%;
background: linear-gradient(90deg, #176693, #2f6d91, #198754);
color: white;
display: flex;
align-items: center;
padding: 0 40px;
height: 70px;
z-index: 10000;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
font-weight: 600;
font-size: 1rem;
}

/* Logo */
.logo-container {
display: flex;
align-items: center;
gap: 12px;
cursor: pointer;
font-size: 1.4rem;
font-weight: 700;
user-select: none;
transition: opacity 0.3s ease;
}
.logo-container:hover,
.logo-container:focus {
opacity: 0.85;
}
.logo-container img {
height: 50px;
width: auto;
border-radius: 6px;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Navigation */
.nav-links {
display: flex;
margin-left: auto;
margin-right: 0;
gap: 32px;
}
.nav-link {
position: relative;
padding: 22px 0;
color: white;
transition: color 0.3s ease;
text-transform: uppercase;
letter-spacing: 0.05em;
cursor: pointer;
}
.nav-link::after {
content: "";
position: absolute;
width: 0;
height: 2.5px;
bottom: 10px;
left: 0;
background-color: #a5d6a7;
transition: width 0.3s ease;
border-radius: 1px;
}
.nav-link:hover,
.nav-link:focus {
color: #a5d6a7;
}
.nav-link:hover::after,
.nav-link:focus::after {
width: 100%;
}

/* Hamburger menu */
.menu-toggle {
display: none;
margin-left: auto;
margin-right: 40px;
font-size: 2rem;
background: transparent;
border: none;
color: white;
cursor: pointer;
transition: transform 0.3s ease;
}
.menu-toggle:hover,
.menu-toggle:focus {
transform: scale(1.1);
color: #a5d6a7;
}

/* Mobile menu */
.nav-menu-mobile {
display: none;
flex-direction: column;
background: rgba(0,0,0,0.9);
position: fixed;
top: 70px;
left: 0;
width: 100%;
height: calc(100% - 70px);
box-shadow: 0 5px 15px rgba(0,0,0,0.5);
z-index: 9999;
transform: translateX(100%);
transition: transform 0.3s ease-in-out;
overflow-y: auto;
}
.nav-menu-mobile.active {
transform: translateX(0);
display: flex;
}
.nav-menu-mobile a {
padding: 16px 24px;
border-top: 1px solid rgba(255,255,255,0.15);
color: white;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.nav-menu-mobile a:hover,
.nav-menu-mobile a:focus {
background-color:;
color: #a5d6a7;
}
/* --- General Section Styling (Consistent with index.html) --- */
.section-title {
font-size: 2.5rem;
margin-bottom: 16px;
color: #1565c0;
font-family: 'Poppins', sans-serif;
text-align: center;
padding-top: 40px; /* Padding for the title */
}
.section-subtitle {
font-size: 1.25rem;
color: #757575;
margin-bottom: 40px;
line-height: 1.6;
max-width: 800px;
margin-left: auto;
margin-right: auto;
text-align: center;
}

/* --- Grid Specific Styles for Samples (Enhanced) --- */
.samples-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
padding: 40px 20px 80px 20px;
max-width: 1200px;
margin: 0 auto;
background-color: white;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
border-radius: 8px;
}
.sample-item { /* New class for individual sample containers */
display: block;
position: relative; /* Needed for text overlay */
overflow: hidden;
border-radius: 10px;
box-shadow: 0 6px 20px rgba(0,0,0,0.15); /* More prominent initial shadow */
transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smoother transition */
border: 1px solid rgba(0,0,0,0.05); /* Subtle border for definition */
}
.sample-item:hover {
transform: translateY(-12px); /* Increased lift effect */
box-shadow: 0 15px 35px rgba(0,0,0,0.25); /* Enhanced shadow on hover */
}
.sample-item img {
width: 100%;
height: 200px;
object-fit: cover;
display: block;
transition: transform 0.4s ease; /* Smoother image zoom */
}
.sample-item:hover img {
transform: scale(1.08); /* More pronounced zoom on image hover */
}

/* Overlay for text/button on hover */
.sample-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(23, 101, 147, 0.85); /* Darker, themed overlay */
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.4s ease;
padding: 15px;
text-align: center;
}
.sample-item:hover .sample-overlay {
opacity: 1;
}
.sample-overlay-title {
font-family: 'Poppins', sans-serif;
font-size: 1.4rem;
margin-bottom: 10px;
color: #a5d6a7; /* Highlight color for title */
text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.sample-overlay-button {
background: #198754; /* Green button from navbar gradient */
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 1rem;
transition: background 0.3s ease, transform 0.2s ease;
display: inline-flex; /* To align icon and text */
align-items: center;
gap: 8px;
}
.sample-overlay-button:hover {
background: #2e7d32; /* Darker green on hover */
transform: translateY(-2px);
}

/* --- Responsive Adjustments (Copied from index.html) --- */
@media (max-width: 992px) {
.nav-links {
display: none;
}
.menu-toggle {
display: block;
margin-right: 20px;
}
.section-title {
font-size: 2rem;
}
.section-subtitle {
font-size: 1.1rem;
}
.samples-grid {
grid-template-columns: 1fr;
max-width: 400px;
padding: 40px 15px 80px 15px;
}
}

@media (max-width: 768px) {
.navbar {
height: 60px;
padding: 0 20px;
}
body {
padding-top: 60px;
}
.navbar .logo-container img {
height: 35px;
}
.navbar .logo-container span {
font-size: 1.3rem;
}
.menu-toggle {
margin-right: 20px;
}
.nav-menu-mobile {
top: 60px;
height: calc(100% - 60px);
}
.section-title {
font-size: 1.8rem;
}
.section-subtitle {
font-size: 1rem;
}
.sample-overlay-title {
font-size: 1.2rem;
}
.sample-overlay-button {
font-size: 0.9rem;
padding: 8px 15px;
}
}

@media (max-width: 480px) {
.section-title {
font-size: 1.6rem;
}
.section-subtitle {
font-size: 0.95rem;
}
.samples-grid {
padding: 30px 10px 60px 10px;
gap: 20px;
}
.sample-item img {
height: 180px;
}
.sample-overlay-title {
font-size: 1.1rem;
}
}

section h2 {
font-size: 3.5rem;
color: #28767d;
text-align: center;
margin-bottom: 1.5rem;
text-shadow: 0 1px 3px rgba(30, 64, 175, 0.5);
}
/* --- Footer Styles --- */
.main-footer {
    background: linear-gradient(90deg, #176693, #2f6d91, #198754);
    color: #ffffff;
    padding: 40px 20px;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    justify-content: space-between; /* Spreads items evenly */
    align-items: flex-start; /* Aligns content to the top of each column */
    gap: 30px; /* Space between columns */
}

.footer-section {
    flex: 1; /* Each section takes equal flexible space */
    min-width: 200px; /* Minimum width before wrapping */
    margin-bottom: 20px; /* Space below sections on smaller screens */
    text-align: left; /* Align text within sections to the left */
}

.footer-section h4 {
    color: #fa3d02; /* Accent color for headings */
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-section p, .footer-section a, .footer-section address {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #e0e0e0;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ffffff;
    text-decoration: underline;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    transition: color 0.3s ease;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: #ffffff;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #fa3d02; /* Accent color on hover */
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    font-size: 0.85rem;
    color: #cccccc;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack sections vertically */
        align-items: center; /* Center items when stacked */
        text-align: center; /* Center text within sections */
    }

    .footer-section {
        width: 100%; /* Full width for each section */
        min-width: unset; /* Remove min-width constraint */
        margin-bottom: 30px;
    }

    .footer-section h4 {
        margin-bottom: 10px;
    }

    .social-links {
        margin-top: 10px;
    }

    .social-links a {
        margin: 0 10px; /* Adjust spacing for social icons */
    }