:root {
  --primary: #3fbbc0;
  --primary-dark: #2a9fa4;
  --dark: #0c1e35;
  --dark-2: #122640;
  --light: #f7f9fc;
  --text: #444;
  --text-light: #6c757d;
  --white: #fff;
  --shadow: 0 4px 28px rgba(0,0,0,.08);
  --radius: 8px;
  --font-main: "Open Sans", sans-serif;
  --font-heading: "Montserrat", sans-serif;
  --font-accent: "Raleway", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: var(--primary); transition: .3s; }
a:hover { color: var(--primary-dark); }
h1,h2,h3,h4,h5 { font-family: var(--font-heading); color: var(--dark); }
img { max-width: 100%; height: auto; }
.section { padding: 60px 0; }
.sections-bg { background: var(--light); }

.section-header { text-align: center; padding-bottom: 40px; }
.section-header h2 { font-size: 32px; font-weight: 700; margin-bottom: 10px; position: relative; }
.section-header h2::after { content: ""; display: block; width: 60px; height: 3px; background: var(--primary); margin: 10px auto 0; }
.section-header p { color: var(--text-light); font-size: 16px; }

.header { background: var(--dark); padding: 15px 0; position: fixed; top: 0; left: 0; right: 0; z-index: 999; transition: .3s; }
.header.scrolled { background: var(--dark-2); box-shadow: 0 2px 16px rgba(0,0,0,.2); }
.header .logo img { max-height: 40px; }
.header .navbar ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.header .navbar ul li a { color: rgba(255,255,255,.7); font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 4px; transition: .3s; display: block; }
.header .navbar ul li a:hover, .header .navbar ul li a.active { color: var(--white); background: rgba(255,255,255,.1); }
.btn-get-started { background: var(--primary); color: var(--white) !important; padding: 10px 24px; border-radius: 50px; font-size: 14px; font-weight: 600; transition: .3s; display: inline-block; }
.btn-get-started:hover { background: var(--primary-dark); color: var(--white) !important; }
#darkmode-button { background: none; border: none; color: rgba(255,255,255,.7); font-size: 18px; cursor: pointer; padding: 8px; }
.mobile-nav-toggle { display: none; color: var(--white); font-size: 24px; cursor: pointer; background: none; border: none; }

.hero { background: var(--dark); min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 80px; }
#particles-js { position: absolute; inset: 0; z-index: 0; }
.hero .container { position: relative; z-index: 2; }
.hero h2 { color: var(--white); font-size: 48px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hero h2 span { color: var(--primary); }
.hero .circle { color: var(--primary); font-size: 60px; }
.hero p { color: rgba(255,255,255,.7); font-size: 18px; margin-bottom: 30px; }
.hero .social a { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: var(--white); align-items: center; justify-content: center; margin-right: 10px; transition: .3s; }
.hero .social a:hover { background: var(--primary); border-color: var(--primary); }
.hero .d-flex a { margin-right: 15px; }
.hero .mr-20 { margin-right: 20px; }

.top-icon-box { padding: 60px 0; }
.icon-box { text-align: center; padding: 40px 30px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: .3s; height: 100%; }
.icon-box:hover { transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.icon-box .icon { margin-bottom: 20px; }
.icon-box .icon svg { width: 64px; height: 64px; }
.icon-box .title a { font-size: 18px; font-weight: 600; color: var(--dark); }
.icon-box p { color: var(--text-light); font-size: 14px; margin-top: 10px; }

#featured { padding: 60px 0; }
#featured .left .list-wrap, #featured .right .list-wrap { display: flex; gap: 16px; margin-bottom: 30px; align-items: flex-start; }
#featured .left .list-wrap { text-align: right; }
#featured .icon svg { width: 48px; height: 48px; min-width: 48px; }
#featured .description h4 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
#featured .description p { font-size: 14px; color: var(--text-light); }
#featured .center-icon img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

.portfolio { padding: 60px 0; }
.portfolio-flters { display: flex; justify-content: center; list-style: none; gap: 20px; margin-bottom: 30px; padding: 0; }
.portfolio-flters li { cursor: pointer; padding: 8px 20px; font-size: 14px; font-weight: 600; color: var(--text-light); border-radius: 50px; transition: .3s; }
.portfolio-flters li.filter-active, .portfolio-flters li:hover { background: var(--primary); color: var(--white); }
.portfolio-wrap { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.portfolio-wrap img { transition: .5s; width: 100%; display: block; }
.portfolio-wrap:hover img { transform: scale(1.08); }
.portfolio-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 20px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: var(--white); }
.portfolio-info h4 { font-size: 16px; font-weight: 600; color: var(--white); }
.portfolio-info p { font-size: 13px; color: rgba(255,255,255,.8); margin: 0; }

.testimonials { padding: 60px 0; background: var(--light); }
.testimonial-item { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.testimonial-img { width: 65px; height: 65px; border-radius: 50%; object-fit: cover; margin-right: 16px; }
.testimonial-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 2px; }
.testimonial-item h4 { font-size: 13px; color: var(--text-light); font-weight: 400; }
.testimonial-item .stars { color: #ffc107; font-size: 14px; margin-top: 4px; }
.testimonial-item p { margin-top: 16px; font-style: italic; color: var(--text-light); }
.quote-icon-left, .quote-icon-right { color: var(--primary); font-size: 20px; }

.stats-counter { background: var(--dark); padding: 60px 0; }
.stats-item { text-align: center; color: var(--white); }
.stats-item .icon { margin-bottom: 16px; }
.stats-item .icon svg { width: 48px; height: 48px; }
.stats-item .purecounter { font-size: 40px; font-weight: 700; color: var(--primary); display: block; }
.stats-item p { font-size: 16px; color: rgba(255,255,255,.7); margin-top: 8px; }

.clients { padding: 40px 0; }
.clients img { max-height: 50px; opacity: .5; transition: .3s; filter: grayscale(1); }
.clients img:hover { opacity: 1; filter: none; }
.client-logo { width: 100px; height: 50px; display: flex; align-items: center; justify-content: center; }

.team .member { text-align: center; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); padding-bottom: 20px; width: 100%; }
.team .member img { width: 100%; height: 280px; object-fit: cover; }
.team .member h4 { font-size: 18px; font-weight: 600; margin: 16px 0 4px; }
.team .member span { font-size: 13px; color: var(--text-light); }
.team .member .social { margin-top: 12px; }
.team .member .social a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--light); color: var(--text-light); align-items: center; justify-content: center; margin: 0 4px; transition: .3s; }
.team .member .social a:hover { background: var(--primary); color: var(--white); }

.call-to-action { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 60px 0; }
.call-to-action h3 { color: var(--white); font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.call-to-action p { color: rgba(255,255,255,.85); font-size: 16px; max-width: 600px; margin: 0 auto 24px; }
.cta-btn { background: var(--white); color: var(--primary) !important; padding: 12px 32px; border-radius: 50px; font-weight: 600; transition: .3s; display: inline-block; }
.cta-btn:hover { background: var(--dark); color: var(--white) !important; }

.recent-posts article { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .3s; }
.recent-posts article:hover { transform: translateY(-5px); }
.recent-posts .post-img img { width: 100%; height: 220px; object-fit: cover; }
.recent-posts .post-category { display: inline-block; background: var(--primary); color: var(--white); padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; margin: 16px 16px 8px; }
.recent-posts .title { padding: 0 16px; }
.recent-posts .title a { font-size: 18px; font-weight: 600; color: var(--dark); line-height: 1.4; }
.recent-posts .title a:hover { color: var(--primary); }
.recent-posts .post-meta { padding: 12px 16px 16px; }
.recent-posts .post-author { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.recent-posts .post-date { font-size: 12px; color: var(--text-light); }

.contact-section { padding: 60px 0; }
.contact-information-box-3 { background: var(--dark); padding: 40px 30px; border-radius: var(--radius); color: var(--white); height: 100%; }
.single-contact-info-box { margin-bottom: 24px; }
.contact-info h6 { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.contact-info p, .contact-info a { color: rgba(255,255,255,.8); font-size: 14px; margin: 0; }
.contact-form-box { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form .form-control { padding: 12px 16px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 14px; margin-bottom: 16px; }
.contact-form .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(63,187,192,.15); }
.contact-form textarea { resize: vertical; }
.contact-form button { background: var(--primary); color: var(--white); border: none; padding: 12px 32px; border-radius: 50px; font-size: 14px; font-weight: 600; cursor: pointer; transition: .3s; }
.contact-form button:hover { background: var(--primary-dark); }

.footer-section { background: var(--dark); color: rgba(255,255,255,.7); padding: 60px 0 20px; }
.footer-content { border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 40px; margin-bottom: 20px; }
.footer-logo img { max-height: 40px; margin-bottom: 20px; }
.footer-text p { font-size: 14px; line-height: 1.8; }
.footer-social-icon { margin-top: 20px; }
.footer-social-icon span { font-size: 14px; font-weight: 600; color: var(--white); display: block; margin-bottom: 12px; }
.footer-social-icon a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--white); align-items: center; justify-content: center; margin-right: 8px; transition: .3s; }
.footer-social-icon a:hover { background: var(--primary); }
.footer-widget-heading h3 { font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 20px; position: relative; }
.footer-widget-heading h3::after { content: ""; display: block; width: 40px; height: 2px; background: var(--primary); margin-top: 8px; }
.footer-widget .list { list-style: none; padding: 0; }
.footer-widget .list li { margin-bottom: 8px; }
.footer-widget .list li a { color: rgba(255,255,255,.6); font-size: 14px; transition: .3s; }
.footer-widget .list li a:hover { color: var(--primary); padding-left: 5px; }
.subscribe-form { position: relative; }
.subscribe-form input { width: 100%; padding: 12px 60px 12px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 50px; background: rgba(255,255,255,.05); color: var(--white); font-size: 14px; }
.subscribe-form button { position: absolute; right: 4px; top: 4px; bottom: 4px; background: var(--primary); border: none; border-radius: 50%; width: 36px; color: var(--white); cursor: pointer; transition: .3s; }
.subscribe-form button:hover { background: var(--primary-dark); }
.copyright-text p { font-size: 13px; margin-top: 20px; color: rgba(255,255,255,.5); }

.scroll-top { position: fixed; bottom: 80px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--white); z-index: 999; transition: .3s; display: none; border: none; cursor: pointer; align-items: center; justify-content: center; font-size: 20px; }
.scroll-top.active { display: flex; }
.scroll-top:hover { background: var(--primary-dark); color: var(--white); }

.whatsapp { position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; background: #25d366; color: var(--white) !important; z-index: 999; font-size: 24px; box-shadow: 0 4px 12px rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center; }
.whatsapp:hover { background: #1da851; color: var(--white) !important; transform: scale(1.1); }

#preloader { position: fixed; inset: 0; background: var(--dark); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity .5s; }
#preloader.loaded { opacity: 0; pointer-events: none; }

@media (max-width: 991px) {
  .hero h2 { font-size: 32px; }
  .mobile-nav-toggle { display: block; }
  .navbar ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark-2); padding: 16px; border-top: 1px solid rgba(255,255,255,.1); }
  .navbar.mobile-nav-active ul { display: flex; }
  .hide-on-mobile { display: none !important; }
  #featured .left .list-wrap { text-align: left; flex-direction: row-reverse; }
  .footer-column { margin-top: 30px; }
}
@media (max-width: 767px) {
  .hero h2 { font-size: 26px; }
  .hero { padding-top: 100px; min-height: auto; padding-bottom: 60px; }
  .section-header h2 { font-size: 26px; }
  .team .member img { height: 200px; }
}
