/* --- Enhanced Modern Design for Createcute --- */

/* 1. Custom Properties (CSS Variables) */
:root {
    --bg-dark: #0a0a0a;
    --bg-light-dark: #1a1a1a;
    --bg-card: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #adb5bd;
    --accent-primary: #0d6efd;
    --gradient-start: #6a11cb;
    --gradient-end: #2575fc;
    --gradient-accent: #ff6b6b;
    --shadow-light: rgba(106, 17, 203, 0.1);
    --shadow-medium: rgba(37, 117, 252, 0.2);
    --border-color: #333;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
}

/* 2. Global Styles & Typography */
body {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0f0f0f 100%);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { 
    font-weight: 600;
    line-height: 1.2;
}

.section-title { 
    margin-bottom: 3rem; 
    font-weight: 700;
    position: relative;
}

.gradient-text {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 3. Navbar Overrides */
.navbar {
    background-color: rgba(30, 30, 30, 0.8) !important;
    backdrop-filter: blur(10px);
}
.navbar-brand {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
}
.nav-link { transition: color 0.3s ease; }
.nav-link:hover { color: #fff !important; }

/* 4. Enhanced Button Styles */
.btn-primary {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    border: none;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(106, 17, 203, 0.4);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

.btn-outline-light {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--gradient-end);
    color: var(--gradient-end);
}

.btn-outline-light:hover {
    background: var(--gradient-end);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 117, 252, 0.3);
}

/* 5. Enhanced Service & Card Styles */
.service-card, .portfolio-card, .blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before, .portfolio-card::before, .blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before, .portfolio-card:hover::before, .blog-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover, .portfolio-card:hover, .blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
    border-color: var(--gradient-end);
}

.service-card { padding: 2.5rem 2rem; }
.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-card { overflow: hidden; }

/* Enhanced Service Cards */
.service-card-enhanced {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card-enhanced:hover::before {
    transform: scaleX(1);
}

.service-card-enhanced:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px var(--shadow-medium);
    border-color: var(--gradient-end);
}

.service-card-enhanced.featured {
    border: 2px solid var(--gradient-end);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    background: var(--bg-dark);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

/* Mini Service Cards */
.mini-service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.mini-service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gradient-end);
    box-shadow: 0 10px 25px var(--shadow-light);
}

.mini-service-card i {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 6. Enhanced Industry Card Styles */
.industry-card {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.industry-card:hover::before {
    opacity: 0.1;
}

.industry-card:hover {
    border-color: var(--gradient-end);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-light);
}

.industry-card .icon {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.industry-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    font-weight: 500;
}

/* 7. Enhanced Team Card Styles */
.team-card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card img {
    border: 4px solid var(--border-color);
    transition: all 0.3s ease;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.team-card:hover img {
    border-color: var(--gradient-end);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

/* 8. Enhanced Tech Stack Styles */
.tech-stack-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 3rem; 
    margin-top: 3rem;
}

.tech-category {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    border-color: var(--gradient-end);
    box-shadow: 0 10px 25px var(--shadow-light);
}

.tech-category h5 {
    color: var(--gradient-end);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.tech-category .tech-icons { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 1rem; 
    justify-content: center; 
}

.tech-category .tech-icons span { 
    background: var(--bg-dark); 
    color: var(--text-secondary);
    padding: 0.75rem 1.25rem; 
    border-radius: 25px; 
    border: 1px solid var(--border-color); 
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-category .tech-icons span:hover {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: white;
    transform: translateY(-2px);
}

/* 9. Chatbot Styles */
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");
.chatbot-toggler {
    position: fixed;
    bottom: 30px;
    right: 35px;
    outline: none;
    border: none;
    height: 50px;
    width: 50px;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    transition: all 0.2s ease;
    z-index: 100;
}
body.show-chatbot .chatbot-toggler {
    transform: rotate(90deg);
}
.chatbot-toggler span {
    color: #fff;
    position: absolute;
}
.chatbot-toggler span:last-child,
body.show-chatbot .chatbot-toggler span:first-child  {
    opacity: 0;
}
body.show-chatbot .chatbot-toggler span:last-child {
    opacity: 1;
}
.chatbot {
    position: fixed;
    right: 35px;
    bottom: 90px;
    width: 420px;
    background: var(--bg-dark);
    border-radius: 15px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
    transform-origin: bottom right;
    box-shadow: 0 0 128px 0 rgba(0,0,0,0.1), 0 32px 64px -48px rgba(0,0,0,0.5);
    transition: all 0.1s ease;
    border: 1px solid #333;
    z-index: 100;
}
body.show-chatbot .chatbot {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}
.chatbot header {
    padding: 16px 0;
    position: relative;
    text-align: center;
    color: #fff;
    background: var(--bg-light-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.chatbot header span {
    position: absolute;
    right: 15px;
    top: 50%;
    cursor: pointer;
    transform: translateY(-50%);
}
.chatbot .chatbox {
    overflow-y: auto;
    height: 510px;
    padding: 30px 20px 100px;
}
.chatbot :where(.chatbox, textarea)::-webkit-scrollbar {
    width: 6px;
}
.chatbot :where(.chatbox, textarea)::-webkit-scrollbar-track {
    background: #404040;
    border-radius: 25px;
}
.chatbot :where(.chatbox, textarea)::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 25px;
}
.chatbox .chat {
    display: flex;
    list-style: none;
}
.chatbox .incoming span {
    width: 32px;
    height: 32px;
    color: #fff;
    cursor: default;
    text-align: center;
    line-height: 32px;
    align-self: flex-end;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    border-radius: 4px;
    margin: 0 10px 7px 0;
}
.chatbox .chat p {
    white-space: pre-wrap;
    padding: 12px 16px;
    border-radius: 10px 10px 0 10px;
    max-width: 75%;
    color: #fff;
    font-size: 0.95rem;
    background: var(--bg-light-dark);
}
.chatbot .chat-input {
    display: flex;
    gap: 5px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: var(--bg-light-dark);
    padding: 3px 20px;
    border-top: 1px solid #333;
}
.chat-input textarea {
    height: 55px;
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    max-height: 180px;
    padding: 15px;
    font-size: 0.95rem;
    background: transparent;
    color: #fff;
}
.chat-input span {
    align-self: flex-end;
    color: #fff;
    cursor: pointer;
    height: 55px;
    display: flex;
    align-items: center;
    visibility: hidden;
    font-size: 1.75rem;
}
.chat-input textarea:valid ~ span {
    visibility: visible;
}

/* Enhanced Chatbot Animations */
.chatbot-toggler:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(106, 17, 203, 0.4);
}

.chatbot {
    backdrop-filter: blur(10px);
}

.chatbot header {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
}

/* 10. Comprehensive Footer Styles */
.footer-section {
  background: var(--bg-light-dark);
  position: relative;
}
.footer-cta {
  border-bottom: 1px solid #373636;
}
.single-cta i {
  color: var(--gradient-end);
  font-size: 30px;
  float: left;
  margin-top: 8px;
}
.cta-text {
  padding-left: 15px;
  display: inline-block;
}
.cta-text h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}
.cta-text span {
  color: var(--text-secondary);
  font-size: 15px;
}
.footer-content {
  position: relative;
  z-index: 2;
}
.footer-logo {
  margin-bottom: 30px;
}
.footer-text p {
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 28px;
}
.footer-social-icon span {
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-social-icon a {
  color: #fff;
  font-size: 16px;
  margin-right: 15px;
}
.footer-social-icon i {
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
}
.facebook-bg{
  background: #3B5998;
}
.twitter-bg{
  background: #55ACEE;
}
.google-bg{
  background: #007BFF;
}
.footer-widget-heading h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}
.footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
  background: var(--gradient-end);
}
.footer-widget ul li {
  display: inline-block;
  float: left;
  width: 50%;
  margin-bottom: 12px;
}
.footer-widget ul li a:hover{
  color: var(--gradient-end);
  transform: translateX(5px);
}
.footer-widget ul li a {
  color: var(--text-secondary);
  text-transform: capitalize;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}
.subscribe-form {
  position: relative;
  overflow: hidden;
}
.subscribe-form input {
  width: 100%;
  padding: 14px 28px;
  background: #2E2E2E;
  border: 1px solid #2E2E2E;
  color: #fff;
}
.subscribe-form button {
  position: absolute;
  right: 0;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
  padding: 13px 20px;
  border: 1px solid var(--gradient-end);
  top: 0;
}
.subscribe-form button i {
  color: #fff;
  font-size: 22px;
  transform: rotate(-6deg);
}
.copyright-area{
  background: var(--bg-dark);
  padding: 25px 0;
}
.copyright-text p {
  margin: 0;
  font-size: 14px;
  color: #878787;
}
.copyright-text p a{
  color: var(--gradient-end);
  text-decoration: none;
}
.footer-menu li {
  display: inline-block;
  margin-left: 20px;
}
.footer-menu li:hover a{
  color: var(--gradient-end);
}
.footer-menu li a {
  font-size: 14px;
  color: #878787;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .floating-card {
        display: none;
    }
    
    .tech-stack-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card-enhanced {
        padding: 2rem 1.5rem;
    }
    
    .hero-stats h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .mini-service-card {
        padding: 1.5rem 1rem;
    }
}