/* ==========================================
   COMPLETE RESPONSIVE STYLE.CSS
   VertexTechnologies - All Styles Merged
   ========================================== */

/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ========== PRELOADER ========== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader {
    text-align: center;
}

.loader-text {
    margin-bottom: 30px;
}

.letter {
    display: inline-block;
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin: 0 5px;
    opacity: 0;
    transform: translateY(50px);
}

.loader-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
    border-radius: 2px;
    width: 0%;
}

/* ========== NAVIGATION ========== */
.navbar {
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.8rem;
    background: linear-gradient(45deg, #007bff, #6f42c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff !important;
}

/* ========== INITIAL HIDDEN STATES FOR GSAP ========== */
.index-page #navbar {
    opacity: 0;
    transform: translateY(-100px);
}

.index-page #heroBadge,
.index-page #heroTitle,
.index-page #heroSubtitle,
.index-page #heroStats,
.index-page #heroButtons {
    opacity: 0;
    transform: translateY(50px);
}

.index-page .card-1,
.index-page .card-2,
.index-page .card-3 {
    opacity: 0;
    transform: translateX(100px) scale(0.8);
}

.index-page #features .feature-box {
    opacity: 0;
    transform: translateY(50px);
}

/* ========== HERO SECTION ========== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"><animate attributeName="opacity" values="0;1;0" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"><animate attributeName="opacity" values="0;1;0" dur="4s" repeatCount="indefinite"/></circle><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"><animate attributeName="opacity" values="0;1;0" dur="2s" repeatCount="indefinite"/></circle></svg>');
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    width: fit-content;
}

.hero-badge i {
    color: #ffd700;
    margin-right: 8px;
}

.hero-badge a,
.hero-badge a i {
    color: white;
    text-decoration: none;
}

.text-gradient {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 0.6s both;
    margin-bottom: 20px;
}

.stat-item {
    position: relative;
}

.stat-item h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.counter::after {
    content: '+';
    color: #4ecdc4;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.pulse-btn {
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

.glow-btn {
    position: relative;
    overflow: hidden;
}

.glow-btn::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;
}

.glow-btn:hover::before {
    left: 100%;
}

/* Hero Cards */
.hero-image-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    margin-top: 30px;
    animation: fadeInRight 1s ease-out 0.8s both;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 20px;
    border-radius: 20px;
    text-align: center;
    color: #333;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #007bff, #28a745, #ffc107);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: auto;
    height: 200%;
    background: radial-gradient(circle, rgba(0,123,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-card:hover .card-glow {
    opacity: 1;
}

.hero-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.floating {
    animation: float 2s ease-in-out infinite;
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background: white;
    border-radius: 50%;
    animation: scrollAnimation 2s infinite;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #007bff, #6f42c1);
    color: white;
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.section-badge i {
    margin-right: 8px;
}

.feature-box {
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0,123,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 28px;
    position: relative;
    overflow: hidden;
}

.feature-icon.rocket {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

.feature-icon.shield {
    background: linear-gradient(45deg, #4ecdc4, #44bd87);
}

.feature-icon.dollar {
    background: linear-gradient(45deg, #feca57, #ff9ff3);
}

.feature-icon.support {
    background: linear-gradient(45deg, #a55eea, #26de81);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.feature-box:hover .feature-icon::before {
    left: 100%;
}

/* ========== REVIEWS SECTION ========== */
#reviews {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.review-form-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid;
    border-image: linear-gradient(45deg, #007bff, #28a745, #ffc107) 1;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.stars {
    display: flex;
    gap: 5px;
}

.stars i {
    color: #ddd;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.stars i.active,
.stars i:hover {
    color: #ffc107;
}

.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #007bff, #28a745, #ffc107);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info h6 {
    margin: 0 0 5px 0;
    color: #333;
    font-weight: 600;
}

.reviewer-info .stars i {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-date {
    font-size: 0.8rem;
    color: #6c757d;
    margin-left: auto;
}

.review-text {
    color: #555;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.new-review {
    animation: slideInUp 0.5s ease-out;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,100 100,0 100,100" fill="rgba(255,255,255,0.05)"/></svg>');
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-btn {
    background: white;
    color: #333;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: #333;
}

/* ========== SERVICE CARDS ========== */
.service-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
    background-clip: padding-box;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #ffffff, #f9f9f9, #f0f0f0);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #007bff, #6f42c1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s;
}

.service-card:hover .service-icon::before {
    left: 100%;
}

/* ========== TEAM CARDS ========== */
.team-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-image {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    padding: 30px;
    color: #6c757d;
}

.team-card .social-links a {
    display: inline-block;
    margin: 0 5px;
    color: #007bff;
    font-size: 18px;
    transition: color 0.3s ease;
}

.team-card .social-links a:hover {
    color: #0056b3;
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    border-top: 4px solid transparent;
    background-clip: padding-box;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #007bff, #28a745, #ffc107);
    z-index: 1;
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9), rgba(111, 66, 193, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-info {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-info i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.portfolio-info p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    position: relative;
    z-index: 2;
}

.portfolio-content h5 {
    color: #333;
    font-weight: 600;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    color: #495057;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #dee2e6;
}

/* ========== CONTACT SECTION ========== */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 60px;
    margin-top: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #007bff, #28a745, #ffc107);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #007bff, #6f42c1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-item i {
    color: #007bff;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-btn a:hover {
    transform: scale(1.1);
    color: white;
}

/* ========== CHATBOT ========== */
.chatbot-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.chatbot-btn:hover {
    transform: scale(1.1);
}

.chatbot-container {
    position: fixed;
    bottom: 90px;
    left: 20px;
    width: 300px;
    height: 400px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.chatbot-header {
    background: #007bff;
    color: white;
    padding: 15px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chatbot-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 80%;
}

.chat-message.bot {
    background: #f1f3f4;
    margin-right: auto;
}

.chat-message.user {
    background: #007bff;
    color: white;
    margin-left: auto;
}

.chatbot-input {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    outline: none;
}

.chatbot-input button {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    cursor: pointer;
}

/* ========== BUTTONS ========== */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* ========== FOOTER ========== */
footer {
    background: #212529 !important;
}

.social-links a {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #007bff !important;
}

/* ========== UTILITY CLASSES ========== */
.pricing {
    font-size: 1.2rem;
    color: #007bff;
    margin: 15px 0;
}

.story-icon {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    animation: float 3s ease-in-out infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ANIMATIONS ========== */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes scrollAnimation {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(20px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* ==========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ========================================== */

/* ========== MOBILE (DEFAULT - 320px to 767px) ========== */

/* Mobile Hero Section */
.hero-section {
    text-align: center;
    padding: 80px 0 60px;
}

.hero-content {
    align-items: center;
}

.hero-badge {
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    width: 100%;
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }
    
    .nav-item {
        margin: 10px 0;
    }
}

/* Mobile Features */
@media (max-width: 767px) {
    .feature-box {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }
}

/* Mobile Reviews */
@media (max-width: 767px) {
    .review-form-card {
        padding: 1.5rem;
    }
    
    .review-card {
        margin-bottom: 20px;
    }
}

/* Mobile CTA */
.cta-section .row {
    text-align: center;
}

@media (max-width: 991px) {
    .cta-section .col-lg-8,
    .cta-section .col-lg-4 {
        text-align: center !important;
        margin-bottom: 20px;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile Footer */
@media (max-width: 767px) {
    footer .col-md-6 {
        text-align: center !important;
        margin-bottom: 20px;
    }
    
    footer .social-links {
        justify-content: center;
        display: flex;
    }
}

/* Mobile Scroll Indicator */
@media (max-width: 767px) {
    .hero-scroll {
        bottom: 20px;
    }
    
    .scroll-indicator {
        width: 25px;
        height: 40px;
    }
}

/* Mobile Container Padding */
@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section .container {
        padding-top: 20px;
        padding-bottom: 60px;
    }
    
    .letter {
        font-size: 2rem;
        margin: 0 2px;
    }
    
    .loader-bar {
        width: 200px;
    }
}

/* Mobile WhatsApp & Chatbot */
@media (max-width: 576px) {
    .whatsapp-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn a {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .chatbot-btn {
        bottom: 15px;
        left: 15px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .chatbot-container {
        width: calc(100vw - 40px);
        left: 20px;
        right: 20px;
        bottom: 80px;
    }
}

/* ========== TABLET (768px to 991px) ========== */
@media (min-width: 768px) {
    /* Hero Section */
    .hero-section .display-2 {
        font-size: 2.5rem;
    }
    
    .hero-image-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hero-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        width: auto;
        flex: 1;
        min-width: 180px;
        max-width: 250px;
    }
    
    .hero-stats .stat-item h3 {
        font-size: 2rem;
    }
    
    .hero-stats .stat-item p {
        font-size: 0.9rem;
    }
}

/* ========== DESKTOP (992px and up) ========== */
@media (min-width: 992px) {
    /* Hero Section */
    .hero-section {
        padding: 100px 0;
        text-align: left;
    }
    
    .hero-content {
        align-items: flex-start;
    }
    
    .hero-badge {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-section .display-2 {
        font-size: 3.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }
    
    .hero-image-container {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        margin-top: 0;
    }
    
    .hero-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 350px;
    }
    
    .hero-buttons {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    
    .hero-buttons .btn {
        flex: 0 0 auto;
        width: auto;
    }
    
    .hero-stats {
        padding: 25px;
    }
    
    /* CTA Section */
    .cta-section .row {
        text-align: left;
    }
    
    .cta-section .col-lg-4 {
        text-align: right !important;
    }
    
    .cta-btn {
        width: auto;
    }
}

/* ========== LARGE DESKTOP (1200px and up) ========== */
@media (min-width: 1200px) {
    .hero-section .display-2 {
        font-size: 4rem;
    }
    
    .hero-card {
        padding: 35px 25px;
    }
    
    .hero-stats .stat-item h3 {
        font-size: 2.5rem;
    }
}

/* ========== EXTRA LARGE DESKTOP (1400px and up) ========== */
@media (min-width: 1400px) {
    .hero-section .display-2 {
        font-size: 4.5rem;
    }
    
    .container {
        max-width: 1320px;
    }
}

/* ========== FIX ALIGNMENT ISSUES ========== */
.hero-section .row.align-items-center {
    min-height: auto;
}

@media (min-width: 768px) {
    .hero-section .row.align-items-center {
        min-height: calc(100vh - 160px);
    }
}

/* ========== PREVENT HORIZONTAL SCROLL ========== */
body, html {
    overflow-x: hidden;
    max-width: 100%;
}

.hero-section,
.features-section,
.cta-section,
section {
    overflow: hidden;
    max-width: 100%;
}

/* ========== SMOOTH TRANSITIONS ========== */
.hero-card,
.hero-buttons,
.hero-stats,
.hero-content,
.feature-box,
.review-card,
.service-card {
    transition: all 0.3s ease;
}

/* ========== PRINT STYLES ========== */
@media print {
    .navbar,
    .whatsapp-btn,
    .chatbot-btn,
    .chatbot-container,
    .hero-scroll,
    #preloader {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
}

/* ========== END OF STYLES ========== */