/* css/style.css - Main Stylesheet */
:root {
  --professional-blue: #0A3E6D;
  --sky-blue: #2C9CD4;
  --white: #ffffff;
  --dark-bg: #121826;
  --light-gray: #f8fafc;
  --text-dark: #1e293b;
  --transition-smooth: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  background-color: var(--white);
  color: var(--text-dark);
  transition: background-color 0.3s, color 0.3s;
}

/* Dark Mode */
body.dark-mode {
  background-color: var(--dark-bg);
  color: #e2e8f0;
}

body.dark-mode .card,
body.dark-mode .navbar,
body.dark-mode .footer,
body.dark-mode .modal-content,
body.dark-mode .accordion-item,
body.dark-mode .service-card,
body.dark-mode .team-card,
body.dark-mode .job-card,
body.dark-mode .contact-info-card,
body.dark-mode .service-detailed-card {
  background-color: #1e293b !important;
  color: #f1f5f9 !important;
  border-color: #334155;
}

body.dark-mode .bg-light,
body.dark-mode section.bg-light {
  background-color: #0f172a !important;
}

body.dark-mode .text-muted {
  color: #9ca3af !important;
}

body.dark-mode .accordion-button {
  background-color: #1e293b;
  color: #f1f5f9;
}

body.dark-mode .accordion-button:not(.collapsed) {
  background-color: #0f172a;
  color: var(--sky-blue);
}

/* Preloader */
#preloader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0A3E6D;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.loader-circle{
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255,255,255,0.2);
    border-top: 5px solid #2C9CD4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

/* Mobile Responsive */
@media (max-width: 576px){
    .loader-circle{
        width: 45px;
        height: 45px;
        border-width: 4px;
    }
}
/* Navbar */
.navbar {
  transition: var(--transition-smooth);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

body.dark-mode .navbar {
  background-color: rgba(18, 24, 38, 0.96);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--professional-blue) !important;
}

body.dark-mode .navbar-brand {
  color: var(--sky-blue) !important;
}

.nav-link {
  font-weight: 600;
  transition: 0.2s;
  margin: 0 5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--sky-blue) !important;
}

/* Dark Mode Toggle */
.dark-toggle {
  background: var(--professional-blue);
  border-radius: 40px;
  padding: 6px 14px;
  cursor: pointer;
  color: white;
  font-weight: 600;
  transition: 0.3s;
}

.dark-toggle:hover {
  background: var(--sky-blue);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(10, 62, 109, 0.05) 0%, rgba(44, 156, 212, 0.1) 100%);
  padding-top: 140px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.animated-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at 20% 50%, rgba(44, 156, 212, 0.15) 0%, transparent 50%);
  animation: floatBg 12s infinite alternate;
}

@keyframes floatBg {
  0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  100% { transform: translate(2%, 2%) scale(1.1); opacity: 0.8; }
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--professional-blue) 0%, var(--sky-blue) 100%);
  padding: 150px 0 80px;
  color: white;
  text-align: center;
}

.page-header h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Buttons */
.btn-primary-custom {
  background: var(--professional-blue);
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  transition: 0.3s;
  color: white;
}

.btn-primary-custom:hover {
  background: var(--sky-blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: white;
}

.btn-outline-custom {
  border: 2px solid var(--professional-blue);
  background: transparent;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  transition: 0.3s;
  color: var(--professional-blue);
}

.btn-outline-custom:hover {
  background: var(--professional-blue);
  color: white;
  transform: translateY(-3px);
}

body.dark-mode .btn-outline-custom {
  border-color: var(--sky-blue);
  color: var(--sky-blue);
}

body.dark-mode .btn-outline-custom:hover {
  background: var(--sky-blue);
  color: white;
}

/* Stats */
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--professional-blue);
}

body.dark-mode .stat-number {
  color: var(--sky-blue);
}

/* Cards */
.service-card,
.team-card,
.job-card,
.contact-info-card,
.service-detailed-card {
  background: white;
  border-radius: 24px;
  transition: var(--transition-smooth);
  border: none;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.service-card:hover,
.team-card:hover,
.job-card:hover {
  transform: translateY(-12px);
}

/* Section Title */
.section-title {
  font-weight: 800;
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
}

.section-title:after {
  content: '';
  width: 80px;
  height: 4px;
  background: var(--sky-blue);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

/* Testimonial Swiper */
.swiper {
  padding: 20px 0 50px;
}

.testimonial-card {
  background: white;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.05);
  text-align: center;
}

body.dark-mode .testimonial-card {
  background: #0f172a;
}

.testimonial-card .stars {
  color: #ffc107;
  margin-top: 10px;
}

/* Client Logos */
.client-logo {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: 0.3s;
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--professional-blue), var(--sky-blue));
  color: white;
}

/* Footer */
.footer {
  background: #0a2540;
  color: #fff;
  padding: 50px 0 30px;
}

body.dark-mode .footer {
  background: #0a0f1c;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer a:hover {
  color: var(--sky-blue);
}

.social-links a {
  display: inline-block;
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 35px;
  margin-right: 8px;
  transition: 0.3s;
}

.social-links a:hover {
  background: var(--sky-blue);
  transform: translateY(-3px);
}

/* Portfolio Filter */
.filter-buttons{
    text-align:center;
    margin-bottom:40px;
}

.filter-btn{
    background:#f5f5f5;
    border:none;
    padding:10px 22px;
    margin:5px;
    border-radius:30px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.filter-btn:hover,
.filter-btn.active{
    background:#0A3E6D;
    color:#fff;
}

/* Portfolio Grid */
.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

/* Portfolio Card */
.portfolio-card{
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    background:#fff;
}

.portfolio-card img{
    width:100%;
    height:auto;
    display:block;
    transition:0.4s ease;
}

.portfolio-card:hover img{
    transform:scale(1.05);
}

/* Responsive */
@media(max-width:992px){
    .portfolio-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:576px){
    .portfolio-grid{
        grid-template-columns:1fr;
    }

    .filter-buttons{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
    }

    .filter-btn{
        font-size:13px;
        padding:8px 15px;
    }
}
/* Gallery Images */
/*.gallery-img {*/
/*  transition: 0.3s;*/
/*  cursor: pointer;*/
/*}*/

/*.gallery-img:hover {*/
/*  transform: scale(1.05);*/
/*  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);*/
/*}*/

/* Mission Card */
.mission-card {
  background: white;
  border-radius: 24px;
  transition: 0.3s;
  height: 100%;
}

body.dark-mode .mission-card {
  background: #1e293b;
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

/* Achievement Box */
.achievement-box {
  padding: 20px;
  transition: 0.3s;
}

.achievement-box:hover {
  transform: translateY(-5px);
}

/* Trust Badge */
.trust-badge {
  background: var(--light-gray);
  padding: 25px;
  border-radius: 20px;
}

body.dark-mode .trust-badge {
  background: #1e293b;
}

/* Social Icons */
.social-icons .social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--professional-blue);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: 0.3s;
}

.social-icons .social-icon:hover {
  background: var(--sky-blue);
  transform: translateY(-3px);
}

body.dark-mode .social-icons .social-icon {
  background: var(--sky-blue);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: var(--professional-blue);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  z-index: 99;
  transition: 0.3s;
}

.back-to-top:hover {
  background: var(--sky-blue);
  transform: translateY(-3px);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 98;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: 0.2s;
  text-decoration: none; /* Remove underline */
}

.whatsapp-float:hover {
  color: #fff;
  text-decoration: none; /* Remove underline on hover */
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding-top: 110px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .page-header {
    padding: 120px 0 60px;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .portfolio-overlay {
    transform: translateY(0);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  }
}

@media (max-width: 576px) {
  .btn-primary-custom,
  .btn-outline-custom {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
}