/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body: Whiter Background and Dark Text */
body {
    font-family: 'Arial', sans-serif;
    background-color: #fafaf7;  /* Updated to #fafaf7 */
    color: #333333;             /* Dark gray text for readability */
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
.header {
    background-color: #fafaf7;          /* Updated background */
    border-bottom: 3px solid #CCCCCC;   /* Thicker silver border */
    padding: 20px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.header-image img {
    width: 150px;
    height: auto;
    border-radius: 50%;
}

.header-text {
    text-align: right;
    color: #333333;                      /* Dark gray text */
}

.header-text h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #dec759;                      /* Vibrant yellow */
}

.header-text p {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Links in Header */
.header-links a {
    color: #75a2e6;                       
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 10px;
}

.header-links a:hover {
    color: #FFB800;                      /* Slightly darker yellow on hover */
    text-decoration: underline;
}

/* Prevent Line Breaks (for Header Only) */
.header-nowrap {
    white-space: nowrap;                 /* Avoid line breaks */
    overflow-x: auto;                    /* Enable horizontal scroll if needed */
    display: block;
    margin-bottom: 10px;
}

/* Navigation Buttons */
.navigation {
    text-align: center;
    margin: 20px 0;
}

.navigation button {
    background-color: #253b8a;           /* Bright blue */
    color: #FFF;                         /* White text */
    border: none;
    padding: 10px 20px;
    margin: 5px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.navigation button:hover {
    background-color: #dec759;           /* Vibrant yellow on hover */
    color: #2c3266;                      /* Dark blue text on hover */
}

/* Hero Section */
.hero-section {
    background-color: #fafaf7;           /* Updated background */
    border: 3px solid #CCCCCC;           /* Thicker silver border */
    text-align: center;
    padding: 50px 20px;
}

.hero-section h1 {
    font-size: 30px;
    color: #dec759;                      /* Vibrant yellow */
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #333333;                      /* Dark gray text */
}

.hero-section .btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1em;
    text-decoration: none;
    border-radius: 5px;
    color: #000000;                      /* Black text */
    background-color: #dec759;           /* Vibrant yellow background */
    font-weight: bold;
    border: 1px solid transparent;
}

.hero-section .btn:hover {
    background-color: #E6AE00;           /* Slightly darker yellow on hover */
}

/* About (Medium) Section */
.medium-section {
    background-color: #fafaf7;           /* Updated background */
    border: 3px solid #CCCCCC;           /* Thicker silver border */
    padding: 50px 20px;
    text-align: left;
}

.medium-section h2 {
    font-size: 2em;
    color: #dec759;                      /* Vibrant yellow */
    margin-bottom: 20px;
}

.medium-section p {
    font-size: 1.1em;
    color: #333333;                      /* Dark gray text */
}

/* CTA Section */
.cta-section {
    background-color: #fafaf7;           /* Updated background */
    border: 3px solid #CCCCCC;           /* Thicker silver border */
    text-align: left;
    padding: 50px 20px;
}

.cta-section h2 {
    font-size: 2em;
    color: #dec759;                      /* Vibrant yellow */
    margin-bottom: 20px;
}

.cta-section .btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1em;
    text-decoration: none;
    border-radius: 5px;
    color: #000000;                      /* Black text */
    background-color: #dec759;           /* Vibrant yellow background */
    font-weight: bold;
    border: 1px solid transparent;
}

.cta-section .btn:hover {
    background-color: #E6AE00;           /* Slightly darker yellow on hover */
}

/* Footer */
.footer {
    background-color: #fafaf7;           /* Updated background */
    border-top: 3px solid #CCCCCC;       /* Thicker silver border */
    text-align: center;
    padding: 20px 0;
}

.footer p {
    font-size: 0.9em;
    color: #666666;                      /* Medium gray text */
}

/* Responsive Image */
.responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Image Container */
.image-container {
    text-align: center;
    margin-top: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.image-caption {
    font-size: 0.9em;
    color: #666666;                      /* Medium gray text */
    margin-top: 10px;
}

/* Hoverable Regions */
.hover-region {
    position: absolute;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-region:hover {
    border: 2px solid #dec759;           /* Vibrant yellow border */
    background-color: rgba(255, 195, 0, 0.3); /* Semi-transparent yellow */
}

/* Example “small-image-container” (for the first sample image) */
.small-image-container img {
    width: 40vw;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* The second “small-image-container2” floats right, narrower by default. */
/* Updated margin to prevent collision */
.small-image-container2 img {
    width: 15vw;
    height: auto;
    float: right;
    display: block;
    margin: 0 0 20px 20px; /* Add left & bottom space */
}

/* The third “small-image-container3” is centered, with a moderate width. */
.small-image-container3 {
    text-align: center; 
    margin: 20px auto;
}
.small-image-container3 img {
    width: 30vw;
    height: auto;
    display: inline-block; /* so it centers within .small-image-container3 */
}

/* 
   If you specifically use .image-container2 or .image-container3 
   (instead of .small-image-container2 / .small-image-container3),
   you can style them similarly here:
*/
.image-container2 {
    text-align: right;
    margin: 20px auto;
}
.image-container2 img {
    width: 10vw;
    height: auto;
    display: block;
    margin: 20px auto;
    float: right;
}

.image-container3 {
    text-align: center;
    margin: 20px auto;
}
.image-container3 img {
    width: 15vw;
    height: auto;
    display: inline-block;
}

/* Steps Image Container */
.steps-image-container2 img {
    width: 60vw;
    height: auto;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .hero-section {
        padding: 30px 15px;
    }
    .hero-section h1 {
        font-size: 24px;
    }
    .hero-section p {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .medium-section,
    .cta-section {
        padding: 30px 15px;
    }
    .medium-section h2,
    .cta-section h2 {
        font-size: 1.6em;
    }
    .medium-section p,
    .cta-section p {
        font-size: 1em;
    }
    .cta-section .btn {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    .footer p {
        font-size: 0.8em;
    }
    .header-text h1 {
        font-size: 1.4rem;
    }
    .header-text p {
        font-size: 0.9rem;
    }
    .navigation button {
        margin: 5px 3px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 500px) {
    .hero-section {
        padding: 20px 10px;
    }
    .header-image img {
        width: 66px;
        height: auto;
    }
    .hero-section h1 {
        font-size: 20px;
    }
    .hero-section p {
        font-size: 0.9em;
        margin-bottom: 15px;
    }
    .medium-section,
    .cta-section {
        padding: 20px 10px;
    }
    .medium-section h2,
    .cta-section h2 {
        font-size: 1.3em;
    }
    .medium-section p,
    .cta-section p {
        font-size: 0.95em;
    }
    .cta-section .btn {
        padding: 10px 20px;
        font-size: 0.85em;
    }
    .footer p {
        font-size: 0.75em;
    }
    .header-text h1 {
        font-size: 0.95rem;
    }
    .header-text p {
        font-size: 0.55rem;
    }
    .navigation button {
        margin: 3px 2px;
        font-size: 0.85rem;
        padding: 8px 15px;
    }

    /* Make containers more fluid for small phones */
    .image-container, 
    .image-container2,
    .image-container3 {
        width: 80%;
        margin: 0 auto;
        text-align: center; 
    }

    .small-image-container, 
    .small-image-container3 {
        width: 50%;
        margin: 0 auto;
        text-align: center;
        display: block; 
    }

    .small-image-container2, 
 {
        width: 50%;
        margin: 0 auto;
        text-align: right;
        display: block; 
    }


    .steps-image-container2 {
        width: 100%;
        margin: 0 auto;
        text-align: center; 
    }
}

/* Example Fix: Prevent images from colliding with borders in .testimonial-item */
.testimonial-item {
    border: 2px solid #CCC;    /* Gives the section a visible border */
    padding: 20px;             /* Internal spacing to keep content away from edge */
    margin: 30px 0;            /* Spacing above/below to avoid overlap */
    position: relative;        
    overflow: auto;            /* Ensures floated/positioned items don't break layout */
}

/* Ensure images inside .testimonial-item don’t overlap the border */
.testimonial-item img {
    float: right;              
    margin: 0 0 10px 10px;     
    max-width: 100%;           
    height: auto;              
}