/* ===== STELLAR INNOVATION EVENTS - CUSTOM STYLES ===== */

/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #d70000;
    --primary-dark: #b50000;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    padding-bottom: 80px; /* space for sticky bottom menu */
}
    
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-success {
    background-color: #25d366;
    border-color: #25d366;
    font-weight: 600;
}

.btn-success:hover {
    background-color: #128c7e;
    border-color: #128c7e;
    transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 10px;
    padding: 8px 16px;
    border-radius: 5px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(215, 0, 0, 0.1);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(215, 0, 0, 0.3) 100%);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-cta .btn {
    margin: 5px;
    font-size: 1.1rem;
    padding: 15px 35px;
}

/* ===== PROCESS CARDS ===== */
.process-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.process-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.process-card.final-step {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.process-card.final-step h4 {
    color: var(--white);
}

/* ===== SERVICE ITEMS ===== */
.service-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.service-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
}

.service-item span {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
}

/* ===== CAROUSEL STYLES ===== */
.carousel-item {
    padding: 2rem;
}

.carousel-item img {
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.carousel-item img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.carousel-item h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.client-logo {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* ===== CLIENT BADGES ===== */
.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.client-badge {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    border: 2px solid transparent;
    transition: var(--transition);
}

.client-badge:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.feature-card.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.feature-card.highlight h4 {
    color: var(--white);
}

.feature-card.highlight .feature-icon {
    background: var(--white);
    color: var(--primary-color);
}

/* ===== TEAM CARDS ===== */
.team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.team-card h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0;
}

/* ===== CONTACT CARDS ===== */
.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.contact-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--black) !important;
}

footer h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.social-links a {
    display: inline-block;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-color) !important;
}

/* ===== MOBILE STICKY MENU ===== */
.mobile-bottom-menu {
    z-index: 9998; /* Below cookie consent but above other content */
}

.mobile-bottom-menu a {
    padding: 8px 4px;
    transition: var(--transition);
    border-radius: 8px;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-bottom-menu a:hover,
.mobile-bottom-menu a:focus {
    background-color: rgba(215, 0, 0, 0.1);
    color: var(--primary-color) !important;
    text-decoration: none;
}

.mobile-bottom-menu i {
    margin-bottom: 2px;
}

.mobile-bottom-menu small {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px; /* iOS recommended touch target */
        padding: 12px 20px;
    }
    
    .navbar-nav .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-item {
        min-height: 50px;
        padding: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
        min-height: 50px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

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

/* Large tablets and small desktops */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .carousel-item {
        padding: 1.5rem;
    }
    
    .carousel-item .row {
        text-align: center;
    }
    
    .carousel-item .col-md-4 {
        margin-bottom: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    body {
        padding-bottom: 90px; /* Increased space for mobile menu */
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .client-logos {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .client-badge {
        margin: 3px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
        text-align: center;
    }
    
    .cookie-consent {
        padding: 0.5rem 0;
    }
    
    .cookie-consent .col-md-4 {
        text-align: center;
        margin-top: 1rem;
    }
    
    .cookie-consent .col-md-8 p {
        font-size: 0.85rem;
        text-align: center;
    }
    
    /* Process cards mobile optimization */
    .process-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    /* Carousel mobile fixes */
    .carousel-item {
        padding: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 8%;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 35px;
        height: 35px;
    }
    
    /* Contact section mobile */
    .contact-card {
        margin-bottom: 2rem;
    }
    
    /* Client logo grid mobile */
    .client-logo-img {
        max-height: 60px;
    }
    
    /* Service items mobile */
    .service-item {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .service-item i {
        font-size: 1.2rem;
        margin-right: 0.8rem;
        width: 25px;
    }
    
    /* Team cards mobile */
    .team-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    /* Feature cards mobile */
    .feature-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* Mobile phones */
@media (max-width: 576px) {
    body {
        padding-bottom: 95px; /* Even more space for mobile menu */
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .hero-cta .btn {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    
    .process-card,
    .feature-card,
    .team-card,
    .contact-card {
        margin-bottom: 2rem;
        padding: 1.2rem;
    }
    
    .process-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Carousel mobile adjustments */
    .carousel-item {
        padding: 0.5rem;
    }
    
    .carousel-item h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .carousel-item p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .client-logo {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    /* Client badges smaller */
    .client-badge {
        padding: 4px 8px;
        font-size: 0.75rem;
        margin: 2px;
    }
    
    /* Service items smaller */
    .service-item {
        padding: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .service-item span {
        font-size: 0.9rem;
    }
    
    /* Contact form mobile */
    .contact-card i {
        font-size: 2rem;
    }
    
    /* Client logos smaller on mobile */
    .client-logo-img {
        max-height: 50px;
    }
    
    /* Cookie consent mobile */
    .cookie-consent {
        padding: 0.8rem 0;
    }
    
    .cookie-consent p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .cookie-consent .btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-cta .btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .process-card,
    .feature-card,
    .team-card,
    .contact-card {
        padding: 1rem;
    }
    
    .client-logo-img {
        max-height: 40px;
    }
}

.process-card.final-step .process-number {
  background-color: #d70000;
  color: #fff; /* or whatever text color you want to stand out on white */
  border: 2px solid #fff;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== SCROLL BEHAVIOR ===== */
html {
    scroll-behavior: smooth;
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* ==CUSTOM ANIMATIONS SHASANTH 1== */

/* Container fade-in */
.hero-section .container {
  animation: fadeIn 1.2s ease-in forwards;
}

/* Title slides in from bottom */
.hero-title {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease-out 0.3s forwards;
}

/* Subtitle fades in slightly after */
.hero-subtitle {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease-out 0.5s forwards;
}

/* Buttons scale in */
.hero-cta a {
  opacity: 0;
  transform: scale(0.9);
  animation: zoomIn 0.8s ease-in-out 0.8s forwards;
}

/* Overlay fade */
.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  inset: 0;
  position: absolute;
  z-index: 1;
}

/* Positioning layer fix */
.hero-section .container,
.hero-section .row,
.hero-section .col-lg-8 {
  position: relative;
  z-index: 2;
}

/* Animations */
@keyframes fadeIn {
  0% { opacity: 0 }
  100% { opacity: 1 }
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}


/* ==CUSTOM ANIMATIONS SHASANTH 2== */
/* Continuous smooth sliding */
/* Optional: add a hover effect if needed */
#clientCarousel:hover .carousel-inner {
  animation-play-state: paused;
}

.carousel-item {
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

/* Team Card SHASANTH 3 */

.team-card.highlight {
  border: 2px solid #d70000;
  background-color: #fff3f3;
  box-shadow: 0 0 15px rgba(215, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card.highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(215, 0, 0, 0.25);
}

.team-card i.fab.fa-linkedin {
  margin-top: 10px;
  display: block;
}

/* Shasanth Client Logos */

.client-logo-img {
  max-height: 90px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: all 0.3s ease;
}

.client-logo-img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* Smooth fade/slide transition */
.carousel-item-start.carousel-item-next,
.carousel-item-prev.carousel-item-end {
  transform: translateX(0%);
  opacity: 1;
}

.carousel-item-start,
.carousel-item-end {
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}





