/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #111;
  color: #fff;
  line-height: 1.6;
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 30px;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

/* Optional: Add a pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  animation: pulse 2s infinite;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
}

/* Header Styles */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 5%;
  background: #ffffffcc;
  position: fixed;
  width: 100%;
  z-index: 999;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

header.hidden {
  transform: translateY(-100%);
}

.logo-text {
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(to right, #ff416c, #7873f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text a {
  text-decoration: none;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 150px 5% 80px;
  background: #fffdff;
  text-align: center;
  font-style: italic !important;
}

#robotImage {
  max-width: 600px;
  width: 90%;
  transition: transform 0.3s ease;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

.typing-text {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(to right, #2196f3, #e91e63);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: typing 3s steps(40, end) 1;
  margin: 30px auto;
}

/* Parallax Banner */
.parallax-banner {
  background: url('../images/cryzer home.jpg') no-repeat center center / cover;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-style: italic !important;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

/* Mobile fix to keep text in single line */
@media (max-width: 768px) {
  .parallax-banner {
    font-size: 24px;
    white-space: nowrap;
    padding: 0 20px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .parallax-banner {
    font-size: 20px;
    padding: 0 15px;
  }
}

/* Expertise Section Styles */
.expertise-section {
  padding: 80px 5%;
  background: linear-gradient(135deg, #FF4433,#FF4433);
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 60px;
  color: #fff;
  font-weight: 800;
  position: relative;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }
  100% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(120, 115, 245, 0.6);
  }
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #ff416c, #7873f5);
  border-radius: 2px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.expertise-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.expertise-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.expertise-item:hover::before {
  left: 100%;
}

.expertise-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(120, 115, 245, 0.3);
}

.expertise-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #ff416c, #7873f5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  transition: all 0.3s ease;
}

.expertise-item:hover .expertise-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(120, 115, 245, 0.5);
}

.expertise-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
  position: relative;
  display: inline-block;
}

.expertise-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #ff416c, #7873f5);
  transition: width 0.3s ease;
}

.expertise-item:hover .expertise-title::after {
  width: 100%;
}

.expertise-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

/* Text Animation for Titles */
@keyframes textReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.expertise-title {
  animation: textReveal 0.8s ease forwards;
}

/* Modern Cards Section */
.modern-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 80px 5%;
  justify-content: center;
  background: #FAF9F6;
}

.modern-cards > div {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 30px;
  max-width: 400px;
  text-align: center;
  width: 100%;
  color: #333;
}

.modern-cards img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.modern-cards h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
}

.modern-cards p {
  font-size: 16px;
  color: #666;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 5%;
  background: #FF4433;
}

.gallery-section .section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #fff;
}

.gallery-wrapper {
  width: 100%;
  overflow-x: auto;
}

.gallery-track {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  width: max-content;
}

.gallery-item {
  flex: 0 0 auto;
  width: 200px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.swipe-indicator {
  text-align: center;
  margin-top: 20px;
  color: #fff;
  font-size: 14px;
}

/* News Feed Section */
.news-feed {
  padding: 80px 5%;
  background: white;
  color: #000;
}

.news-feed .section-title {
  color: #000;
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.news-image {
  text-align: center;
  margin: 30px 0;
}

.news-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-section {
  padding: 80px 5%;
  background: #FF4433;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  background: #fff;
  color: #333;
}

.contact-form button {
  background: linear-gradient(145deg, #2196f3, #e91e63);
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 100%;
}

.contact-form button:hover {
  transform: scale(1.05);
}

/* Google Map */
.google-map iframe {
  display: block;
}

/* Footer */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 40px 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}

.social-icons a {
  color: #7873f5;
  font-size: 28px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #ff416c;
  transform: scale(1.2) translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .typing-text { 
    font-size: 28px;
    white-space: normal;
    animation: none;
    width: auto;
  }
  
  .parallax-banner {
    font-size: 28px;
    height: 60vh;
  }
  
  .modern-cards {
    padding: 50px 5%;
    gap: 20px;
  }
  
  .gallery-item {
    width: 150px;
  }
  
  .section-title {
    font-size: 26px;
  }
  
  .expertise-section .section-title {
    font-size: 32px;
  }
  
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .expertise-item {
    padding: 25px 20px;
  }
  
  .expertise-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .expertise-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .expertise-section {
    padding: 60px 5%;
  }
  
  .expertise-section .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
}

/* Prevent symbols, icons, and form elements from becoming italic */
i, .fas, .fab, .fa, 
[class*="icon"], 
.whatsapp-float,
.contact-form input, 
.contact-form textarea, 
.contact-form button,
.expertise-icon,
.social-icons a {
  font-style: normal !important;
}

/* Alternative: Target specific elements that should not be italic */
.expertise-section i,
footer i,
.whatsapp-float i,
.social-icons i {
  font-style: normal !important;
}