/* 
Theme Name: Tcatalyst First
Theme URI: http://tcatalyst.in
Author: Tushar Catalyst
Author URI: http://tcatalyst.in
Description: A theme for Tushar Catalyst Enterprises
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tcatalyst
Tags: custom-background, custom-logo, custom-menu, featured-images, theme-options, translation-ready        
*/

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0,0,0,0.2);
}

.shadow-bottom {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.link-items {
    font-size: 18px;
    font-family: Arial, sans-serif;
}

.nav-item a {
    text-decoration: none; /* Remove underline */
    color: #333; /* Default text color */
    padding: 10px 15px; /* Spacing around the text */
    transition: color 0.3s ease, background-color 0.3s ease; /* Smooth transition */
}

.nav-item a:hover {
    color: #1f1f1f;
    box-shadow: 0 4px 0 rgb(19, 185, 0);
}


#logo-img {
    width: 46%;
}
/*  New Landing Section Start */
.cover-img {
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 80vh;
  position: relative;
  color: white;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}

.cover-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255,255,255,0.2);
  pointer-events: none;
}

.cover-overlay {
  position: absolute;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0; */
  display: flex;
  flex-direction: column;   /* stacks the two rows vertically */
  justify-content: center;  /* vertical centering */
  align-items: center;      /* horizontal centering */
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
  z-index: 1;
  font-size: 3em;
}

@media (max-width: 600px) { /* Adjust the breakpoint as needed */
  .cover-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 62vh;
  }

  .cover-overlay {
      font-size: 1.2em;
  }
}
/* New Landing Section End */




/* Landing Sections CSS START */
@media (min-width: 1024px) and (max-width: 1366px) {
/* For iPad screens */
}


@media (max-width: 600px) { /* Adjust the breakpoint as needed */


}

.slogan-text-1 {
  opacity: 0;
  transform: translateX(-100px);
  animation: slideInLeft 0.8s 0.2s forwards;
}

.slogan-text-2 {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInRight 0.8s 1s forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes cardFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Landing Section CSS END */

/* Common CSS Start */
.input-group { display:block; flex-wrap:nowrap; align-items:center; }
.input-group-text { white-space:nowrap; }

.dropdown:hover .dropdown-menu {
    display: block;
}

.section-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 8px 8px 30px rgba(2,8,23,0.45);
}

.section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}


.section-lead {
    color: #cfe6ff;
    font-size: 1.05rem;
  }


.feature-box {
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 10px;
  padding: 1rem;
  transition: transform .18s ease, box-shadow .18s ease;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 8px 30px rgba(2,8,23,0.45);
  overflow: scroll;
  scrollbar-color: rgba(0, 0, 0, 0.01) rgba(0,0,0,0.01);

}


.feature {
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 10px;
  padding: 1rem;
  min-width:280px;
  transition: transform .18s ease, box-shadow .18s ease;
  border: 1px solid rgba(255,255,255,0.03);
  overflow: scroll;
  scrollbar-color: rgba(0, 0, 0, 0.01) rgba(0,0,0,0.01);

}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(2,8,23,0.45);
}

.features-grid {
  display: flex;             /* already set by d-flex but explicit here */
  flex-wrap: wrap;
  align-items: stretch;
}

/* Each feature takes equal space but can shrink below min-width */
.features-grid .feature {
  flex: 1 1 170px;          /* grow | shrink | base width */
  min-width: 170px;         /* keep your intended minimum */
  box-sizing: border-box;
}

/* Ensure gap works across wraps (for older browsers that don't support gap on flex) */
.features-grid > .feature {
  margin-bottom: 0.75rem;
}


.divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  margin: 1.25rem 0;
  border-radius: 2px;
}


.more-link {
    color: #0073aa; /* Change link color */
    font-weight: bold; /* Make text bold */
    text-decoration: none; /* Remove underline */
    background-color: #f0f0f0; /* Add a background color */
    padding: 5px 10px; /* Add padding */
    border-radius: 5px; /* Round the corners */
}


/*
  .pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,0.03);
    padding: .35rem .7rem;
    border-radius: 999px;
    font-size: .9rem;
    border: 1px solid rgba(255,255,255,0.04);
    color: #d9f0ff; 
  }
*/


/* Common CSS End */



/* About Us Section CSS Start */
.about-section {
    background: linear-gradient(160deg, #0B3D91  0%, #00A9A5 90%);
    color: #e6f0ff;
    padding: 4rem 1rem;
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(2,10,23,0.55);
    overflow: hidden;
  }

  @media (min-width: 600px) {
    .about-section { padding: 5rem 2rem; }
  }
/* About Us Section CSS End */

/* Core-Offering Section Start*/
.core-offering-section {
    background: linear-gradient(160deg, #d37e23   0%, #4c8021  90%);
    color: #e6f0ff;
    padding: 4rem 1rem;
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(2,10,23,0.55); 
    overflow: hidden;
  }

  @media (min-width: 600px) {
    .core-offering-section { padding: 5rem 2rem; }
  }
/* Core-Offering Section End */


/* Infra Section Start*/
.infra-section {
    background: linear-gradient(160deg, #FF6B6B  0%, #378afe 90%);
    color: #e6f0ff;
    padding: 4rem 1rem;
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(2,10,23,0.55);
    overflow: hidden;
  }

.infra-section-content {
  font-size: 1rem;
}

.card-subimg {
  width:90%;
  height:50%;
}

  @media (max-width: 600px) {
    .infra-section { padding: 5rem 2rem; }

    .card-subimg {
      width:80%;
      height:40%;
    }

  }


/* Infra Offering Section End */

/* Approach Section Start*/
.serve-section {
    background: linear-gradient(160deg, #4c25a6 0%, #ff869c 90%);
    color: #e6f0ff;
    padding: 4rem 1rem;
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(2,10,23,0.55);
    overflow: hidden;
  }


.map-content {
  position: relative; /* added: creates positioning context for :before */
  padding: 10px;
  margin: 0;
  counter-increment: section;
  text-align: center;
  box-sizing: border-box;
}

.map-content:before {
    content: counter(section);
    position: absolute;
    border-radius: 50%;
    padding: 8px;
    height: 3.0em;
    width: 3.0em;
    text-align: center;
    line-height: 2.0em;
    color: #fff;
    font-size: 1em;
    top: -2px; /* ensure vertical position relative to the .map-content box */
}

/* Odd paragraphs: right + bottom borders */
.map-content:nth-child(even) {
  border-right: 2px dashed #6ee537;
  border-bottom: 2px dashed #00e074;
  border-radius: 0px 30px 30px 0px;
}

.map-content:nth-child(even):before {
    left: 100%;
    background: linear-gradient(120deg, #3700ff 40%, #003e70 100%);
    margin-left: -25px; /* you can tweak this if circle overlaps too much */
    /* margin-top removed in favor of top */
}

/* Even paragraphs: left + right borders */
.map-content:nth-child(odd) {
  border-left: 2px dashed #6ee537;
  border-bottom: 2px dashed #00ffea;
  border-radius: 30px 0px 0px 30px;
}

.map-content:nth-child(odd):before {
    right: 100%;
    background: linear-gradient(120deg, #003e70 0%, #3700ff 60%);
    margin-right: -25px; /* tweak as needed */
    /* margin-top removed in favor of top */
}


  @media (min-width: 600px) {
    .serve-section { padding: 5rem 2rem; }
  }




/* Approach Section End */

/* Product Page Start  */


.product-card {
  position: relative; /* For positioning pseudo-elements */
  border-top: 5px solid #000; /* Top border */
  border-bottom: 5px solid #000; /* Bottom border */
  padding: 10px; /* Space for content */
  margin: 10px; /* Space between cards */
}

.product-card:nth-child(odd) {
  border-radius: 0px 10px 10px 0px;
  border-image: linear-gradient(to right, #00ff51 50%, transparent 50%) 100% 1;
}

.product-card:nth-child(odd)::before {
  content: '';
  position: absolute;
  top: 0;
  left: -5px; /* Position for left C */
  width: 10px; /* Width of the C shape */
  height: 100%;
  background: linear-gradient(to left, #ff6f00a1 50%, transparent 50%);
}

.product-card:nth-child(even) {
  border-radius: 10px 0px 0px 10px;
  border-image: linear-gradient(to left, #00ff51 50%, transparent 50%) 100% 1;
}

.product-card:nth-child(even)::before {
  content: '';
  position: absolute;
  top: 0;
  right: -5px; /* Position for right C */
  width: 10px; /* Width of the C shape */
  height: 100%;
  background: linear-gradient(to right, #ff6f00a1 50%, transparent 50%);
}

.product-details {
    background-color: #e0f7fa; /* Light bluish color */
    padding: 20px; /* Add some padding */
    border-radius: 8px; /* Optional: rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
}


/* Product Page End  */


/* Contact Page Start */

.contact-image{
    position:relative;
    flex:1 1 50%;
    min-width:300px;
    background:url('your-image.jpg') center/cover no-repeat;
}

/* Ensure the column never collapses to 0 height */
.contact-image{
    min-height:260px;               /* works for desktop & tablet */
}

.show-on-small{
    display:none;               /* default – hidden on larger screens */
}

/* Mobile: make the image a full‑width banner */
@media (max-width:768px){
    .contact-card{flex-direction:column;}
    .contact-image{
        width:100%;
        min-height:200px;           /* shorter banner */
    }
}

/* Optional: hide overlay text on the smallest screens */
@media (max-width:768px){
    .contact-text{display:none;}
    .show-on-small{display:block;}
}

/* Contact Page End */




/* Footer Content Start */

/* Footer Content End */


@media only screen and (min-width: 990px) and (max-width: 1430px) {
    .link-items {
        font-size: 10px;
        font-family: Arial, sans-serif;
    }

    #logo-img {
        width: 36%;
    }

}


/* For Mobile Screens */
@media only screen and (max-width: 600px) {
    .link-items {
        font-size: 14px;
        font-family: Arial, sans-serif;
    }


    #logo-img {
        width: 100%;
    }
}
