/* Custom CSS for Mechanics | Oscillating Fan */

:root {
    --accent-orange: #1C4297 !important;
    --cream-bg: #f0f3fb !important;
    --white: #ffffff !important;
    --gray-700: #374151 !important;
    --gray-600: #4b5563 !important;
    --shadow-orange: 0 4px 20px rgba(28, 66, 151, 0.15) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background: linear-gradient(135deg, var(--cream-bg) 0%, var(--cream-bg) 100%);
    min-height: 100vh;
}

/* Typography */
.accent-orange { color: var(--accent-orange); }
.bg-accent-orange { background-color: var(--accent-orange); }
.bg-cream { background-color: var(--cream-bg); }
.border-accent-orange { border-color: var(--accent-orange); }

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}


  .text-orange{
            color: #1C4297;
        }
        .bg-orange{
            background-color: #1C4297 !important;

        }
        .bgorange{
            background-color: #f0f3fb !important;
        }

/* === HERO SECTION STYLING === */

.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f0f3fb 0%, #f0f3fb 100%);
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1C4297;
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-title {
  margin-left: 0; /* 🟢 make sure no left margin */
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #2d3748 0%, #1C4297 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #4a5568;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4a5568;
  font-size: 0.95rem;
}

.meta-item i {
  color: #1C4297;
}

.hero-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bg-orange {
  background: #1C4297;
}

.text-white {
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-visual {
  animation: fadeInRight 0.8s ease-out;
}

.visual-card {
  position: relative;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transform: rotate(5deg);
  transition: transform 0.3s ease;
}

.visual-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.visual-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #1C4297;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}


/* === RESPONSIVE DESIGN === */

@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-meta {
    justify-content: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-image {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .visual-overlay {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}


.section {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-orange);
    padding: 2rem;
    margin-bottom: 3rem;
    border-top: 4px solid var(--accent-orange);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Interactive Elements */
.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(28, 66, 151, 0.2);
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1C4297;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(28, 66, 151, 0.3);
}

/* Image Styling */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

video {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Typography Styles */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--gray-600);
}

/* Special Components */
.highlight-box {
    background: var(--cream-bg);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid var(--accent-orange);
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.tech-list .number {
    background: var(--accent-orange);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    min-width: 24px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 1rem;
    }
    
    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .section {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
    
    .hover-scale:hover {
        transform: none;
    }
    
    video {
        display: none;
    }
}
