body {
    font-family: 'Roboto', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8fafc; /* lighter background for better contrast */
    color: #333333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header styles - Dark with modern blue accent */
.site-header {
    background: #0d1f3c; /* deep navy blue */
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease;
    user-select: none;
}

.site-header:hover {
    background-color: #112b52;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.logo img {
    height: 55px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: #e3e7eb;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: #00b0ff;
    background-color: rgba(0, 176, 255, 0.1);
    outline: none;
}

.nav-menu a.active {
    color: #00b0ff;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.6rem;
    color: #e3e7eb;
    background: none;
    border: none;
}

/* Responsive Navigation - hamburger menu for small screens */
@media (max-width: 768px) {
    .nav-menu ul {
        flex-direction: column;
        background: #0d1f3c;
        padding: 15px 20px;
        gap: 15px;
        border-radius: 0 0 8px 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-menu ul.show {
        max-height: 400px;
    }
    .menu-toggle {
        display: block;
    }
}

/* Section base and utility classes */
.section {
    padding: 80px 20px;
    text-align: center;
}

.bg-light {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.08);
    border-radius: 12px;
    margin: 40px auto;
    max-width: 1100px;
    padding: 60px 40px;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 15px;
}

h1, h2, h3 {
    color: #000000;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-top: 0;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

p, li {
    color: #5e5e5e;
    font-size: 1.05rem;
    line-height: 1.65;
}

/* Hero section with container image background */
.hero {
    position: relative;
    color: #fff; /* white text for good contrast */
    padding: 140px 20px 120px;
    text-align: center;
    overflow: hidden;
    background: url('containers-hero.jpg') center center/cover no-repeat;
}
.hero-content{
      background-color: #ffffff79;
  padding: 2.5rem 3rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* subtle shadow */
  max-width: 480px;
  margin: 0 auto 2rem auto;
  color: #003366; /* dark text for contrast */
  text-align: center;
  position: relative; /* ensures text & box layering inside hero */
  z-index: 2; 

}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(49, 49, 49, 0.45); /* dark overlay */
    z-index: 1;
}

.hero .hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.3rem;
    max-width: 480px;
    margin: 0 auto 35px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.2);
}

.btn {
    background-color: #005299;
    color: white;
    padding: 14px 30px;
    margin: 10px;
    text-decoration: none;
    display: inline-block;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 6px 12px rgba(0, 82, 153, 0.28);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    user-select: none;
}

.btn:hover, .btn:focus {
    background-color: #003f73;
    box-shadow: 0 10px 20px rgba(0, 82, 153, 0.48);
    transform: translateY(-3px);
    outline: none;
}

.btn.outline {
    background: transparent;
    border: 3px solid #005299;
    color: #005299;
    box-shadow: none;
}

.btn.outline:hover {
    background-color: #005299;
    color: white;
    box-shadow: 0 6px 12px rgba(0, 82, 153, 0.28);
}

/* Gallery section */
.scrap-gallery {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.scrap-gallery img {
    width: 230px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
    cursor: pointer;
}

.scrap-gallery img:hover, .scrap-gallery img:focus {
    transform: scale(1.08) rotate(1deg);
    box-shadow: 0 10px 28px rgba(0,0,0,0.3);
    outline: none;
}

/* Cards container for content or features */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    justify-content: center;
    padding: 0 20px;
}

.card {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    padding: 28px 24px;
    width: 320px;
    border-radius: 14px;
    box-shadow: 0 3px 18px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.card:hover, .card:focus-within {
    box-shadow: 0 14px 36px rgba(0,0,0,0.15);
    transform: translateY(-5px);
    outline: none;
}

.features {
    list-style: none;
    padding: 0;
    color: #444;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 400px;
    margin: auto;
    text-align: left;
}

.features li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #005299;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Steps section for instructions or process */
.steps {
    display: flex;
    flex-direction: column;
    gap: 26px;
    max-width: 600px;
    margin: auto;
    text-align: left;
    font-size: 1.05rem;
    color: #333;
}

.steps h3 {
    margin-bottom: 10px;
    font-weight: 700;
}

/* Blockquote styling */
blockquote {
    font-style: italic;
    background: #c7dafc;
    padding: 24px 28px;
    border-left: 6px solid #005299;
    margin: 30px 0;
    font-size: 1.1rem;
    color: #003054;
    border-radius: 8px;
}

/* Contact form styling */
.contact-form {
    max-width: 450px;
    margin: 0 auto 30px;
    text-align: left;
}

.contact-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: #013a63;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1.8px solid #99b4d1;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
    resize: none;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: #005299;
    outline: none;
    box-shadow: 0 0 8px #00529955;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-info {
    max-width: 450px;
    margin: auto;
    font-size: 1rem;
    color: #444;
    text-align: center;
}

.contact-info p {
    margin: 6px 0;
}

/* Footer - Dark with blue accent */
.footer {
    background: #0d1f3c;
    color: #d0d6de;
    padding: 28px 20px;
    text-align: center;
    font-size: 0.9rem;
    box-shadow: inset 0 1px 10px rgba(255, 255, 255, 0.1);
    user-select: none;
}

.footer a {
    color: #00acee;
    margin: 0 8px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}

.footer a:hover, .footer a:focus {
    color: #0094d6;
    outline: none;
}

/* Animations for fade in effects */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
}

.fade-in.delay {
    animation-delay: 0.5s;
}

.fade-in.delay-more {
    animation-delay: 1s;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Responsive adjustments for smaller devices */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.75rem;
    }
    .hero p {
        font-size: 1.25rem;
    }
    .cards {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 90%;
        max-width: 400px;
    }
    .hero {
        padding: 120px 15px 100px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .nav-menu ul {
        gap: 12px;
    }
    .nav-menu a {
        font-size: 0.95rem;
        padding: 6px 10px;
    }
}

/* Accessibility focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid #005299;
    outline-offset: 3px;
}
