/* ================================
   BODY & GLOBAL STYLES
================================ */
body {
    background: linear-gradient(135deg, #0CAFFF 0%, #0078D4 100%);
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* ================================
   NAVBAR STYLES
================================ */
.container-fluid.nav-bar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Navbar Brand Logo Hover Effect */
.navbar-brand img {
    transition: transform 0.3s ease;
}
.navbar-brand img:hover {
    transform: scale(1.1);
}

/* Navbar Links */
.navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #333;
    padding: 10px 15px;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0CAFFF;
}

/* ================================
   DROPDOWN MENU STYLES
================================ */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px;
}
.dropdown-item {
    font-family: 'Roboto', sans-serif;
    padding: 8px 15px;
    transition: background-color 0.2s ease;
}
.dropdown-item:hover {
    background-color: #0CAFFF;
    color: #fff;
    border-radius: 5px;
}

/* ================================
   CONTAINER SECTIONS
================================ */
.container-fluid.py-6 {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    margin: 30px auto;
    padding: 40px;
}

/* ================================
   HEADINGS & TITLES
================================ */
h2.text-primary {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #0CAFFF !important;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}
h2.text-primary::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #0CAFFF;
    position: absolute;
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

/* ================================
   PARAGRAPHS
================================ */
p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

/* Text Primary Hover Effect */
.text-primary {
    color: #0CAFFF !important;
    transition: color 0.3s ease;
}
.text-primary:hover {
    color: #0078D4 !important;
}

/* ================================
   BUTTONS
================================ */
.btn-primary {
    background: linear-gradient(90deg, #0CAFFF, #0078D4);
    border: none;
    padding: 12px 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: linear-gradient(90deg, #0078D4, #0CAFFF);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background: linear-gradient(90deg, #0CAFFF, #0078D4);
    border: none;
    padding: 12px 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}
.btn-success:hover {
    background: linear-gradient(90deg, #0078D4, #0CAFFF);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Search Button */
.btn-search {
    background: #0CAFFF;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.btn-search:hover {
    background: #0078D4;
    transform: scale(1.1);
}

/* ================================
   IMAGES
================================ */
.img-fluid.rounded {
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.img-fluid.rounded:hover {
    transform: scale(1.05);
}

/* ================================
   FOOTER
================================ */
.footer {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    padding: 40px 0;
    border-top: 1px solid #ddd;
}
.footer h1,
.footer h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #333;
}
.footer p,
.footer a {
    font-family: 'Roboto', sans-serif;
    color: #555;
}

/* Footer Copyright */
.copyright {
    background: linear-gradient(90deg, #0CAFFF, #0078D4) !important;
    color: #fff;
    padding: 20px 0;
}
.copyright span,
.copyright a {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 1rem;
}

/* ================================
   BACK TO TOP BUTTON
================================ */
.back-to-top {
    background: #0CAFFF;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
.back-to-top:hover {
    background: #0078D4;
    transform: translateY(-5px);
}

/* ================================
   MODAL
================================ */
.modal-content {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.modal-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #0CAFFF;
}
.modal-body input {
    font-family: 'Roboto', sans-serif;
    border-radius: 25px;
    padding: 10px 20px;
    border: 1px solid #0CAFFF;
}

/* Modal Specific Fields */
.modal-body #name,
.modal-body #phone,
.modal-body #message {
  border-radius: 10px !important;
}

/* Blue borders for all form elements */
.modal-body input,
.modal-body textarea,
.modal-body select {
    border: 2px solid #0CAFFF !important;
    border-radius: 10px !important;
    padding: 10px 20px;
    font-family: 'Roboto', sans-serif;
}

/* Focus state */
.modal-body input:focus,
.modal-body textarea:focus,
.modal-body select:focus {
    border-color: #0CAFFF !important;
    box-shadow: 0 0 0 0.25rem rgba(12, 175, 255, 0.25) !important;
}

/* Valid state */
.modal-body input.is-valid,
.modal-body textarea.is-valid,
.modal-body select.is-valid {
    border-color: #0CAFFF !important;
}

/* Invalid/Error state */
.modal-body input.is-invalid,
.modal-body textarea.is-invalid,
.modal-body select.is-invalid {
    border-color: #0CAFFF !important;
}

/* Error message styling */
.modal-body .invalid-feedback {
    color: #dc3545;
    font-size: 0.875em;
}

/* Button styling */
.modal-body .btn {
    border-radius: 25px !important;
    padding: 8px 20px;
    font-weight: 600;
}

/* Modal header */
.modal-header {
    border-bottom: 2px solid #0CAFFF;
}

/* Modal footer (if you add one later) */
.modal-footer {
    border-top: 2px solid #0CAFFF;
}

/* ================================
   SPINNER
================================ */
.spinner-grow {
    color: #0CAFFF !important;
}
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity 0.8s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* ================================
   RESPONSIVE STYLES
================================ */
@media (max-width: 768px) {
    .container-fluid.py-6 {
        padding: 20px;
    }
    h2.text-primary {
        font-size: 2rem;
    }
    p {
        font-size: 1rem;
    }
    .btn-primary {
        padding: 10px 20px;
    }
}

/* ================================
   TYPOGRAPHY OVERRIDES
================================ */
h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 400 !important;
    font-family: "Playball", cursive !important;
}
h4, h5, h6, .h4, .h5, .h6 {
    font-weight: 600 !important;
    font-family: "Open Sans", sans-serif !important;
}

/* ================================
   MARGIN & PADDING UTILITIES
================================ */
.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* ================================
   ANIMATION
================================ */
.wow, .animated {
    animation-duration: 2s !important;
}
.zoom-big {
    animation: zoomBig 2s ease;
}
@keyframes zoomBig {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ================================
   IFRAME STYLES
================================ */
.iframe-wrapper {
    max-width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.custom-iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 12px;
}

/* ================================
   CONTACT INFO SECTION
================================ */
.contact-info-section {
    transition: all 0.3s ease;
}
.contact-info-section:hover {
    box-shadow: 0 4px 8px rgba(0, 120, 212, 0.2);
}
.border-2 {
    border-width: 1px !important;
    border-color: #0CAFFF !important;
}
.form-control:focus {
    border-color: #0CAFFF !important;
    box-shadow: 0 0 0 0.25rem rgba(12, 175, 255, 0.25);
}
.icon-container {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.content-container {
    width: 100%;
}
.contact-info-section .col-md-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}
.contact-info-section h6, 
.contact-info-section p {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* ================================
   PREHEADER (BALANCED)
================================ */
.balanced-preheader {
  background-color:#1e88e5;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid #CCE0FF;
}
.balanced-preheader a {
  color: #252323;
  transition: all 0.2s ease;
}
.balanced-preheader a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}
/* Preheader Social Icons */
.balanced-preheader .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #D1E3FF;
  color: #2C3E50;
  transition: all 0.3s ease;
}
.balanced-preheader .social-icons a:hover {
  background-color: #0056B3;
  color: white;
  transform: translateY(-2px);
}
/* ================================
   PREHEADER RESPONSIVE
================================ */
@media (max-width: 767.98px) {
  .balanced-preheader {
    padding: 10px 0;
    font-size: 13px;
  }
  .balanced-preheader .contact-info li:not(:first-child) {
    display: none;
  }
  .balanced-preheader .social-icons {
    margin-right: 0 !important;
  }
  .balanced-preheader .social-icons a {
    width: 26px;
    height: 26px;
    margin: 0 3px;
  }
}
