/* Custom styles for IT Consulting Services website */

/* Color scheme based on logo */
:root {
    --primary-blue: #1fa2d6;
    --dark-blue: #3c5a6b;
    --light-blue: #87ceeb;
    --accent-blue: #00bfff;
    --text-dark: #2c3e50;
    --text-light: #f8f9fa;
    --bg-light: #ffffff;
    --bg-section: #f8f9fa;
}

/* Hero section styling */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.hero-section h1 {
    color: white;
}

.hero-section .text-primary {
    color: var(--light-blue) !important;
}

/* Service cards hover effect */
.services-preview .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.services-preview .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Navigation active state */
.navbar-nav .nav-link.active {
    color: var(--primary-blue) !important;
    font-weight: 600;
}

/* Language selector styling */
.language-selector {
    margin-left: 1rem;
}

.language-selector .dropdown-toggle {
    background: none;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.language-selector .dropdown-toggle:hover {
    background-color: var(--primary-blue);
    color: white;
}

.language-selector .dropdown-menu {
    min-width: 80px;
}

.language-selector .dropdown-item {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

.language-selector .dropdown-item:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Contact form styling */
.contact-info a {
    color: var(--primary-blue);
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--dark-blue);
}

/* Footer styling */
footer a:hover {
    color: var(--primary-blue) !important;
}

/* Card hover effects */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Button styling */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for forms */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Accordion styling */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-blue);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(31, 162, 214, 0.25);
}

/* Text color updates for logo theme */
.text-primary {
    color: var(--primary-blue) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

.border-primary {
    border-color: var(--primary-blue) !important;
}

/* Custom spacing utilities */
.section-padding {
    padding: 5rem 0;
}

/* Icon styling */
.fa-2x, .fa-3x {
    margin-bottom: 1rem;
}

/* Custom background patterns */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.1) 1px, transparent 0);
    background-size: 20px 20px;
}

/* Badge styling */
.badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

/* Alert styling */
.alert {
    border: none;
    border-radius: 10px;
}

/* Form styling */
.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(31, 162, 214, 0.25);
}

.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(31, 162, 214, 0.25);
}

/* Navbar brand styling */
.navbar-brand img {
    filter: brightness(0) invert(1);
}

/* Light theme specific adjustments */
[data-bs-theme="light"] .hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
}

[data-bs-theme="light"] .card {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Remove dark theme navbar brand filter */
.navbar-brand img {
    filter: none;
}

/* Light theme navbar styling */
.navbar-light .navbar-nav .nav-link {
    color: var(--text-dark);
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary-blue);
}

.navbar-light .navbar-brand {
    color: var(--text-dark);
}

/* Footer link colors for light theme */
footer a {
    color: var(--primary-blue);
}

footer a:hover {
    color: var(--dark-blue);
}

.contact-form-card {
    border-radius: 16px;
}

.contact-form-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(31, 162, 214, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.contact-form-icon i {
    font-size: 1.4rem;
    color: var(--primary-blue);
}

#contactForm .form-control,
#contactForm .form-select {
    border-radius: 0.5rem;
}

#contactForm .btn-primary {
    border-radius: 999px;
    font-weight: 600;
}
/**************************************
 CONTACT FORM CARD
**************************************/
.contact-form-card {
    border-radius: 16px;
    background: #fff;
    padding: 0;
    transition: all 0.3s ease;
}

.contact-form-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Icon bubble */
.contact-form-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 110, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-form-icon i {
    font-size: 1.5rem;
    color: #007bff;
}

/**************************************
 FORM INPUTS
**************************************/
#contactForm .form-control,
#contactForm .form-select {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid #d7dce1;
    background: #fafbfc;
    transition: all 0.2s ease;
}

#contactForm .form-control:focus,
#contactForm .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.15rem rgba(0, 123, 255, 0.15);
    background: #fff;
}

/**************************************
 FORM LABELS
**************************************/
#contactForm .form-label {
    font-weight: 600;
    color: #344767;
    margin-bottom: 6px;
}

/**************************************
 SEND BUTTON
**************************************/
#contactForm .btn-primary {
    background: #007bff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#contactForm .btn-primary:hover {
    background: #005fcc;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 123, 255, 0.25);
}

/**************************************
 CONTACT INFO CARD (Right side)
**************************************/
.contact-info h6 {
    font-weight: 700;
    color: #3c5a6b;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/**************************************
 FAQ Section
**************************************/
.accordion-button {
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: #e8f1ff;
    color: #005fcc;
}

/**************************************
 LANGUAGE DROPDOWN
**************************************/
.language-selector .dropdown-toggle {
    border-radius: 10px;
    padding: 6px 16px;
}

/**************************************
 PAGE TITLES
**************************************/
main h1,
main h2 {
    color: #1a2c3f;
}

.lead {
    color: #5c6c7c !important;
}
/* Success banner (matches your screenshot) */
.contact-success-alert {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background-color: #e6f4ea; /* pale green */
  border: 1px solid #cde8d3;
  color: #114b28;
  box-shadow: none;
  display: block;
}

.contact-success-alert .container-alert{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-success-alert .alert-text {
  flex: 1 1 auto;
  font-size: 0.98rem;
  line-height: 1.3;
  padding-right: .5rem;
}

.contact-success-alert .alert-close {
  background: transparent;
  border: none;
  font-size: 1.45rem;
  line-height: 1;
  color: #1d4230;
  cursor: pointer;
  padding: 0 .25rem;
  border-radius: 6px;
}

.contact-success-alert .alert-close:hover {
  background: rgba(0,0,0,0.04);
}

/* Utility to hide, used by JS */
.d-none { display: none !important; }
