/* ====== CyberTd Main Styles - Fully Responsive ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
  background: #0B1E3C;
  color: #E6EDF5;
  line-height: 1.5;
  scroll-behavior: smooth;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
  background-size: clamp(30px, 5vw, 50px) clamp(30px, 5vw, 50px);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 24px);
  position: relative;
  z-index: 2;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(12px, 2vh, 22px) 0;
  flex-wrap: wrap;
  gap: 15px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.logo {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 10px);
}

.logo i {
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  color: #D4AF37;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

.logo span {
  font-size: clamp(1.3rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #FFFFFF 0%, #D4AF37 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: clamp(10px, 2vw, 32px);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  color: #C8D6E5;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a i {
  font-size: 0.9em;
  color: #D4AF37;
}

.nav-links a:hover {
  color: #D4AF37;
  text-shadow: 0 0 6px rgba(212, 175, 55, 0.7);
}

.btn-contact {
  background: transparent;
  border: 1px solid #D4AF37;
  color: #D4AF37;
  padding: clamp(6px, 1vw, 10px) clamp(14px, 2vw, 24px);
  border-radius: 40px;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.btn-contact:hover {
  background: #D4AF37;
  color: #0B1E3C;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: clamp(30px, 5vh, 70px) 0 clamp(20px, 4vh, 60px);
  gap: clamp(20px, 4vw, 40px);
}

.hero-content {
  flex: 1 1 400px;
}

.hero h1 {
  font-size: clamp(1.8rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.highlight {
  background: linear-gradient(to right, #D4AF37, #F5E6A3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(0.9rem, 2vw, 1.25rem);
  color: #B0C4DE;
  margin-bottom: 20px;
  max-width: 600px;
}

.experience-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50px;
  padding: clamp(4px, 0.8vw, 8px) clamp(12px, 2vw, 22px);
  margin-bottom: 18px;
  font-weight: 600;
  color: #D4AF37;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
}

.hero-stats {
  display: flex;
  gap: clamp(15px, 3vw, 40px);
  margin: 20px 0;
  flex-wrap: wrap;
}

.stat h3 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: #FFFFFF;
  font-weight: 700;
}

.stat p {
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  color: #9FB3CC;
  margin: 0;
}

.hero-visual {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shield-icon {
  font-size: clamp(4rem, 15vw, 13rem);
  color: #D4AF37;
  filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.5));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Sections */
.section-title {
  text-align: center;
  margin: clamp(40px, 7vh, 70px) 0 clamp(20px, 4vh, 40px);
}

.section-title h2 {
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.section-title p {
  color: #B0C4DE;
  font-size: clamp(0.85rem, 1.8vw, 1.15rem);
}

.gold-line {
  width: clamp(50px, 8vw, 80px);
  height: 3px;
  background: linear-gradient(to right, #D4AF37, #F5E6A3);
  margin: 10px auto 0;
  border-radius: 3px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: clamp(15px, 2.5vw, 30px);
  margin: 30px 0;
}

.service-card {
  background: rgba(11, 30, 60, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 20px;
  padding: clamp(18px, 3vw, 34px) clamp(14px, 2.5vw, 26px);
  transition: 0.25s;
  text-align: center;
  box-shadow: 0 10px 20px -10px rgba(0,0,0,0.4);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #D4AF37;
  box-shadow: 0 20px 30px -15px rgba(212, 175, 55, 0.3);
  background: rgba(11, 30, 60, 0.9);
}

.service-card i {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #D4AF37;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 10px;
  color: #FFFFFF;
  font-weight: 600;
}

.service-card p {
  color: #B0C4DE;
  font-size: clamp(0.78rem, 1.4vw, 0.98rem);
  line-height: 1.5;
}

/* AI Banner */
.ai-agent-banner {
  background: linear-gradient(135deg, #0B1E3C 0%, #0F2A4A 100%);
  border: 1px solid #D4AF37;
  border-radius: 24px;
  padding: clamp(20px, 4vw, 45px);
  margin: clamp(30px, 5vh, 55px) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(15px, 3vw, 35px);
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.15);
}

.ai-text {
  flex: 2;
  min-width: 250px;
}

.ai-text h3 {
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  color: #D4AF37;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-text p {
  margin-top: 12px;
  color: #CDD9E9;
  font-size: clamp(0.85rem, 1.6vw, 1.15rem);
}

.ai-icon {
  flex: 1;
  text-align: center;
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: #D4AF37;
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.7));
  min-width: 100px;
}

/* Clients */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(15px, 3vw, 45px);
  margin: 25px 0;
  color: #9FB3CC;
  font-weight: 600;
  font-size: clamp(0.85rem, 1.6vw, 1.25rem);
}

.client-logos i {
  margin-right: 6px;
  color: #D4AF37;
}

.world-map {
  text-align: center;
  font-size: clamp(0.75rem, 1.8vw, 1.25rem);
  background: rgba(212, 175, 55, 0.06);
  padding: clamp(10px, 2vw, 22px);
  border-radius: 40px;
  margin: 25px 0;
  color: #F0E6C5;
}

/* Contact Form */
.contact-form {
  max-width: 550px;
  margin: 0 auto;
  background: rgba(11, 30, 60, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  padding: clamp(18px, 3vw, 35px);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: clamp(10px, 1.5vw, 14px) clamp(12px, 2vw, 16px);
  margin-bottom: 14px;
  background: #0B1E3C;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  color: #FFFFFF;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.contact-form button {
  background: #D4AF37;
  color: #0B1E3C;
  border: none;
  padding: clamp(10px, 1.5vw, 14px) clamp(20px, 3vw, 32px);
  border-radius: 40px;
  font-weight: 700;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  cursor: pointer;
  width: 100%;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #F5E6A3;
}

/* Footer */
footer {
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding: clamp(25px, 4vh, 45px) 0 clamp(15px, 3vh, 25px);
  margin-top: clamp(40px, 7vh, 70px);
  text-align: center;
  color: #9FB3CC;
  font-size: clamp(0.75rem, 1.3vw, 0.9rem);
}

/* Chatbot */
#chatbot-toggle {
  position: fixed;
  bottom: clamp(15px, 3vh, 25px);
  right: clamp(15px, 3vw, 25px);
  z-index: 1000;
  background: #D4AF37;
  color: #0B1E3C;
  width: clamp(45px, 7vw, 60px);
  height: clamp(45px, 7vw, 60px);
  border-radius: 50%;
  border: none;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  transition: 0.3s;
}

.chatbot-window {
  position: fixed;
  bottom: clamp(80px, 12vh, 100px);
  right: clamp(15px, 3vw, 25px);
  width: min(90vw, 320px);
  background: #0B1E3C;
  border: 1px solid #D4AF37;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.7);
  z-index: 999;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-header {
  background: #D4AF37;
  color: #0B1E3C;
  padding: 12px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.chatbot-body {
  padding: 12px;
  height: clamp(180px, 30vh, 280px);
  overflow-y: auto;
  color: #E6EDF5;
  font-size: clamp(0.8rem, 1.3vw, 0.85rem);
}

.chatbot-input-area {
  display: flex;
  padding: 10px;
  gap: 6px;
  border-top: 1px solid rgba(212,175,55,0.3);
}

.chatbot-input-area input {
  flex: 1;
  padding: 8px 12px;
  background: #0A1529;
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 20px;
  color: white;
  outline: none;
  font-size: clamp(0.8rem, 1.3vw, 0.85rem);
}

.chatbot-input-area button {
  background: #D4AF37;
  border: none;
  border-radius: 50%;
  width: clamp(32px, 5vw, 40px);
  height: clamp(32px, 5vw, 40px);
  color: #0B1E3C;
  font-weight: bold;
  cursor: pointer;
  font-size: clamp(0.8rem, 1.3vw, 0.9rem);
}


.cta-button {
  display: inline-block;
  background: #D4AF37;
  color: #0B1E3C;
  padding: clamp(10px, 1.5vw, 14px) clamp(20px, 3vw, 38px);
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 10px;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  transition: 0.3s;
}

.cta-button:hover {
  background: #F5E6A3;
}

/* Additional classes for contact cards */
.contact-info-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  text-align: center;
  margin-bottom: 30px;
}

.info-card {
  background: rgba(212, 175, 55, 0.07);
  border-radius: 16px;
  padding: 20px;
  min-width: 160px;
}

.info-card i {
  font-size: 2rem;
  color: #D4AF37;
}

.info-card p {
  margin-top: 10px;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.clients-text {
  text-align: center;
  color: #B0C4DE;
  max-width: 700px;
  margin: 20px auto;
  font-size: 0.9rem;
}

.footer-sub {
  font-size: 0.8rem;
  margin-top: 6px;
}

.ai-features i {
  color: #D4AF37;
  margin-right: 5px;
}
/* Very small phones (e.g., iPhone SE, 320px) */
@media (max-width: 380px) {
  .nav-links {
    gap: 5px;
  }
  .nav-links a {
    font-size: 0.7rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #C8D6E5;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: 0.2s;
  font-weight: 500;
}

.lang-btn:hover {
  border-color: #D4AF37;
  color: #D4AF37;
}

.lang-btn.active {
  background: #D4AF37;
  color: #0B1E3C;
  border-color: #D4AF37;
}
