/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* CSS Variables for Theming */
:root {
    --primary-header-color: #CC4E5C;
    --primary-body-color: #E2725B;
    --primary-cards-color: #EEE8AA;
    --secondary-cards-color: #2F847C;
    --third-cards-color: #9ACA9D;
    --forth-cards-color: #E5DC8B;
    --text-color: #ffffff;
    --black-text-color: #000000;
    --primary-font: 'Nunito', sans-serif;
    --secondary-font: 'Open Sans', sans-serif;
}

/* Global Styles */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--primary-body-color);
    
}
body h1 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: var(--text-color);
}

/* Navbar Styles */

.custom-navbar {
    background-color: var(--primary-header-color);
  
}

/* nav bar font color */
.custom-navbar .navbar-brand,
.custom-navbar .nav-link {
  color: var(--text-color);
}

/* set hover/focus states */
.custom-navbar .nav-link:hover,
.custom-navbar .nav-link:focus {
  color: #833f46;
}

/* Logo Image Styles */
.navbar-brand img {
     height: 40px;      /* controls visible size */
     width: auto;       /* keep aspect ratio */
     display: block;
     vertical-align: middle;

}
.navbar-brand {
  display: inline-flex;
  align-items: center;   /* vertically centers img + text */
  gap: 0.5rem;           /* space between logo and text (instead of me-2) */
}

/* Hero Section Styles */

#home {
    background-image: url(../images/hero-image.jpg);
    background-size: cover; /* makes it fill the screen */
    background-position: center 5%; /* keeps it nicely aligned */
    background-repeat: no-repeat; /* no ugly tiles */
    height: 700px; /* set a fixed height for the hero section */
}

#home img {
    max-width: 500px; /* limit logo size */
    height: auto; /* maintain aspect ratio */
}

#home .btn:hover,
#home .btn:focus {
    background-color: var(--primary-header-color);
    color: var(--text-color);
    font-weight: 600;
    border-color: transparent;
    transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

/* About Section Styles */

#about {
    background-color: var(--primary-body-color);
}

#about img {
    max-width: 500px; /* make image responsive */
    height: auto; /* maintain aspect ratio */
    border-radius: 16px; /* try 6px, 8px, 10px until you like it */
}

#about p {
    font-size: 1.5rem; /* increase font size for better readability */
    line-height: 1.6; /* improve line spacing */

}

/* Values Section Styles */

#values {
    background-color: var(--primary-body-color);
}
#values > .container {
    background-color: var(--primary-cards-color);
    padding: 3rem;
}

#values .container {
    border-radius: 16px; /* try 6px, 8px, 10px until you like it */
}

#values .card-body {
    background-color: var(--secondary-cards-color);
    color: var(--text-color);
}

#respect-image, #equity-image, #openness-image {
    width: 100%; /* set a fixed width for the icons */
    height: auto; /* maintain aspect ratio */
    display: block;
}

#values  p {
    font-size: 1.5rem; /* increase font size for better readability */
    line-height: 1.6; /* improve line spacing */
    color: var(--text-color);
    text-align: center;
}

/* Values Section Hover Effects */
.image-box {
    cursor: pointer;
    display: inline-block;
}

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

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
}

.image-box:hover .overlay {
    opacity: 1;
}

.collapse {
    transition-duration: .6s;
    transition-timing-function: ease-in-out;
}
/* Action Section Styles */

#action {
    background-color: var(--primary-body-color);
}

#action .action-container {
    background-color: var(--third-cards-color);
    padding: 3rem;
}

#action .action-container {
    border-radius: 16px; /* try 6px, 8px, 10px until you like it */
}
#action .card {
    background-color: var(--forth-cards-color);
}

/* Contact Section Styles */
#contact {
    background-color: var(--primary-body-color);
}   

#contact .container {
    background-color: var(--secondary-cards-color);
    padding: 3rem;
}

#contact .container {
    border-radius: 16px; /* try 6px, 8px, 10px until you like it */
}

  /* Hover & focus effect for the whole input/textarea box */
  #contact .form-control:hover,
  #contact .form-control:focus {
    background-color: #db925a; /* light blue background on hover/focus */
    border-color: #0d6efd;      /* optional: change border too */
    box-shadow: 0 0 8px rgba(13, 110, 253, 0.3); /* optional glow */
  }

  /* Smooth transition for nicer effect */
  #contact .form-control {
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
  }

  #contact .btn {
        background-color: var(--primary-header-color);
        color: var(--text-color);
        font-weight: 600;
        border-color: transparent;
        transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  }

    /* Hover / focus styles for contact buttons */
    #contact .btn:hover,
    #contact .btn:focus {
        background-color: #B84452; /* slightly darker than --primary-header-color */
        color: var(--text-color);
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
        outline: none;
    }

    /* Stronger focus-visible for accessibility */
    #contact .btn:focus-visible {
        box-shadow: 0 0 0 4px rgba(204,78,92,0.18);
    }
/* Footer Styles */
.footer {
    background-color: var(--primary-header-color);
}

/* Toggle heading style for collapse buttons (make them look like headings) */
.toggle-heading {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}
.toggle-heading:focus {
    outline: 3px solid rgba(0,0,0,0.08);
    outline-offset: 2px;
}

/* Success Page Specific Styles */
.success-page .success-box {
    background-color: var(--secondary-cards-color);
    color: var(--text-color);
}

/* Media Queries for Responsiveness */
@media (max-width: 767px) {
    #about img { max-width: 100%; }
    #about p { font-size: 1rem; } /* reduce text size if needed */
}