/*html {
    font-size: 14px;
}
*/
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
   }

.text_white {
    color: white;
}


.btn_style {
    background-color: blueviolet;
    font-size: 1rem;
}

.form_style {
    align-content: space-evenly;
    background-color: blueviolet;
    font-size: 1.2rem;
}

.text_header {
    margin-top: 10px;
    color: var(--header-color);
    font-size: 20px;
    margin-left : 65px;
}
.text_style {
    color: white;
    font-size: 18px;
    margin-left: 65px;
}
.text-custom {
    color: green;
}
.logo_style {
    align-content : start;
    margin-left : 20px;
    width : 100px;
    height: 100px; /* optional: control size */
}
.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.text-menu-item {
    color: white;
}
.text-company_header {
    display: flex; /* puts logo + text in a row */
    align-items: center; /* vertical centering */
    justify-content: flex-start; /* align to the left */
    gap: 10px; /* space between logo and text */
    font-family: 'Inter', 'Roboto', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: greenyellow;
    padding: 10px 20px;
}

.small_logo {
    width: 60px; /* adjust logo size */
    height: 60px;
}
/* Custom navbar background */
.navbar-custom {
    display: flex;
    align-content: flex-end;
    background-color: darkblue; /* Dark blue-gray */
}

    /* Change text color for links */
    .navbar-custom .nav-link {
        font-size : 2rem;
        color: #ecf0f1; /* Light gray */
    }

        .navbar-custom .nav-link:hover {
            color: #f39c12; /* Orange on hover */
        }
.nav-link.active {
    color: orange !important; /* Text color */
    /*background-color: #007bff !important;*/ /* Background color */
    font-weight: bold; /* Optional: make it stand out */
    border-radius: 4px; /* Optional: rounded corners */
}

.nav {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul {
    gap: 1rem;
    flex-direction: row;
    align-items: center;
}

.nav :hover {
    color: #f39c12; /* Orange on hover */
}

.nav a {
    text-decoration: none;
    padding: 8px 12px;
    font-size: 2rem;
    color: white;
}

    .nav a.active {
        color: orange;
        border-radius: 4px;
        font-weight: bold;
    }

:root {
    --text-color: white;
    --card-bg: #f9f9f9;
    --header-color: lawngreen;
    --tab-color: darkgoldenrod;
}
body {
/*    font-family: Arial Rounded MT;
*/    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-image: url('../images/bg5.jpg'); /* Replace with your actual image path */
}
.content {
    position: absolute;
    top: 100px; /* below header + nav */
    bottom: 40px; /* above footer */
    left: 0;
    right: 0;
    overflow-y: auto; /* scroll only content */
    padding: 20px;
}
.bg {
    margin: 0; /* Removes default spacing */
    padding : 0 ;
    background: url('../images/bg5.jpg') no-repeat center center fixed;
    background-size: cover; /* Ensures the image covers the whole area */
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Main Container */
.container {
   /* max-width: 1200px;
    height : 200px;*/
    margin: 0 auto;
    padding: 0 20px;
}

/* Header/krishtech Section */
.krishtech1 {
    padding: 10px 10px;
}
.krishtech {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0080ff 100%);
    color: var(--header-color);
    margin-top: 20px;
    display: flex; /* Enables horizontal alignment */
    flex-direction: row; /* Places items side by side */
    align-items: self-start; /* Vertically centers them */
    justify-content: left; /* Centers items horizontally */
    gap: 20px; /* Adds spacing between items */
}

.krishtech1 h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--header-color);
    align-content: end;
}

.krishtech1 p {
    font-size: 1.2rem;
    align-content: end;
    color: var(--text-color);
}


/* Main Content */
main {
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
}

h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  color : white;
}

.service-card {
/*    background-color : gray
*/    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
    .service-card h1 {
        margin-top: 0;
        color: var(--header-color);
        font-size: 2.2rem;
    }
.service-card h2 {
  margin-top: 0;
    color: var(--header-color);
    font-size : 1.75rem;
    }
    .service-card h3 {
        font-size: 1.5rem;
        margin-top: 0;
        color: var(--header-color);
    }
    .service-card p {
        color: var(--text-color);
        font-size: 1.3rem;
    }
    .service-card li {
        color: var(--text-color);
        font-size: 1.1rem;
    }


/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid var(--border-color);
        border-radius: 4px;
        font-family: 'Arial Rounded MT';
        font-size: 1.2rem;
    }

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(0, 86, 179, 0.2);
}

.btn {
  background-color: var(--secondary-color);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #218838;
}

/* Footer */
footer {
    background-color: indigo;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
      /* Reduce height */
    padding: 5px 0;       /* smaller vertical padding */
    line-height: 0;     /* tighter text spacing */
    min-height: 10px;     /* optional: set a fixed minimum height */
}

/*.footer {
    background-color: darkblue;
    color: orange;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;*/ /* space above footer */
    /*height: 80px;*/ /* fixed height */
/*}*/
/* Page Sections */
.page-section {
    margin: 2rem 0;
    color: var(--text-color);
}
    .page-section h2 {
        margin-top: 0;
        color: var(--header-color);
        font-size : 1.75rem;
    }
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    color: var(--text-color);
    font-size : 1.2rem;
}
    .about-content h2 {
        margin-top: 0;
        color: var(--header-color);
    }
    .about-content h3 {
        margin-top: 0;
        color: var(--header-color);
    }
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

    .login-container {
        max-width: 400px;
        margin: 80px auto;
        padding: 30px;
        background: #f9f9f9;
        border-radius: 8px;
        box-shadow: 0 0 15px rgba(0,0,0,0.1);
    }

        .login-container h2 {
            margin-bottom: 20px;
            color: #333;
        }

}
