/* ===========================
   Grid System
=========================== */

a{
    text-decoration: none;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.col {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  flex: 1 0 0%;
}

/* ========== Default: Mobile first (full width) ========== */
.col-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
.col-2  { flex: 0 0 16.666%; max-width: 16.666%; }
.col-3  { flex: 0 0 25%;     max-width: 25%; }
.col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
.col-5  { flex: 0 0 41.666%; max-width: 41.666%; }
.col-6  { flex: 0 0 50%;     max-width: 50%; }
.col-7  { flex: 0 0 58.333%; max-width: 58.333%; }
.col-8  { flex: 0 0 66.666%; max-width: 66.666%; }
.col-9  { flex: 0 0 75%;     max-width: 75%; }
.col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
.col-11 { flex: 0 0 91.666%; max-width: 91.666%; }
.col-12 { flex: 0 0 100%;    max-width: 100%; }

/* ========== Tablet (≥768px) ========== */
@media (min-width: 768px) {
  .col-md-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
  .col-md-2  { flex: 0 0 16.666%; max-width: 16.666%; }
  .col-md-3  { flex: 0 0 25%;     max-width: 25%; }
  .col-md-4  { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-md-5  { flex: 0 0 41.666%; max-width: 41.666%; }
  .col-md-6  { flex: 0 0 50%;     max-width: 50%; }
  .col-md-7  { flex: 0 0 58.333%; max-width: 58.333%; }
  .col-md-8  { flex: 0 0 66.666%; max-width: 66.666%; }
  .col-md-9  { flex: 0 0 75%;     max-width: 75%; }
  .col-md-10 { flex: 0 0 83.333%; max-width: 83.333%; }
  .col-md-11 { flex: 0 0 91.666%; max-width: 91.666%; }
  .col-md-12 { flex: 0 0 100%;    max-width: 100%; }
}

/* ========== Desktop (≥992px) ========== */
@media (min-width: 992px) {
  .col-lg-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
  .col-lg-2  { flex: 0 0 16.666%; max-width: 16.666%; }
  .col-lg-3  { flex: 0 0 25%;     max-width: 25%; }
  .col-lg-4  { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-lg-5  { flex: 0 0 41.666%; max-width: 41.666%; }
  .col-lg-6  { flex: 0 0 50%;     max-width: 50%; }
  .col-lg-7  { flex: 0 0 58.333%; max-width: 58.333%; }
  .col-lg-8  { flex: 0 0 66.666%; max-width: 66.666%; }
  .col-lg-9  { flex: 0 0 75%;     max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.333%; max-width: 83.333%; }
  .col-lg-11 { flex: 0 0 91.666%; max-width: 91.666%; }
  .col-lg-12 { flex: 0 0 100%;    max-width: 100%; }
}


/* ===========================
   Flex Utilities
=========================== */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

/* ===========================
   Spacing Utilities
   (based on --space vars)
=========================== */
.m-0 { margin: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.ml-sm { margin-left: var(--space-sm); }
.ml-md { margin-left: var(--space-md); }
.mr-sm { margin-right: var(--space-sm); }
.mr-md { margin-right: var(--space-md); }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.mb-16 {margin-bottom: 4rem;}
.mb-4{margin-bottom: 1rem;}

.mr-4 { margin-right: 1rem;}
.mr-2{margin-right: .5rem;}
.ml-6 { margin-left: 1.5rem;}

.mt-2 { margin-top: 15px;}
.mt-5 { margin-top: 1rem;}
.mt-6 { margin-top: 1.5rem;}

.mb-6 { margin-bottom: 1.5rem;}
.mb-2 { margin-bottom: .5rem;}

.mb-12 { margin-bottom: 3rem;}

.p-3 { padding: .75rem;}
.p-6 { padding: 1.5rem;}

.pt-0{ padding-top: 0;}

.pt-6 { padding-top: 1.5rem;}

.font-bold { font-weight: 700;}
/* ===========================
   Text Utilities
=========================== */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.text-dark { color: var(--text-dark); }
.text-light { color: var(--text-light); }
.text-muted { color: var(--text-muted); }

.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-blue-800 {color: rgb(30 64 175 /  1);}
.text-green-500 {color: rgb(34 197 94 /  1);}
.text-gray-700 { color: rgb(55 65 81 / 1);}

/* ===========================
   Backgrounds & Colors
=========================== */
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--footer-color); }
.bg-orange { background-color: var(--primary-orange); }
.bg-gradient-orange { background-image: var(--gradient-orange); color: var(--text-light); }
.bg-blue-100 { background-color: rgb(219 234 254 / 1);}

.font-semibold {
    font-weight: 600;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}
.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
}
.font-medium {
    font-weight: 500;
}
.font-bold {
    font-weight: 700;
}

/* ===========================
   colors
=========================== */ 

.text-blue-500 { color: rgb(59 130 246 /  1);}Our Story
.text-green-500 { color: rgb(34 197 94 /  1);}
.text-blue-600 {  color: rgb(37 99 235 /  1);}
.text-green-600 { color: rgb(22 163 74 / 1);}
.text-red-600 {  color: rgb(220 38 38 /  1);}
.text-purple-600 { color: rgb(147 51 234 /  1);}

.text-gray-600 { color: rgb(75 85 99 /  1);}
.text-gray-800 { color: rgb(31 41 55 / 1);}
.text-orange-300 {color: rgb(253 186 116 / 1);}
.text-orange-500 {color: rgb(249 115 22 /  1);}


.bg-green-100 { background-color: rgb(220 252 231 / 1);}
.bg-blue-100 {  background-color: rgb(219 234 254 / 1);}


/* ===========================
   widths
=========================== */ 
.w-4 {
    width: 1rem;
}
.h-4 {
    height: 1rem;
}
.w-5 {
    width: 1.25rem;
}
.h-5 {
    width: 1.25rem;
}

.w-8 {
    width: 2rem;
}
.h-8 {
    height: 2rem;
}

.rounded-full {
    border-radius: 9999px;
}

.max-w-4xl {
    max-width: 56rem;
}

.space-x-4>:not([hidden])~:not([hidden]) {
    margin-right: 1rem;
    margin-left: 1rem;
}
.space-y-1{
   margin-top: .5rem ;
}
.space-y-2{
   margin-top: 1rem;
}
.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
}

.error-label{
    text-align: center;
    margin-bottom: 10px;
    color: #dc2626;
    font-weight: 500;
}

/* ===========================
   Buttons
=========================== */ 

 
.btn {
    position: relative; 
    padding: 12px 20px; 
    font-weight: 600;
    border: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px; 
    letter-spacing: 1px;
   transition: var(--transition);
   text-decoration: none; 
}    
/* 1. Liquid Gradient */
.btn-liquid {
    background: linear-gradient(120deg,#3a7bd5, #3333ff, #00f2ff);
    background-size: 300% 300%;
    color: #fff;
    animation: gradientFlow 6s infinite alternate ease-in-out;
}
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.btn-success{
    background: linear-gradient(120deg,rgb(28, 161, 76), rgb(29, 227, 102));
    background-size: 300% 300%;
    color: #fff;
    animation: gradientFlow 6s infinite alternate ease-in-out;
}

.btn-liquid-green{
    background: linear-gradient(120deg,#2563eb, #136631 , #16a34a);
    background-size: 150% 150%;
    color: #fff;
    animation: gradientFlow 6s infinite alternate ease-in-out;
}

.btn-primary {
  background-image: var(--gradient-orange);
  color: var(--text-light);
  border: none;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  border: 2px solid var(--primary-orange);
  color: var(--primary-orange);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-orange);
  color: var(--text-light);
}

/* ===========================
   Shadows & Radius
=========================== */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }


/* ===========================
   pulse style
=========================== */
.pulse-btn{position: relative;overflow: hidden;}
.pulse-btn span.btn-pulse{
    position: absolute; 
    transform: translate(-50%, -50%);    
    background: rgba(255,255,255,.4);
    background: -webkit-radial-gradient(rgba(255,255,255,.2) 0,rgba(255,255,255,.3) 40%,rgba(255,255,255,.4) 50%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 70%);
    background: -o-radial-gradient(rgba(255,255,255,.2) 0,rgba(255,255,255,.3) 40%,rgba(255,255,255,.4) 50%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 70%);
    background: radial-gradient(rgba(255,255,255,.2) 0,rgba(255,255,255,.3) 40%,rgba(255,255,255,.4) 50%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 70%); 
    border-radius: 50%;
    animation-name: expend;
    animation-duration:0.7s;
    animation-timing-function: ease-out;
}
@keyframes expend{
    0%{
        width: 0px;
        height: 0px;
        opacity: 1;
    }
    100%{
        width: 500px;
        height: 500px;
        opacity:0.2;
    }
}
/* ===========================
   pulse style
=========================== */

/* ===========================
   Animations 
=========================== */

.char {
    display: inline-block;
    position: relative;
}
.char2 {
    display: inline-block;
    position: relative;
    /* Initial state - characters start below and invisible */
    transform: translateY(100px) rotateX(90deg);
    opacity: 0;
}
.errorReturn {
  color: #dc3545;
  font-weight: bold;
  animation: shake 0.5s 1;
  text-align: center;
  margin-bottom:10px;
}
.successMsg {
  color: #26b99a !important;
}


/* ===========================
   Animations 
=========================== */

/* Popup Overlay */
.tdb-popUp-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.tdb-popUp-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: tdb-popUp-fadeIn 0.3s ease;
}

.tdb-popUp-overlay.closing {
    animation: tdb-popUp-fadeOut 0.3s ease;
}

/* Popup Container */
.tdb-popUp-container {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.tdb-popUp-overlay.active .tdb-popUp-container {
    animation: tdb-popUp-slideUp 0.4s ease;
}

.tdb-popUp-overlay.closing .tdb-popUp-container {
    animation: tdb-popUp-slideDown 0.3s ease;
}

/* Popup Header */
.tdb-popUp-header {
    background: var(--gradient-orange);
    color: #ffffff;
    padding: 30px;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.tdb-popUp-header h2 {
    color: #ffffff;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.tdb-popUp-header p {
    color: #ffffff;
    font-size: 14px;
    opacity: 0.8;
}

/* Close Button */
.tdb-popUp-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tdb-popUp-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.tdb-popUp-close svg {
    width: 20px;
    height: 20px;
}

/* Popup Body */
.tdb-popUp-body {
    padding: 30px;
}

.tdb-popUp-form-group {
    margin-bottom: 20px;
}

.tdb-popUp-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.tdb-popUp-form-group label .required {
    color: #e74c3c;
}

.tdb-popUp-form-group input,
.tdb-popUp-form-group textarea,
.tdb-popUp-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.tdb-popUp-form-group input:focus,
.tdb-popUp-form-group textarea:focus,
.tdb-popUp-form-group select:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.tdb-popUp-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Submit Button */
.tdb-popUp-submit {
    width: 100%;
    background: var(--gradient-orange);
    color: #ffffff;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.tdb-popUp-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.tdb-popUp-submit:active {
    transform: translateY(0);
}

/* Success Message */
.tdb-popUp-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.tdb-popUp-success.active {
    display: block;
}

.tdb-popUp-success svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.tdb-popUp-success h3 {
    color: #27ae60;
    font-size: 24px;
    margin-bottom: 10px;
}

.tdb-popUp-success p {
    color: #666;
    font-size: 14px;
}

/* Animations */
@keyframes tdb-popUp-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes tdb-popUp-fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes tdb-popUp-slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes tdb-popUp-slideDown {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .tdb-popUp-container {
        margin: 20px;
    }

    .tdb-popUp-header h2 {
        font-size: 24px;
    }

    .tdb-popUp-body {
        padding: 20px;
    }
}