/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --dark-blue: #1b1e44;
    --relative-teal: #11cbff;
}

body {
    color: #333;
    background-color: #f9f9f9;
    font-weight: 400;
	font-size: 1em;
	line-height: 1.25;
	font-family: 'Raleway', Calibri, Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
html { 
    height: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #222;
}

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

h2 {
    margin-bottom: 20px;
}

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

ul {
    list-style-type: none;
}

/* Utility Classes */
.u-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.u-text_center {
    text-align: center;
}

.u-mgt_50 {
    margin-top: 50px;
}

.u-mgt_100 {
    margin-top: 100px;
}

/* Header */
.g-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.g-header_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.g-hNav_items {
    display: flex;
    list-style: none;
    gap: 8px;
    border-bottom: solid 1px var(--dark-blue);
    border-top: solid 1px var(--dark-blue);

}
.g-hNav_item {
    display: flex;
    align-items: center;
    margin-left: 0;
    width: auto;
    transition: all 0.6s ease 0s;
}

.menu-items .g-hNav_item:hover {
    background: #ccc;
}
.g-content {
    flex: 1;
}

.g-header_top {
    padding: 10px;
    display: flex;
    align-items: center;
}

/* Hero Section */
.c-hero {
    position: relative;
    color: #fff;
    padding: 200px 0;
    text-align: center;
    overflow: hidden;
}

.c-hero_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.c-hero_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-hero_inner {
    position: relative;
    z-index: 2;
    align-items: center;
}

.c-hero_title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.c-hero_subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.c-hero_button {
    background-color: #007BFF;
    color: #fff;
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.c-hero_button:hover {
    background-color: #0056b3;
}

/* Sections */
.c-section {
    padding: 100px 0;
    gap: 20px;
}

.c-section--bg-gray {
    background-color: #f4f4f4;
}

.c-section--bg-dark {
    background-color: #dcdcdc;
    color: var(--dark-blue);
}
.c-section_lead {
    font-size: 1.1rem;
    line-height: 1.8;
}

.c-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.c-grid_item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.c-grid_item h3 {
    margin-bottom: 10px;
}

.c-linkButton {
    display: inline-block;
    color: var(--dark-blue);
    padding: 10px 30px;
    border-radius: 2px;
    font-weight: 600;
    transition: background-color 0.22s ease-in-out;
    border: 1.5px solid var(--dark-blue);
    margin-top: 20px;
    background-color: transparent;
}

.c-linkButton:hover {
    color: white;
    background-color: var(--dark-blue);
}

.c-linkButton--light {
    color: white;
    border: 1.5px solid white;
}

.c-linkButton--light:hover {
    background-color: #f4f4f4;
}

/* Portfolio */
.c-portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.c-portfolio_item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.c-portfolio_item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.c-portfolio_item h3 {
    padding: 20px 20px 10px;
}

.c-portfolio_item p {
    padding: 0 20px 20px;
}

/* Footer */
.g-footer {
    background-color: #222;
    color: #fff;
    padding: 50px 0;
}

.g-footer_nav {
    margin-bottom: 30px;
}

.g-footer_nav_items {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 20px;
}

.g-footer_nav_item {
    margin: 0;
}

.g-footer_nav_box {
    color: #fff;
    transition: color 0.3s ease;
}

.g-footer_nav_box:hover {
    color: #007BFF;
}

.g-footer_bottom {
    text-align: center;
    color: #ccc;
}
.g-footer_copy {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #ccc;
}

.g-fNav_box {
    font-size: 0.9rem;
    color: #ccc;
}

/* Page Top Button */
.g-pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-align: center;
    align-content: center;
    background-color: var(--relative-teal);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: none;
}

.pagetop_box {
 color: white;
}

/* Contact Form Styles */
.c-contactForm {
    max-width: 600px;
    margin-top: 40px;
}

.c-contactForm_group {
    margin-bottom: 20px;
}

.c-contactForm_group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.c-contactForm_group input,
.c-contactForm_group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

.c-contactForm_group textarea {
    resize: vertical;
    min-height: 150px;
}

.c-contactForm button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

.g-pagetop:hover {
    background-color: #0056b3;
}

.g-pagetop--visible {
    display: block;
}

/* Updated Navigation Buttons */
.g-hNav_box {
    position: relative;
    display: inline-block;
    padding: 4px 16px;
    color: #333;
    overflow: hidden;
    font-weight: 500;
    transition: color 0.3s ease;
}

.g-hNav_box::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease-out;
    z-index: -1;
}

.g-hNav_box:hover::before {
    transform: scaleX(1);
}

.g-hNav_items .g-hNav_box:hover {
    color: #fff;
}

.c-hero_btn {
    position: relative;
    overflow: hidden;
    display: -webkit-box; /* Fallback for older browsers */
    display: -ms-flexbox; /* Fallback for older browsers */
    display: flex;
    -webkit-box-align: center; /* Fallback for older browsers */
    -ms-flex-align: center; /* Fallback for older browsers */
    align-items: center;
    -webkit-box-pack: center; /* Fallback for older browsers */
    -ms-flex-pack: center; /* Fallback for older browsers */
    justify-content: center;
    max-width: 180px;
    width: 100%;
    padding: 0px 2px;
    border-radius: 2px;
    margin: 0 auto; /* Center the button horizontally */
}

.c-hero_btn a {
    color: white;
    font-weight: 500;
    width: 100%;
    height: 100%;
    text-align: center; /* Fallback for older browsers */
}

.inner {
    display: -webkit-box; /* Fallback for older browsers */
    display: -ms-flexbox; /* Fallback for older browsers */
    display: flex;
    -webkit-box-align: center; /* Fallback for older browsers */
    -ms-flex-align: center; /* Fallback for older browsers */
    align-items: center;
    -webkit-box-pack: center; /* Fallback for older browsers */
    -ms-flex-pack: center; /* Fallback for older browsers */
    justify-content: center;
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 2px;
    height: 40px;
    color: #fff;
    border-radius: 2px;
    background: var(--relative-teal);
    box-shadow: 0px 0px 2px rgba(145, 235, 255, 0.397);
    transition: transform 0.2s ease-in-out;
    text-align: center; /* Fallback for older browsers */
}

.c-hero_btn::before {
    content: "";
    display: block;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(232, 252, 255, 0.844) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    height: 300px;
    width: 100px;
    transform: translate(0);
    position: absolute;
    z-index: 0;
    top: 50%;
    transform-origin: top center;
    visibility: hidden;
}
.c-hero_btn:hover::before {
    animation: rotate 2s linear forwards infinite;
    visibility: visible;
}

.inner:hover {
    transform: scale(1.02);
}
.inner p {
    height: 100%;
    align-content: center;
    font-weight: 600;
    color: #fff;
}

.card_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@media (max-width: 640px) {
    .g-hNav_box {
      padding: 4px 8px;
    }
  }

/* Active State for Navigation Buttons */
.g-hNav_box.js-linkFocus[aria-current="page"] {
    background-color: none;
}

.menu {
    display: flex;
    align-items: center;
  }
  
  .menu-icon {
    display: block;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    z-index: 2; /* Ensure the icon is above the menu items */
  }
  
  .menu-icon span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease-in-out;
  }
  
  .menu-icon span:nth-child(1) {
    top: 8px;
  }
  
  .menu-icon span:nth-child(2) {
    top: 14px;
  }
  
  .menu-icon span:nth-child(3) {
    top: 20px;
  }
  
  #menu-toggle {
    display: none;
  }
  
  #menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 3px);
  }
  
  #menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  
  #menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none; /* Hide by default */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  #menu-toggle:checked ~ .menu-items {
    display: flex; /* Show when checked */
  }
  
  .menu-items li {
    padding: 10px;
  }
  
  /* Media query for smaller screens */
  @media (max-width: 700px) {
    .menu-icon {
      display: block; /* Show the icon on smaller screens */
    }
  
    .menu-items {
      display: none;
    }

    .g-header_nav {
        display: none;
    }
  }

   /* Media query for larger screens */
   @media (min-width: 701px) {
    .menu-icon {
      display: none; /* Show the icon on smaller screens */
    }
  
    .menu-items {
      display: none !important;
    }
  }