:root {
  --primary-color: #0d6efd;
  --text-color: #0c2a47;
  --bg-color: #ffffff;
  --secondary-bg: #f8f9fa;
  --accent-color: #0d6efd;
  --transition-speed: 0.3s;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #680f74;
    --text-color: #010407;
    --secondary-text-color: #dae2e9;
    --secondary-bg: #1a1a1d;
    --accent-color: #66b2ff;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  scroll-behavior: smooth;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0dcaf0;
}

.navbar {
  padding: 0.8rem 1rem;
  background-color: transparent;
  transition: background-color 0.4s ease, padding 0.3s;
  background: rgba(0, 0, 0, 0.85);
}

.navbar.scrolled {
  background-color: rgba(13, 110, 253, 0.9);
  padding: 0.75rem;
}

.navbar-brand img {
  height: 30px;
  margin-right: 5px;
}

.nav-link {
  color: var(--text-color) !important;
  color: #fff !important;
  margin-left: 5px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent-color) !important;
}

.navbar-social a {
  color: var(--text-color);
  margin-left: 10px;
  font-size: 1.1rem;
  transition: color 0.3s ease, transform 0.3s;
}

.navbar-social a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.navbar-social a {
  color: var(--text-color);
  margin-left: 10px;
  font-size: 1.1rem;
  transition: color 0.3s ease, transform 0.3s;
}

.navbar-social a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.footer .social-links a {
  font-size: 1.4rem;
  margin: 0 10px;
  color: var(--text-color);
  transition: color 0.3s, transform 0.3s;
}
.footer .social-links a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.hero-section {
  position: relative;
  height: 100vh;
  background: url('../img/cloud-integration-1.jpeg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  animation: bgAnimation 30s linear infinite;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  animation: slideInDown 1s ease-out;
}

.hero-content p {
  font-size: 1.3rem;
  margin-top: 15px;
  animation: fadeInUp 1.5s ease-out;
}

.hero-content .btn {
  margin-top: 25px;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@keyframes bgAnimation {
  0% { background-position: center top; }
  50% { background-position: center bottom; }
  100% { background-position: center top; }
}

.section-title {
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #0dcaf0;
  margin: 15px auto 0;
  border-radius: 2px;
}

.card {
  border-radius: 15px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card img {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  object-fit: cover;
  height: 200px;
  width: 100%;
}

.contact-form,
.feedback-form {
  max-width: 700px;
  margin: 50px auto;
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

input,
textarea,
select {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #0dcaf0;
  box-shadow: 0 0 8px rgba(13, 202, 240, 0.3);
  outline: none;
}

button.btn-primary {
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

button.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background: url('..//Google-Map.png') no-repeat center center/cover;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 30px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.footer {
  background-color: var(--secondary-bg);
  color: var(--text-color);
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

.footer .social-links a {
  color: var(--text-color);
  margin: 0 8px;
  font-size: 1.3rem;
  transition: color var(--transition-speed), transform 0.3s ease;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 10px 12px;
  font-size: 1.2rem;
  display: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1000;
}

#scrollTopBtn:hover {
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .navbar-brand span {
    font-size: 1rem;
  }
}

.chat-assistant {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.chat-assistant button {
  border-radius: 50%;
  padding: 15px;
  font-size: 1.5rem;
  background: #0dcaf0;
  border: none;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.chat-assistant button:hover {
  transform: scale(1.1);
}

.chat-window {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 350px;
  max-width: 90%;
  height: 450px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  background: #0dcaf0;
  color: #fff;
  padding: 15px;
  font-weight: bold;
  text-align: center;
}

.chat-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
}

.chat-footer {
  padding: 10px;
  display: flex;
  gap: 10px;
}

.chat-footer input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.chat-footer button {
  padding: 8px 15px;
  border-radius: 8px;
  background: #0dcaf0;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

.chat-footer button:hover {
  background: #0aa9c9;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 1199px) {
  .hero-section { padding: 80px 20px; }
}

@media (max-width: 991px) {
  .card img { height: 180px; }
  .section-title { font-size: 1.9rem; }
}

@media (max-width: 767px) {
  .hero-section { padding: 70px 15px; height: auto; }
  .card img { height: 150px; }
  .map-placeholder { height: 300px; }
  .chat-window { width: 90%; height: 400px; }
}

@media (max-width: 575px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 1rem; }
}

.portfolio-section {
  background: #f8f9fa; 
  font-family: "Poppins", sans-serif;
  background-image: url('../portfolio-desk.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.portfolio-section h1 {
  font-weight: 700;
  font-size: 3rem;
}

.filter-buttons {
  text-align: center;
  margin-bottom: 40px;
}

.filter-buttons .btn {
  border-radius: 30px;
  margin: 5px;
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.filter-buttons .btn.active {
  background: #0dcaf0;
  color: #fff;
}

.card {
  border: none; 
  border-radius: 15px; 
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0,1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.btn-primary:hover {
  background-color: #084298;
  border-color: #084298;
}

.btn-light {
  color: var(--accent-color);
}

.footer {
  background-color: var(--secondary-bg);
  color: var(--text-color);
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

.footer {
  background-color: var(--secondary-bg);
  padding: 2rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-speed);
}

.footer a {
  color: var(--text-color);
  text-decoration: cadetblue;
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--accent-color);
}

.footer .social-links a {
  font-size: 1.4rem;
  margin: 0 10px;
  color: var(--text-color);
  transition: color 0.3s, transform 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
  margin: 0 8px;
  font-size: 1.3rem;
  transition: color var(--transition-speed), transform 0.3s ease;
}

.footer h6 {
  font-size: 1rem;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .navbar-brand span {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer .social-links {
    margin-top: 1rem;
  }
}
