/**
 * Theme Name:        ThunderStorm
 * Theme URI:         https://pr.techmiss.online/home
 * Description:       Custom Theme with Advanced Security Measurments
 * Version:           1.0.0
 * Author:            Anonymous
 * Author URI:        https://pr.techmiss.online/about-us
 * Tags:              theme, full-site-editing
 * Text Domain:       fabled-sunset
 * Domain Path:       /assets/lang
 * Tested up to:      6.4
 * Requires at least: 6.2
 * Requires PHP:      7.4
 * Text Domain:       ThunderStorm
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */
 


/* Bootstrap navbar dropdown-menu visibility */

.navbar-nav .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Ensure Bootstrap's default dropdown arrow is visible */
.navbar-nav .dropdown-toggle::after {
    transition: transform 0.3s ease-in-out; /* Smooth transition */
}

/* Rotate arrow when dropdown is hovered or open */
.navbar-nav .dropdown:hover .dropdown-toggle::after,
.navbar-nav .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg); /* Flip the arrow */
}


/* Ensure navbar stays within screen boundaries */
.navbar {
    padding: 0.5rem 1rem; /* Adjust padding for better spacing */
}

/* Prevent menu items from stretching too far */
.navbar-nav {
    width: 100%;
    justify-content: center; /* Center navbar items */
}

/* Make sure dropdown menus don’t go off-screen */
.navbar-nav .dropdown-menu {
    width: auto;
    min-width: 10rem;
}

/* Ensure mobile menu takes full width */
@media (max-width: 991px) { 
    .navbar-collapse {
        text-align: center; 
    }
}

/* Ensure CTA button fits in one line */
.cta-button {
    white-space: nowrap; /* Prevents wrapping */
    padding: 8px 18px; /* Adjust padding */
    font-size: 14px; /* Make it fit better */
    line-height: 1; /* Prevents extra height */
}

.cta-button {
    background-color:#3B479D !important; /* Blue color */
    color: #fff !important; /* White text */
    border: none !important; /* Remove border */
    padding: 10px 20px; /* Adjust padding */
    font-weight: bold;
    border-radius: 5px; /* Optional: Rounded corners */
    transition: background-color 0.3s ease-in-out;
}

/* Hover effect */
.cta-button:hover {
    background-color: #21C1E0 !important; /* Darker blue on hover */
    color: #fff !important;
}


/* Adjust button spacing */
@media (max-width: 991px) {
    .cta-button {
        margin-left: auto; /* Push it to the right in mobile */
        margin-right: auto; /* Center it */
    }
}

/* Top Bar - Matches Navbar Padding & Margin */
.top-bar {
    background-color: #000000; /* White background */
    padding: 5px 0; /* Matches navbar padding */
}

/* Ensures the email stays aligned with the navbar content */
.top-bar {
    padding-left: 15px;
    padding-right: 15px;
    text-align: right;
   
}

.text-muted{
 color: #ffffff !important;
}

/* Mobile View: Center Align */
@media (max-width: 768px) {
    .top-bar {
        justify-content: center;
        text-align: center;
    }
}



/* Change Navbar Font */
.navbar {
    font-family: 'Poppins', sans-serif; /* Change to your preferred font */
    font-size: 16px; /* Adjust the size */
    font-weight: 500; /* Medium weight for better readability */
}

/* Style the menu items */
.navbar-nav .nav-link {
    color: #333; /* Darker text */
    padding: 10px 15px; /* Adjust spacing */
    transition: color 0.3s ease-in-out;
}

/* Hover Effect */
.navbar-nav .nav-link:hover {
    color: #ff6600; /* Change color on hover */
}

/* Active menu item */
.navbar-nav .nav-item.active .nav-link {
    color: #ff6600;
    font-weight: bold;
}


/* Ensure the navbar-toggler icon is visible */
.navbar-toggler {
    border: none; /* Remove default border */
    outline: none;
}

/* Fix the visibility of the navbar toggler icon */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    width: 30px;
    height: 30px;
    display: block;
}

/* Ensure it changes color in dark mode */
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Mobile Fix */
@media (max-width: 991px) {
    .navbar-toggler {
        display: block; /* Ensure it's always shown */
    }
}


.navbar::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%; /* Covers 80% of navbar width */
    height: 1px;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.05); /* Light shadow at the top */
}
.navbar-brand {
   margin-right: auto !important;
}


/* Top border */
.navbar::before {
    content: "";
    position: absolute;
    top: 0;  /* Position at the top */
    width: 100%; /* Covers 80% of navbar width */
    height: 1px;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.05); /* Light shadow at the top */
}

@media (max-width: 991px) { /* Tablet and below */
    .navbar-brand img {
        max-height: 40px; /* Adjust logo height */
    }
    .navbar-toggler {
        order: 1; /* Ensures menu button stays on the right */
    }
}


/* Prevent horizontal scrolling */
body, html {
    overflow-x: hidden !important; /* Hides any horizontal overflow */
    width: 100% !important;
}

/* Ensure all elements stay within the screen */
.container, .container-fluid, .row {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Fix for elements causing overflow */
.navbar, .top-bar {
    max-width: 100% !important;
}

/* Prevent large elements from breaking layout */
img, iframe {
    max-width: 100% !important;
    height: auto;
    display: block; /* Prevent inline spacing issues */
}

.banner {
    background: url('your-image.jpg') center/cover no-repeat;
    height: 400px;
    padding: 80px 20px;
    
}
   .banner h1,
.banner p,
.banner a {
    color: black !important; /* Force black text */
}
@media (max-width: 767px) {
    .banner {
        height: 250px;
    }
}
h5 {
    color: #3B479D; /* Optional brand color for headings */
}

/* Optional hover style */
ul li a:hover {
    color: #3B479D;
    text-decoration: underline;
}

/* Optional smooth icon scaling on hover */
img {
  transition: transform 0.3s ease;
}
img:hover {
  transform: scale(1.1);
}

/* FAQ Section */
section.faq-section {
  background-color: #ffffff;
  padding: 60px 0;
}

/* FAQ Heading */
.faq-section h3 {
  color: #3B479D;
  font-weight: bold;
  margin-bottom: 30px;
}

/* Accordion Items */
.accordion-item {
  border: 1px solid #3B479D;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Accordion Button */
.accordion-button {
  font-weight: bold;
  border-radius: 10px;
}

/* Accordion Body */
.accordion-body {
  font-weight: bold;
  padding: 20px;
}

.accordion-button:focus,
.accordion-button:focus-visible,
.accordion-button:active {
  box-shadow: none !important;
  outline: none !important;
  border-color: transparent !important;
}

.custom-banner-section {
  background: linear-gradient(to right, #00ffff, #3b479d, #00ffff); /* cyan to navy to cyan */
  color: cyan; /* font color */
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-radius: 0.5rem;
}

.custom-banner-section h2 {
  color: cyan;
}

.banner-img {
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: none !important;
  transform: none !important;
}

.contact-section {
  background-color: #f9f9f9;
}

.form-box {
  background-color: #ffffff;
  border: 2px solid #3B479D;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Underlined input fields */
.underline-input {
  border: none;
  border-bottom: 2px solid #3B479D;
  border-radius: 0;
  background-color: transparent;
  padding-left: 0;
  font-weight: 500;
  box-shadow: none;
}

.underline-input:focus {
  outline: none;
  box-shadow: none;
  border-color: #3B479D;
}

.underline-input::placeholder {
  color: #999;
  opacity: 0.8;
}

@media (min-width: 992px) {
  .form-box {
    width: 80%;
    margin: 0 auto; /* Center the smaller box */
  }
}

.custom-blog-wrapper {
  display: flex;
  justify-content: start; /* Align cards to the left */
  gap: 24px; /* space between cards */
  padding: 0 40px; /* white space on left and right */
  flex-wrap: wrap;
}

.blog-card {
  width: 30%;
  min-width: 280px;
}

.blog-box {
  width: 80%;
  max-width: 900px;
  margin: 0 auto;
}

.custom-blog-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.blog-card {
  width: 30%;
  min-width: 260px;
}

/* Newsletter Banner Styling */
.newsletter-banner {
  background-color: #003366; /* Dark Blue */
}

.newsletter-banner h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.newsletter-banner p {
  margin-bottom: 0;
}

.newsletter-banner input {
  padding: 10px;
  border-radius: 5px;
  border: none;
}

.newsletter-banner button {
  background-color: #00b5e2;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  color: white;
}

.newsletter-banner button:hover {
  background-color: #0099cc;
}

@media (max-width: 768px) {
  .newsletter-banner form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-banner input,
  .newsletter-banner button {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Footer Section Styling */
.footer-section {
  background-color: #003366; /* Dark Blue Background */
}

.footer-section ul {
  padding-left: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  text-decoration: none;
  color: #fff; /* White color for text */
}

.footer-section ul li a:hover {
  color: #1d6d93; /* Light Blue on hover */
}

/* Footer Bottom Section */
.footer-bottom {
  background-color: #00b5e2; /* Cyan background for bottom footer */
}

.footer-bottom p {
  color: #fff;
  margin: 0;
  font-weight: bold;
}

/* Responsive Styling for Footer */
@media (max-width: 767px) {
  .footer-section .col-md-6 {
    margin-bottom: 20px;
  }
}


