/* ================================================
   INDEX5 PAGE STYLES - BONYAN SYSTEM
   ================================================ */

/* CSS Custom Properties for consistent theming */
:root {
    --primary-color: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary-color: #f1f5f9;
    --accent-color: #10b981;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles Override */
body {
    font-family: 'Inter', 'Roboto', 'Open Sans', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p, a, li {
    font-family: 'Inter', 'Open Sans', sans-serif;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.7;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-light);
}

/* Enhanced Button Styles */
.btn {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    color: var(--white);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    background: var(--gray-50);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Header Section Enhancements */
.header {
    height: 100vh;
    position: relative;
    background: var(--gray-900);
}

.header .swiper {
    height: auto;
}

.slide-inner {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.8) 0%,
        rgba(29, 78, 216, 0.9) 100%
    );
    z-index: 1;
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 900px;
    color: var(--white);
}

.animate-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.subtitle {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.header-content h1 {
    color: var(--white);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.header-content .lead {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}


/* Why Choose Us Section */
.why-choose-us {
    background: var(--white);
    padding: 5rem 0;
}

.feature-item {
    transition: var(--transition);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.feature-item:hover {
    background: var(--gray-50);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1rem;
    padding: 0.75rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
}

.feature-item h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.image-wrapper {
    position: relative;
}

.floating-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--primary-color);
    max-width: 250px;
    margin: 1rem;
}

.floating-card h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.floating-card p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.8rem;
}

/* Services Section */
.services {
    background: var(--gray-50);
    padding: 5rem 0;
}

.service-card {
    transition: var(--transition);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.img-wrapper {
    overflow: hidden;
    position: relative;
    height: 250px;
}

.img-wrapper img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card:hover .img-wrapper img {
    transform: scale(1.1);
}

.content-wrapper {
    padding: 2rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.service-icon i {
    color: var(--white);
    font-size: 24px;
}

.service-card h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-read-more {
    position: relative;
    overflow: hidden;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

.btn-read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-read-more:hover::before {
    width: 100%;
}

.btn-read-more:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    padding: 5rem 0;
    color: var(--white);
    position: relative;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.final-cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.cta-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.final-cta-section h1 {
    color: var(--white);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.final-cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.contact-options .btn {
    margin: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-options .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --border-radius: 0.375rem;
        --border-radius-lg: 0.5rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .btn-wrapper .btn {
        display: block;
        margin-bottom: 1rem;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .floating-card {
        position: static !important;
        margin-top: 2rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-section,
    .final-cta-section {
        background-attachment: scroll;
    }
    
    .stat-item h2 {
        font-size: 2.5rem;
    }
    
    .service-card,
    .industry-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .newsletter-form {
        margin-top: 2rem;
    }
    
    /* Final CTA responsive styles */
    .final-cta-section .row {
        flex-direction: column-reverse;
    }
    
    .cta-image {
        width: 250px;
        height: 250px;
        margin-bottom: 1rem;
    }
    
    .final-cta-section h1 {
        font-size: 2.5rem;
    }
    
    .contact-options .btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0.5rem auto;
    }
}

@media (max-width: 576px) {
    .header-content {
        width: 95%;
        padding: 1rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 0.5rem;
    }
    
    .feature-item,
    .industry-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon i {
        font-size: 20px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.6s ease forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for cards */
.service-card,
.industry-card,
.testimonial-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Print styles */
@media print {
    .header,
    .cta-section,
    .final-cta-section {
        background: none !important;
        color: var(--text-dark) !important;
    }
    
    .btn {
        border: 1px solid var(--text-dark) !important;
        background: none !important;
        color: var(--text-dark) !important;
    }
}

/* Client Images in Testimonials 
.testimonial-card img.rounded-circle {
    object-fit: cover;
} 

/* solution section text size */
#solutions p {
    font-size: 1.6rem;
}

@media (max-width: 576px) {
    #solutions p {
        font-size: 1.1rem;
    }
}

@import url('https://fonts.googleapis.com/css?family=Play:700');

.main-animation-container {
  display: flex;
  place-content: center;
  color: #e5e5e5;
  font-size: 1.92rem;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.24rem;
  font-family: 'Play', sans-serif;
  background: none;
  margin-bottom: 1.6rem;
  margin-top: 1.6rem;
  width: 100%;
  max-width: 1000px;
}

.main-animation-container p {
  margin: 0.5rem 0 0 0;
  font-size: 1.76rem;
}

.main-animation-container .animation {
  height: 4.48rem;
  overflow: hidden;
  margin-left: 0;
  text-align: right;
}

.main-animation-container .animation > div > div {
  padding: 0.24rem 0.8rem;
  height: 3.36rem;
  margin-bottom: 3.6rem;
  display: inline-block;
  font-size: 1.76rem;
}

.main-animation-container .animation div:first-child {
  animation: text-animation 12s infinite;
}

.main-animation-container .first div { background-color: #20a7d8; }
.main-animation-container .second div { background-color: #CD921E; }
.main-animation-container .third div { background-color: #c10528; }
.main-animation-container .fourth div { background-color: #2d8f3c; }

@keyframes text-animation {
  0% {margin-top: 0;}
  6% {margin-top: 0;}
  12% {margin-top: 0;}
  18% {margin-top: -7rem;}
  24% {margin-top: -7rem;}
  30% {margin-top: -13.79rem;}
  36% {margin-top: -13.79rem;}
  45% {margin-top: -20.75rem;}/* 20.16 */
  58% {margin-top: -20.75rem;}
  64% {margin-top: -13.79rem;}
  70% {margin-top: -13.79rem;}
  76% {margin-top: -7rem;}
  82% {margin-top: -7rem;}
  88% {margin-top: 0;}
  94% {margin-top: 0;}
  100% {margin-top: 0;}
}

.slider-title-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  gap: 0;
}
.animated-word {
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
  margin-right: 0.7em;
  width: 9.5ch; /* fits 'Interconnect' */
  display: inline-block;
  text-align: right;
  opacity: 1;
}
.animated-word.hide {
  opacity: 0;
}
.fixed-title {
  color: #fff;
}
@media (max-width: 768px) {
  .slider-title-wrapper {
    font-size: 1.3rem;
  }
  .animated-word, .fixed-title {
    font-size: 1.3rem;
  }
  .animated-word {
    width: 7.5ch;
  }
}

