/* Oba-Cloud.inc Website Styles - Premium Edition */
:root {
  /* Core Colors */
  --primary-color: #0056b3;
  --primary-light: #0077cc;
  --primary-dark: #004494;
  --secondary-color: #00c2ff;
  --secondary-light: #33d6ff;
  --secondary-dark: #00a3d9;
  --accent-color: #ff5500;
  --accent-light: #ff7733;
  --accent-dark: #cc4400;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-secondary: linear-gradient(135deg, var(--accent-color), #ff9500);
  --gradient-dark: linear-gradient(135deg, #1a1a2e, #16213e);
  --gradient-light: linear-gradient(135deg, #ffffff, #f8f9fa);
  
  /* UI Colors */
  --light-color: #f8f9fa;
  --dark-color: #1a1a2e;
  --text-color: #2d3748;
  --text-muted: #718096;
  --light-text: #ffffff;
  --border-color: #e2e8f0;
  --success-color: #00d084;
  --error-color: #ff3860;
  --warning-color: #ffc107;
  --info-color: #3498db;
  
  /* Typography */
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  
  /* Effects */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.2);
  --card-shadow: 0 15px 35px rgba(0, 86, 179, 0.1);
  --card-shadow-hover: 0 20px 40px rgba(0, 86, 179, 0.15);
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-sm: 4px;
  
  /* Z-index layers */
  --z-negative: -1;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.7;
  background-color: var(--light-color);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

p {
  margin-bottom: 1.5rem;
}

button {
  cursor: pointer;
  font-family: var(--font-primary);
}

input, textarea, select {
  font-family: var(--font-primary);
}

::selection {
  background-color: var(--primary-color);
  color: var(--light-text);
}

/* Layout & Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: var(--gradient-primary);
  color: var(--light-text);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  z-index: -1;
  transition: var(--transition);
  opacity: 0;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
  color: var(--light-text);
}

.btn:hover:before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--light-text);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
  transform: translateY(-3px);
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--gradient-secondary);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 1rem auto 0;
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 45px;
  margin-right: 12px;
  transition: var(--transition);
}

.logo h1 {
  font-size: 26px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  margin-left: 35px;
}

.nav-menu a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
  border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  cursor: pointer;
  z-index: var(--z-fixed);
}

.hamburger {
  width: 30px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.svg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--light-text);
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 86, 179, 0.8), rgba(0, 194, 255, 0.8));
  opacity: 0.85;
  z-index: var(--z-negative);
  animation: gradientShift 10s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: var(--z-normal);
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 25px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: var(--light-text);
}

.hero p {
  font-size: 1.375rem;
  margin-bottom: 35px;
  font-weight: 400;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 25px;
}

/* Services Section */
.services {
  background-color: #f9f9fa;
  position: relative;
  overflow: hidden;
}

/* Services Section with Purple Gradient Background */
.services-section {
  background: linear-gradient(135deg, #6a1b9a 0%, #8e24aa 50%, #ab47bc 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.services-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--light-text);
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.services-section .section-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  text-align: center;
  opacity: 0.9;
  color: var(--light-text);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.service-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  background: transparent;
  border: 2px solid var(--border-color);
  border-radius: 30px;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--light-text);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 40px;
  position: relative;
  z-index: var(--z-normal);
}

.service-card {
  background-color: var(--light-text);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 86, 179, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(0, 86, 179, 0.1);
}

.service-icon {
  height: 90px;
  width: 90px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 86, 179, 0.1), rgba(0, 194, 255, 0.1));
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 36px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: var(--light-text);
  transform: scale(1.1);
}

.service-content {
  padding: 35px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--dark-color);
  font-weight: 700;
}

.service-content p {
  margin-bottom: 25px;
  color: var(--text-muted);
  font-size: 16px;
}

.service-list {
  margin-top: 20px;
  margin-bottom: auto;
}

.service-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
  color: var(--text-color);
}

.service-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
  font-size: 18px;
}

/* About Section */
.about {
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: var(--z-normal);
}

.about-img {
  flex: 1;
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.about-img:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--dark-color);
  font-weight: 700;
}

.about-text p {
  margin-bottom: 25px;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.8;
}

/* Custom Images */
.custom-image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.custom-image:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

/* Blended Image Section */
.blended-image-section {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.blended-background {
  position: relative;
  z-index: var(--z-normal);
  width: 100%;
}

.blended-content {
  text-align: center;
  color: var(--light-text);
  max-width: 800px;
  margin: 0 auto;
}

.blended-content h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: var(--light-text);
}

.blended-content p {
  font-size: 1.25rem;
  margin-bottom: 35px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
}

/* Technology Showcase Section */
.technology-showcase {
  background-color: #f8f9fa;
}

/* Contact Section */
.contact {
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--dark-color);
  font-weight: 700;
}

.contact-info p {
  margin-bottom: 30px;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.8;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-details p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: var(--text-color);
  font-size: 1rem;
}

.contact-details i {
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  color: var(--light-text);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
}

.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
}

/* Contact Form */
.contact-form-container {
  background: var(--light-text);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 86, 179, 0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  color: var(--dark-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--light-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--gradient-dark);
  color: var(--light-text);
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.25rem;
  margin-bottom: 25px;
  color: var(--light-text);
  font-weight: 700;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: var(--gradient-secondary);
  bottom: -8px;
  left: 0;
  border-radius: 2px;
}

.footer-col p {
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--light-text);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.25rem;
  }
  
  .about-content {
    gap: 40px;
  }
  
  .contact-container {
    gap: 40px;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 20px 0;
  }
  
  .nav-menu a {
    font-size: 1.5rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.125rem;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .about-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .blended-content h2 {
    font-size: 2.5rem;
  }
  
  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .blended-content h2 {
    font-size: 2rem;
  }
  
  .contact-form-container {
    padding: 25px;
  }
  
  .service-content {
    padding: 25px;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}
