/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f5f7fa;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
header {
    background-color: #fff;
    color: #fff;
    padding: 2rem 0;
    padding-left: 1.875rem;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.875rem 2rem 1.875rem;
    display: flex;
}

/* Navigation styles */
nav {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

nav a {
    color: #000;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #0e40bc;
}

.header-right {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.header-right a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
    justify-content: flex-end;
}

.header-right a:hover {
    color: #0e40bc;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: black;
    text-decoration: none;
}

/* Hamburger hidden by default */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: black;
    transition: 0.3s;
}

.header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo {
    width: 6.25rem;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

.site-title {
    color: #355797;
    font-size: 2.1rem;
    margin-left: 0.625rem;
    margin-bottom: 0.0625rem;
}

section h1 {
    color: #1a2236;
    font-size: 1.52rem;
    margin-bottom: 1rem;
    text-align: left;
}

/* Main content styles */
main {
    flex: 1;
    margin: 2rem auto;
    padding-top: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    background: #fff;
    border-radius: 0.5rem;
    width: 94%;
    height: 94%;
    box-shadow: 0 0.25rem 1.5rem rgba(0,0,0,0.07);
}

/* Section styles */
section {
    margin-bottom: 2rem;
}

.page-section h2 {
    color: #1a2236;
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-size: 1.5rem;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

#about {
    text-align: start;
    padding: 0 1rem;
}

#contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 25rem;
    margin: 0 auto;
}

input {
    padding: 0.5rem;
    border: 0.0625rem solid #ccc;
    border-radius: 0.25rem;
    font-size: 1rem;
}

textarea {
    padding: 0.5rem;
    border: 0.0625rem solid #ccc;
    border-radius: 0.25rem;
    font-size: 1rem;
    min-height: 6.25rem;
    resize: vertical;
}

/* Button styles */
.button, button {
    border: none;
    display:block; 
    margin-left:auto; 
    margin-right:auto;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: 0.2s;
}

#header-divider {
    width: 100%;
    height: 0.125rem;
    background: #2d3d66;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
}
#header-divider.visible {
    opacity: 1;
}

/* Footer styles */
footer {
    background: #1a2236;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.95rem;
    border-top: 0.0625rem solid #222;
    display: block;
}

/* Responsive design */
@media (max-width: 43.75rem) {
    main {
        padding: 1rem;
    }
    header h1 {
        font-size: 2rem;
    }
    section h2 {
        font-size: 1.2rem;
    }

}


/* ...existing code... */
.features-section {
    margin: 3rem 0 2rem 0;
    text-align: center;
}

.features-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-card {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 1.5rem rgba(0,0,0,0.07);
    padding: 2rem 1.5rem;
    max-width: 18.75rem;
    flex: 1 1 15,625rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.12);
}

.feature-icon-container {
    width: 15rem;
    height: 15rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-icon {
    max-width: 15rem;
    max-height: 15rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #c44415;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-card p {
    color: #444;
    font-size: 1rem;
    line-height: 1.5;
}


/* Responsive features grid */
@media (max-width: 43.75rem) {
    .features-grid {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    .feature-card {
        max-width: 90vw;
    }
}

/* Mobile */
@media (max-width: 48rem) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #fff;
    width: 150px;
    padding: 10px;
    border-radius: 5px;
    z-index: 100;
    margin-top: 2rem;
  }

  .nav-links.show {
    display: flex !important;
    flex-direction: column;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 101;
    margin-bottom: 1rem;
  }

  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: black;
    transition: 0.3s;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(0px, 11px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0px, -12px);
  }

  main {
    flex: 1;
    margin: 2rem auto;
    padding-left: 0rem;
    padding-right: 0rem;
    width: 100%;
}

  #about > div {  
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  #aboutText{
    width: 100% !important;
    display: flex;
    flex-direction: column;
  }

  #aboutText p{
    padding-right: 0rem;
    width: 100%;
    padding: 0.4rem;
  }

  #aboutImage{
    width: 100% !important;
    display: flex;
    justify-content: start !important;
    flex-direction: column;
  }

  #aboutImage img {
    height: 30rem !important;
  }
}