body {
    padding-top: 100px;
}

.container.mt-6 {
    min-height: 100%;
    background-color: #edf1f2;
    height: auto !important;
    height: 100%;
    margin: 0 auto -309px;
    padding: 0 0 309px;
}

/* Fix dropdown menus */
.navbar .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
}

.navbar .dropdown-menu li {
    display: block;
}

.navbar .dropdown-menu li a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.navbar .dropdown-menu li a:hover {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

/* Card spacing fixes */
.grid-item {
    margin-bottom: 20px;
}

.list-item {
    margin-bottom: 15px;
}

/* Ensure proper spacing between cards in grid */
.row-sm .grid-item:nth-child(odd) {
    padding-right: 10px;
}

.row-sm .grid-item:nth-child(even) {
    padding-left: 10px;
}


/* 
========================================
   FOOTER STYLES
========================================
*/

/* Fix for container margin - override Layui */

footer {
    background-color: #1a202c;
    color: #ffffff;
    padding: 60px 0 40px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Newsletter Section */
.newsletter-section {
    margin-bottom: 60px;
    text-align: center;
}

.newsletter-section h3 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.newsletter-section p {
    color: #a0aec0;
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.5;
}

.newsletter-form {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form .flex {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.newsletter-form input[type="email"] {
    flex: 1;
    border: none;
    background-color: #2d3748;
    padding: 16px 20px;
    color: #ffffff;
    outline: none;
    font-size: 16px;
}

.newsletter-form input[type="email"]::placeholder {
    color: #a0aec0;
}

.newsletter-form input[type="email"]:focus {
    background-color: #4a5568;
}

.newsletter-form button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 16px 32px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.newsletter-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 15px rgba(102, 126, 234, 0.4);
}

/* Main Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
        gap: 60px;
    }
}

/* Brand Section */
.brand-section {
    max-width: 300px;
}

.brand-section a {
    display: inline-block;
    margin-bottom: 24px;
    text-decoration: none;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(102, 126, 234, 0.3);
}

.logo-icon span {
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.brand-description {
    color: #a0aec0;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-links a {
    color: #a0aec0;
    font-size: 20px;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 6px;
}

.social-links a:hover {
    color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

/* Footer Columns */
.footer-column h4 {
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
}

.footer-column a:hover {
    color: #667eea;
    padding-left: 8px;
}

/* Other Products */
.other-products {
    margin-bottom: 50px;
    text-align: center;
}

.other-products p {
    color: #a0aec0;
    margin-bottom: 30px;
    font-size: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-item {
    background: rgba(45, 55, 72, 0.3);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.product-item:hover {
    transform: translateY(-5px);
    background: rgba(45, 55, 72, 0.5);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.1);
}

.product-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.product-image {
    flex-shrink: 0;
}

.product-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.product-info {
    flex: 1;
}

.product-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.product-description {
    color: #a0aec0;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* Copyright */
.copyright {
    border-top: 1px solid #2d3748;
    padding-top: 30px;
    text-align: center;
}

.copyright p {
    color: #a0aec0;
    margin: 0;
    font-size: 14px;
}

.copyright .highlight {
    color: #667eea;
    font-weight: 600;
}




/* Adjusted color for nav pills */
.nav-pills > li.active > a {
    color: #fff !important;
    background-color: #23b7e5 !important;
  }
  
  .nav-pills > li.active > a:hover,
  .nav-pills > li.active > a:active {
    background-color: #19a9d5 !important;
  }
  
  /* Adjusted color for list group navigation */
  .list-group-item.active {
      color: #58666e !important;
    background-color: #dde6e9 !important;
    border-color: #dde6e9 !important;
  }
  
  /* Adjusted color for pagination */
  
  .pagination > li > a,
  .pagination > li > span {
    color: #58666e !important;
  }
  
  
  .pagination > .active > a,
  .pagination > .active > span,
  .pagination > .active > a:hover,
  .pagination > .active > span:hover,
  .pagination > .active > a:focus,
  .pagination > .active > span:focus {
    color: #fff !important;
    background-color: #23b7e5 !important;
    border-color: #23b7e5 !important;
  }
  
  
  
  
  
  .item-header a{
    color: #363f44;
    text-decoration: none;
    cursor: pointer;
  }
  
  .item-header a:hover,
  .item-header a:focus {
    color: #141719;
    text-decoration: none;
  }
   
  
  
  a.text-info {
    color: #19a9d5;
    text-decoration: none;
    cursor: pointer;
  }
  
  a.text-info:hover,
  a.text-info:focus {
    color: #1797be;
    text-decoration: none;
  }
  
  
  .link-info a{
    color: #19a9d5;
    text-decoration: none;
    cursor: pointer;
  }
  
  .link-info a:hover,
  .link-info a:focus {
    color: #1797be;
    text-decoration: none;
  }
  
  
  
  .link-muted a{
    color: #98a6ad;
    text-decoration: none;
    cursor: pointer;
  }
  
  .link-muted a:hover,
  .link-muted a:focus {
    color: #98a6ad;
    text-decoration: none;
  }
  
  
  .link-bg-light-hover a:hover,
  .link-bg-light-hover a:focus{
      background-color: #f6f8f8 !important;
          
  }
  
  /** Frontpage **/
  
  .frontpage-header{
      width: 100%;
      /*background-image: url(../img/backgrounds/frontpage-bg-sunrise.jpg);*/
      background-size: cover;
      background-repeat: no-repeat;
      background-position: 50% 50%;    
      position: relative;
  }
  
  .frontpage-header h1{
      
      text-shadow: 0px 0px 5px rgba(0, 0, 5, 0.5);
  
      
          
  }
  .frontpage-header h3{
      
      text-shadow: 0px 0px 5px rgba(0, 0, 5, 0.5);
          
  }
  
  .white-transparant-bg{
      background-color: rgba(255, 255, 255, 0.5) !important;
  }
  
  
  .black-transparant-bg{
      background-color: rgba(28, 43, 54, 0.8) !important;
  }
  
  .transparant-black-gradient-bg{
      
       background: linear-gradient(to bottom, transparent 0%, black 100%);
  }
  
  /** Free file page header */
  .free-file-page-header{
      width: 100%;
      background-color: #00496e;
      background-image: url(../img/backgrounds/blue-gradient-bg.png);
      background-size: cover;
      background-repeat: no-repeat;
      background-position: 50% 50%;    
      position: relative;
  }
  
  
  /** extra text properties **/
  
  .text-ellipsis{
      text-overflow: ellipsis;
  }
  
  .click-area-lg{
      display: block;
      position: relative;
  
  }
  
  .click-area-lg:after{
      content:"";
      padding: 200px;  
      position: absolute;
      left: -100px;
      top: -100px;
  } 
  
  
  a.text-white:hover,
  a.text-white:focus {
    color: #EEE;
    text-decoration: none;
    
  }
  
  
  a.text-black{
      color: #363f44;
  }
  
  a.text-black:hover,
  a:focus {
    color: #141719;
    text-decoration: none;
  }
  
  
  .text-xl {
    font-size: 24px;
  }
  
  .text-xxl {
    font-size: 32px;
  }
  
  .text-xxxl {
    font-size: 50px;
  }
  .text-right {
    text-align: right;
  }
  
  
  
  
  /* Border left colors */
  
  .b-l-light {
    border-left-color: #edf1f2 !important;
  }
  
  .b-l-dark {
    border-left-color: #3a3f51 !important;
  }
  
  .b-l-black {
    border-left-color: #3a3f51 !important;
  }
  
  .b-l-primary {
    border-left-color: #7266ba !important;
  }
  
  .b-l-success {
    border-left-color: #27c24c !important;
  }
  
  .b-l-info {
    border-left-color: #23b7e5 !important;
  }
  
  .b-l-warning {
    border-left-color: #fad733 !important;
  }
  
  .b-l-danger {
    border-left-color: #f05050 !important;
  }
  
  .b-l-white {
    border-left-color: #ffffff !important;
  }
